search for: signup_observer

Displaying 3 results from an estimated 3 matches for "signup_observer".

2006 Mar 04
2
Declaring ActiveRecord observers
...a better place to live in. The plugin creates a ActiveRecord observer in order to send the newly registered user a confirmation e-mail. Per the API docs [1], one should declare the observer in the config/environment.rb file under the ''config.active_record.observers = :comment_observer, :signup_observer''. But reading the generated source code, the plugin author recommends declaring the observer in my ApplicationController with a ''observer :user_observer'' clause. The observer gets triggered in both cases, but I am curious about this, So, what is the "Rails way&quo...
2006 Mar 04
6
Can''t get Fast CGI working.
Well, after many hours of tinkering and internet browsing I just can''t get Fast CGI to work with Rails and Apache 1.3 on FreeBSD 5.4 Normal CGI works fine, but as soon as I enable FastCGI in .htaccess I get the message: Application error Rails application failed to start properly Here''s what I''ve done so far: - I''ve installed all the necessary software for
2006 Mar 10
9
Observers?
Hello all! I''m having an issue with Observers, and I''m hoping someone knows the answer. Here is the definition: app/models/vehicle_observer.rb > class VehicleObserver < ActiveRecord::Observer > def after_save(vehicle) > breakpoint > if vehicle.has_new_mil_indication? > UserMailer.deliver_mil_notice(vehicle) > end > end > end