Acts_as_api will help you. It is a really awesome gem. 发自我的 iPhone
在 2011-8-1,5:38,Andrew Skegg <[email protected]> 写道: > Linus Pettersson <linus.pettersson@...> writes: > >> So I can use the List.unfinished.... But how do I add it as attributes to > the json output? >> >> >> > > Seems you are confusing search patterns with object output. Your JSON output > should already include a "status" field. > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: 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/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: 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/rubyonrails-talk?hl=en.

