I have the same error.  Rails 2.2.2 and Active Scaffold rails-2.2
branch.

Any help?

On Mar 8, 2:31 pm, Kenny Ortmann <[email protected]> wrote:
> rvhi what branch of active scaffold are you working with??  That fix that
> was posted 9 months ago is way out of date... I searched
> /lib/extensions/generic_view_paths.rb in master, rails-2.2 branches and
> there isn't even a line 53...?
>
> On Sun, Mar 8, 2009 at 4:25 AM, rvhi <[email protected]> wrote:
>
> > I got the problem solved... the solution is posted by someone 9 months
> > ago. Quite disappointed that it is not included in the code yet...
>
> >http://blog.semergence.com/2008/06/28/issues-with-active-scaffold-and...
>
> > On Mar 7, 11:03 pm, rvhi <[email protected]> wrote:
> > > Got the same problem here. It looks like AS adds some new method to
> > > the ActiveMailer class. But even if I define a new method
> > > 'action_methods', still got the same error. Any suggestion?
>
> > > On Mar 5, 5:09 am, Jose Fernandez <[email protected]>
> > > wrote:
>
> > > > I have updated to the latest commit in the rails-2.2 branch on github
> > > > and im getting this error everytime myActionMailerclasses fire off:
>
> > > > undefined method `action_methods' for PostMailer:Class
>
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:397:in `method_missing'
> > > > /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_view/base.rb:
> > > > 348:in `_exempt_from_layout?'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:575:in `send'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:575:in `candidate_for_layout?'
> > > > /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> > > > layout.rb:255:in `pick_layout'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:563:in `render'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:552:in `render_message'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:496:in `create!'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:455:in `initialize'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:392:in `new'
> > > > /Library/Ruby/Gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
> > > > base.rb:392:in `method_missing'
> > > > app/models/flagged_post_observer.rb:4:in `after_create'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > observer.rb:171:in `send'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > observer.rb:171:in `update'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > callbacks.rb:328:in `notify'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > callbacks.rb:321:in `callback'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > callbacks.rb:238:in `create_without_timestamps'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > timestamp.rb:29:in `create'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > base.rb:2699:in `create_or_update_without_callbacks'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > callbacks.rb:222:in `create_or_update'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > base.rb:2383:in `save_without_validation'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > validations.rb:1009:in `save_without_dirty'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > dirty.rb:79:in `save_without_transactions'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:179:in `send'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:179:in `with_transaction_returning_status'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > connection_adapters/abstract/database_statements.rb:66:in
> > > > `transaction'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:129:in `transaction'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:138:in `transaction'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:178:in `with_transaction_returning_status'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:146:in `save_without_unsaved_flag'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:158:in `rollback_active_record_state!'
> > > > /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> > > > transactions.rb:146:in `save_without_unsaved_flag'
> > > > app/controllers/flagged_posts_controller.rb:6:in `create'

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • Ac... Jose Fernandez
    • ... rvhi
      • ... rvhi
        • ... Kenny Ortmann
          • ... rvhi
            • ... Ryan Cannon
              • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
          • ... AJAY A
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to