Think In Geek

In geek we trust

July, 2013

acts_as_list gem and single table inheritance in Rails

If you ever need to use the acts_as_list gem in Rails on a model that uses single table inheritance, here’s the snippet you need to use for the list methods to work if you want the setup done on the base model: acts_as_list :scope => [:type]acts_as_list :scope => [:type] You’ll need to use the array […]

, ,