search for: active_until

Displaying 1 result from an estimated 1 matches for "active_until".

2012 Dec 26
2
has value in a console but it's nil in my controller and my view?
..._id" = 10 => [#<Payment id: 37, bank_name: "Mercantil", plan: "Plan Uno", date: "2012-12-25", reference_number: "3452435", coupon: "", user_id: 10, created_at: "2012-12-25 21:56:12", updated_at: "2012-12-25 21:58:31", active_until: "2013-01-24">] As you can see, I have one record for my user: 10. If I try to get the same information in my controller I don''t get any exception, but @user.payment.last.active_until is empty, the same in the view. For example if I try this in my view: <%= @user.pa...