Hi there,
does anyone kow of an existing "ActsAsConfigurable" type plugin?
I want to say;
class Organisation
acts_as_configurable :properties => {
:some_property => {:type => :boolean, :default => false}
}
end
and then configure it by;
organisation.config_for(:some_property) # => false # the default
organisation.set_config_for(:some_property, true)
rather than cluttering up all of my tables with boolean flags.
If not, then I'm going to build it anyway.
So let me know if you're interested.
Matthew Rudy Jacobs
http://blog.matthewrudy.com
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---