On Domingo, 31 de Mayo de 2009 21:41:39 Ed W escribió:
> Can I request the following patch be applied (since it made me look like
> an idiot for several days)
>
> diff --git a/lib/active_scaffold.rb b/lib/active_scaffold.rb
> index 8570e75..c7b501d 100644
> --- a/lib/active_scaffold.rb
> +++ b/lib/active_scaffold.rb
> @@ -85,7 +85,7 @@ module ActiveScaffold
>          include ActiveScaffold::Actions::Core
>          active_scaffold_config.actions.each do |mod|
>            name = mod.to_s.camelize
> -          include "ActiveScaffold::Actions::#{name}".constantize rescue
> nil +          include "ActiveScaffold::Actions::#{name}".constantize
>
>            # sneak the action links from the actions into the main set
>            if link = active_scaffold_config.send(mod).link rescue nil
>
>
> This allows any errors which occur when initializing actions to become
> terminal errors.  Personally I think this is helpful and I can't see the
> justification to quietly suppress errors initialising the framework?
>
> Thanks
>
> Ed W

Ok, I have commited it.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]


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

  • Patch (small one) Ed W
    • Re: Patch (small one) Sergio Cambra .:: entreCables S.L. ::.

Reply via email to