search for: augustlille

Displaying 2 results from an estimated 2 matches for "augustlille".

2007 Jan 20
2
find_by_sql with named parameterized sql
I tried to use named parameters in my SQL query , using find_by_sql Order.find_by_sql ([select * from orders where amount > ? and quantity > ?", [ @amount, @quantity ] works;.. but Order.find_by_sql ([select * from orders where amount > :amount and quantity > :quantity ", [ :amount => @amt, :quantity => @qty ] is not working a I wrong or should I use a plain select
2007 Jan 19
9
werid error, please help
Hi all, I updated to Rails 1.2.1. However, when I tried to access the URL http://localhost:3000/ i get this Application Error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html I removed the default index.html and route it to Account controller. If you read the log below, it seems that the AccountController is