[Please quote when replying -- it makes the discussion easier to follow.] Preacher wrote: [...] > I don't know why, but I have to specify the first @post from the json > content I'm parsing even though my query only returns one result.
Then you should find out why. Is the JSON returning an array, perchance? > > I hadn't thought of defining the page in the models.... What? I have no idea what you're talking about here, and you didn't quote what you were referring to. > hmm time to > create a new branch. Thanks for the idea. I'm not sure I gave you that idea... Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.