Changeset [03634844d8e5e00767e4bcbe542a51a949362371] by Petteri Räty
September 16th, 2010 @ 07:03 PM
Don't allow hobo_model without HoboFields.enable
Calling hobo_model in a model class body without having
called
HoboFields.enable previously results in a SystemStackError with
message
stack level too deep. For this reason query if fields method is
available and throw a better error message. [#762
state:resolved]
http://github.com/tablatom/hobo/commit/03634844d8e5e00767e4bcbe542a...
Committed by Petteri Räty
- M hobo/lib/hobo/model.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »