NoMethodError (undefined method `serializable_record' for #<ActiveModel

Hi ,
Am using rails 3 .I have added code in my controller

la.map{|c| ActiveRecord::Base::Serializer.new©.serializable_record

But am getting below error


NoMethodError (undefined method `serializable_record’ for
#ActiveModel::Serializers::Xml::Serializer:0xa3e2a10):

Can anybody help me

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs