On Tuesday, April 5, 2011 2:34:52 AM UTC+3, Jeremy Evans wrote:
>
> On Apr 4, 3:37 pm, Henry Flower <[email protected]> wrote: 
> > apparently because the dynamic column 'votes_up' wasn't predefined in 
> > 'checklists' table. Is it possible somehow to provide such info to json 
> > serializer plugin? 
>
> You need to define that method in your class: 
>
>   def votes_up 
>     self[:votes_up] 
>   end


Thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to