Displaying 1 result from an estimated 1 matches for "dscdsf".
Did you mean:
ddcsf
2012 Sep 02
1
to_model
...an activerecord object instance:
convert_to_model(object)
Here''s the thing. All convert_to_model does is calls to_model, which
returns self (the ActiveModel instance).
Am I missing something here? Why call a method that returns the same
thing?
@user
=> #<User id: 3, name: "dscdsf", email: "fgd-kX2TDLzHGmnQT0dZR+AlfA@public.gmane.org",
encrypted_password: "", phone: "9544443456", address: "fvfdvf",
reset_password_token: nil, reset_password_sent_at: nil,
remember_created_at: nil, sign_in_count: 1, current_sign_in_at:
"2011-09-...