Tuesday, January 4, 2011

[Rails] Re: Problems with ActiveRecord after certain amount of columns in table

> Should I get a log when saving data
> from the rails console?.

When I pasted the log I thought it was it.Then I exited the rails
console and the log updated and gave the last lines I also pasted at the
end

[1m[36mSQL (0.0ms)[0m [1mSHOW TABLES[0m
[1m[35mSQL (0.0ms)[0m BEGIN
[1m[36mSQL (15.6ms)[0m [1mdescribe `users`[0m
[1m[35mAREL (0.0ms)[0m INSERT INTO `users` (`faculty_id`,
`department_id`, `role_id`, `name`, `surname`, `username`,
`study_group`, `study_course`, `card_code`, `day_time`, `email`,
`hashed_password`, `salt`) VALUES (NULL, NULL, 1, 'Daniel', 'Garcia',
'vinagrito', NULL, NULL, NULL, 0, 'mail@mail.com',
'f0f95c43624ea4de5aa51a29cd4390cf942ad52f',
'e25f64c2540d31d9a81de02d1abee39303cf0b4b')
[1m[36mSQL (31.2ms)[0m [1mCOMMIT[0m

>I'm explaining at length because I think you need some training in how
>to troubleshoot stuff effectively

I think that's clear.I'm pretty new at following indications like this
so I suppose I get lost at certain points.Thank you for being so
patient.

So,isn't the data being well saved according to the log? and if, as I
already said, through the mysql cmd line I get real data shouldn't this
be a retrieving matter?

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate