Updated action_model.rb