I am trying to retrieve 2 columns from a mysql database to use with FullCalendar, using Ruby but I keep getting the ActiveModel::MissingAttributeError
. What is the correct way of doing this? I have tried the following and checked SO but no luck. Please help me. Thanks.
Request.select("title, start").where(:id => '110012')
Request.find(:all, :select => "title, start", :conditions => {:id => '110012'} )