Ruby on Rails Saturday, July 7, 2012

On Sat, Jul 7, 2012 at 10:12 AM, David M. <lists@ruby-forum.com> wrote:

> When outside of after_save, a database entry gets created, but file_data
> doesn't get saved to the hard drive.

OK, why not?

As Colin suggested, study the debugging guide (or just put logging
statements in the code to see what's happening at each step).

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

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

No comments:

Post a Comment