I think there will not a problem in link_to but I've try to use a url_for
LIKE in condition is not a problem too I've check with = and still getting something similary: @posts = Post.find(:all,:order => 'created_at' ,:conditions => ['extract(year from created_at) = ? AND extract(month from created_at) = ?', params[:y], params[:m]] ) gives : SELECT * FROM "posts" WHERE (extract(year from created_at) = E'2009' AND extract(month from created_at) = E'01') ORDER BY created_at still this E exist in sql code -- 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 [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 -~----------~----~----~----~------~----~------~--~---

