Rails active record object causes error when i try to access any attribute
I have code like: @notifications = Notification.find_all_by_user_id(@user.id, :order=>'deliver_by DESC', :conditions=>"deliver_by >= '#{Date.today.to_s(:db)}'") logger.info @upcoming_reminders[0].inspect logger.info @upcoming_reminders[0].class logger.info @upcoming_reminders[0].id logger.info "--------------------------...