…ne::Connection. This follow the pattern Arel 0.3 suggests where you can call engine.connection.
…tion going on - this could be fixed with some meta programming at the cost of readability.
…oved to own private method, Cramp::Model#relation (used in #destroy and #update).
…gs attributes, they are only changed if their are different from the existing ones.
…atus object as the first argument so that the client caller can check for success.
class User < Cramp::Model::Base after_save :do_something def do_something(r) # this is run just before the user's callback end end
Before: ClassName => ClassNames Now: ClassName => class_names