hey

I'm using gettext (1.10.0) in my app (rails 1.2.5) and everything works
fine except a litte action.

this exception occurs, when i finish an order (were using a software to
manage foodcoops) and the users should get an mail-notification.

when i follow the backtrace, the error occurs in the mailer-method,
which is used to build the templates:

# message.rb, our mail-model
# exception is raised in line 2

def self.from_template(template, vars, attributes)
  view = ActionView::Base.new(Rails::Configuration.new.view_path, {},
MessagesController.new)
  new(attributes.merge(:body => view.render(:partial => template,
:locals => vars)))
end

I hope, you have an idea.

greetings
benni

Attachments:
http://www.ruby-forum.com/attachment/1020/uninitialized_constant.txt

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to