search for: joevan

Displaying 3 results from an estimated 3 matches for "joevan".

Did you mean: jeevan
2006 Sep 19
8
Common performance issues
Hi, When writing a Rails app, what common tasks can likely result in performance issues? The one I''m aware of is something like: Model.find(:all).each do |elem| # do stuff end Especially when there''s lots of elements in the Model. What other ones are there? Also, does Rails do caching of queries? If I''m in a view and I do: <% if user.admin? %> ... and
2006 Oct 16
5
New Rails Site: http://www.tanga.com
http://www.tanga.com is where it''s at. We''re planning on open sourcing the e-commerce bits of it sometime in the near future. Any suggestions on how to best do that? (plugin? generator?) A non-video game will be offered for sale at 7 pm PST on Monday, btw. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
So, here''s the offending line. Note that I''m using edge rails. form_tag verifications_path(@user), :method => :post do verifications_path(@user) returns a string like "/users/3/ verifications". That eventually gets sent to url_for, which expects a hash. And then it blows up. It''s especially disconcerting since the documentation shows form_tag as