-
Notifications
You must be signed in to change notification settings - Fork 0
making a simple field in AR as a concatenation of multiple values
License
kaktos/acts_as_concatenation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ActsAsConcatenation =================== This plugin make multiple selected values joined into a single database column. Example ======= class Product < ActiveRecord::Base acts_as_concatenation :compatible_with end In the erb view file: <%=f.checkbox_group :compatible_with, [['iPhone 3GS',1],['iPhone 4G',2]] %> will generate the checkbox group for this column. Copyright (c) 2009 Hao Chen, released under the MIT license
About
making a simple field in AR as a concatenation of multiple values
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published