13 Mar '12, 12am

StoreConfigurable For ActiveRecord

StoreConfigurable For ActiveRecord Posted by MetaSkills on March 13, 2012 — 0 comments StoreConfigurable - A zero-configuration recursive Hash for storing a tree of options in a serialized ActiveRecord column which includes self-aware hooks that delegate dirty/changed state to your configs owner. Along with a blog article on it's usage of recursion and hash defaults in Ruby.

Full article: http://www.rubyflow.com/items/7348-storeconfigurable-for-...

Tweets

Lots of options for indexes via ActiveRecord

apidock.com 18 Mar '12, 2pm

Adds a new index to the table. column_name can be a single Symbol, or an Array of Symbols. The index will be named after t...

sudo_attributes: Override ActiveRecord protecte...

rubyflow.com 06 Mar '12, 2am

sudo_attributes: Override ActiveRecord protected attributes with ease Posted by beerlington on March 06, 2012 — 0 comments...

to_param (ActiveRecord::Base) - APIdock:

apidock.com 01 Mar '12, 10am

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here. These s...

find_by_sql (ActiveRecord::Base) - APIdock:

apidock.com 04 Mar '12, 5am

parameter is a full SQL query as a string. It will be called as is, there will be no database agnostic conversions perform...

Metaprogramming Your ActiveRecord Objects at Ru...

blog.obiefernandez.com 28 Feb '12, 7pm

I often store Ruby code in the fields of ActiveRecord object, giving me the ability to morph the system's behavior at runt...