Ruby on Rails Tuesday, January 4, 2011

>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",where
should I look at?

>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

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment