>
> I did this A Lot.
>
> :order => "#{params[:order_by]} = 1"
>

This should probably be something more like:

session[:order_direction] ||= "ASC"

:order => "#{params[:order_by]} #{session[:order_direction]}"

there is a Write Query Running in my logger But Nothing happens .i thinks
> there must be a previous Code Which making my code Disable.


OK


> Leave I have to consult my Senior .
> any Ways thanks Again For the advice Which are More important for me About
> Manners
> Thanks A lot.
>

I assume this is sarcasm, but it's really hard to tell.

Anyway, as I said I'm happy to help, but I need to know where you're at/what
the problem is (not just the requirement) and also need to feel valued that
you're not just using me/others here for free coding.

Cheers,


Andy

-- 
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.

Reply via email to