19 Apr '14, 4pm

TIL alias_attribute exists which comes in handy if you need to accommodate the incorrect spelling of accessibile.

Deprecated - replacement method The description rightly lists this as deprecated, but using it will still work atm, as it seems to have moved to ActiveSupport::CoreExtensions::Module instead. So your code should still work.

Full article: http://apidock.com/rails/Module/alias_attribute

Tweets