On 25 February 2015 at 07:20, Sailatha Kashamoni
<
sailatha.ka...@gmail.com> wrote:
> if i click on month i want to display only that months blog posts,this
> is an existing code which is working fine for few months not for
> all,where am i doing wrong ,should i change the code.can any one help me
> out.and also i want the month and date to display in reverse ,recent on
> top.like
Firstly do you understand how the existing code works? If not then
the first task is to understand it. If necessary put some debug code
in to display or log variables so you can work out what is going on.
Once you understand how the code works then again look in the log file
and use debug techniques to run through with a month that is not
working and see why it does not work. Almost certainly you will then
see the problem for yourself, if not then come back here show us the
couple of lines of code that does not do as you expect and no doubt
someone will help.
Colin
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to
rubyonra...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/rubyonrails-talk/4cc19c8c-e55d-4708-9803-82e5df3de28c%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.