Daniel Garcia wrote in post #972318: >>Please quote when replying. This makes the discussion easier to follow, >>and makes it harder to forget to reply to part of a message. > > My bad.Pretty new at forums as you can see > >>Specifically, I asked to see generated SQL queries so that I could see >>what data was getting sent from Rail to the DB. You provided none, >>except for a SELECT query that contained no data. > > I guess I didn't understand.What do you mean by "generated SQL",
I mean the SQL that is generated by ActiveRecord operations and sent to the database. > where > should I look at? In the log. > >>Seems like Rails thinks your hashed_password is numeric. > > Yeah, I saw that...just can't see why!. > > >>What does this table's entry in db/schema.rb look like? > > the only thing you can see there is: > > ActiveRecord::Schema.define(:version => 20101226144505) do > > # Could not dump table "authors" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "book_loans" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "books" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "departments" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "faculties" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "roles" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "subjects" because of following Mysql2::Error > # Invalid date: BTREE > > # Could not dump table "users" because of following Mysql2::Error > # Invalid date: BTREE > > end Oh, man, do you ever have problems. Fix your Mysql2 gem installation. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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.

