Topic: conditional validations using :if => @session['user'].nil?
Is it possible to do this:
validates_presence_of :name, :if => @session['user'].nil?
because it bombs horribly...
with ( NoMethodError in CommentsController#new
You have a nil object when you didn't expect it!
What I'm unsure of is the relationship, if any,
between the session object and ActiveRecord class...
I know it's the controller is what you go through to reach
this model, but the level of abstraction in validations
obscures how to make this connection for me.