-
Notifications
You must be signed in to change notification settings - Fork 0
works with flex attributes to help you programmatically filter your flex fields
License
hypomodern/flex-attributes-filtered
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
FlexAttributesHelpers ==================== A collection of helpful model behavior for models that are using the flex_attributes plugin. That would be the hypomodern flex attributes plugin, not the original one by Eric Anderson. http://github.com/hypomodern/flex-attributes Example ======= Simply call `flex_filtered` in your model and give it any options you'd like, like so: flex_filtered :attribute_name_delegate => :equipment_type, :attribute_name_delegate_method => :installation_field_names That's the full list of the options hash. N.B. this plugin defines is_flex_attribute for you. It won't be much help if you override that method. Copyright (c) 2009 Matt Wilson ([email protected]), released under the MIT license
About
works with flex attributes to help you programmatically filter your flex fields
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published