SET behavior for ActiveRecord
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
Gemfile
Gemfile.lock
LICENSE
README.markdown
Rakefile
active_set.gemspec

README.markdown

ActiveSet

What is it?

SET behavior for ActiveRecord.

class Balloon < ActiveRecord::Base
  acts_as_set :gasses, ["helium","hydrogen"]
end

b = Balloon.create :gasses => [ "helium", "hydrogen" ]

Unstable!

Seriously, this project may change drastically without warning. Or I may lose interest. Use at your own risk.