On Sat, Jul 7, 2012 at 3:55 PM, David M. <li...@ruby-forum.com> wrote:

>>> When store_docfile is called before after_save, it never even gets to
>>> the first line containing the logger.info "we are now in store_docfile"
>>> message.

In your new example file, it's no surprise you're not seeing anything --
you're never calling `store_docfile` at all. (No, that random standalone
`:store_docfile` doesn't do what you're hoping it does.)

Either invoke it from a before_save, or make it a non-private method
(at least temporarily) and invoke it explicitly from your controller and
see what happens.

-- 
Hassan Schroeder ------------------------ hassan.schroe...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en-US.

Reply via email to