[Nitro] BUG: problem with actions named <something>action
george.moschovitis at gmail.com
Sat Sep 17 14:57:05 EDT 2005
Hmm thanks for reporting this! I 'll add the patch!
On 9/16/05, Chris Farmiloe <chris.farmiloe at farmiloe.com> wrote:
> timlarson on #nitro noticed a problem rendering Controller methods
> (actions) named 'transaction'
> (and also reaction, toastaction etc)
> culprit is a gsub in dispatcher.rb:170....
> Change the line:
> klass.instance_methods.grep(/(action$)|(template$)/).each do |m|
> klass.instance_methods.grep(/(_action$)|(template$)/).each do |m|
> If anyone can see any side effects to this please speak up ;-)
> also not sure if the template should have an underscore too?
> Nitro-general mailing list
> Nitro-general at rubyforge.org
More information about the Nitro-general