Try this - check that you are not calling the find somewhere else. If
necessary, be sure and put a debugger break point and see what code is
really executing.
On 7/7/10, RubyonRails_newbie wrote:
> what I mean is that the orderby isn't been used.
>
> the latest entry in the log just shows the sel
take a gander at the development.log - find that sql query that is
being generated by that find. Try that query on your DBMS and see if
it returns the blogposts in the order you expect.
On Wed, Jul 7, 2010 at 3:07 PM, RubyonRails_newbie
wrote:
> Hi everyone,
>
> I have an app in which I am attem
Hi everyone,
I have an app in which I am attempting to add a blog to.
I have the blog and commenting system working. It has 2 tables:
1: blogposts (stores the actual blog topics/stories)
2: blogcomments (stores the comments for each blog created)
so - I've been playing around with the layout,
3 matches
Mail list logo