Hi Manuel,

I expirienced similiar problem, but I have my own login engine, so I 
guess it's the problem is somewhere in GetText. Can you try to add:

bindtextdomain("rails", request.cgi)

after your own bindtextdomain command. That worked for me, not yet sure 
how, but I realized that looking at rails.rb source from GetText 
package.

best,
Bojan




Manuel wrote:
> Hi,
> 
> I have both running smoothly together with the following code in my
> application-controller:
> 
> [Zitattext verstecken]
> require 'gettext/rails'
> require 'login_engine'
> GetText.output_charset = "UTF-8"
> class ApplicationController < ActionController::Base
>    include LoginEngine
>    helper :model
>    model :user
>    before_filter :login_required
>    init_gettext "asterisk"
> The only thing now is to get the user-engine up and running. I posted
> yesterday the rake
> error I get when running migrate-engine (stack  level too deep).
> Your help is greatly appreciated :).
> 
> Kind regards.
> 
> Manuel
> 
> 
> ----- Nachricht von [EMAIL PROTECTED] ---------
>       Datum: Mon, 23 Jan 2006 21:25:29 +0100
>         Von: Manuel <[EMAIL PROTECTED]>
> Antwort an: Discussion of the use of existing Engines
> <[email protected]>
>     Betreff: Re: [Engine-users] Problems using Login Engine - Rails not 
> bound
>          An: [email protected]
> 
> 
>> Kind regards,
>> <[email protected]>
>>> On 1/23/06, Manuel <[EMAIL PROTECTED]> wrote:
>>>>   include LoginEngine
>>>> But then I don't have gettext-support any more.
>>>>
>>>>> Hi list- and engineusers.
>>>>> actionpack 1.11.2
>>>>>
>>>>> "migration_directory = File.join(RAILS_ROOT, engine.root, 'db',
>>>>>
>>>>> 4:   <%= error_messages_for 'user' %>
>>>>> #{RAILS_ROOT}/vendor/plugins/login_engine/app/views/user/signup.rhtml:4:in
>>>>> `render_file'
>>>>>     
>>>>> `signup'
>>>>>     
>>>>> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:370:in
>>>>> /usr/lib/ruby/1.8/webrick/server.rb:172:in `start_thread'
>>>>> #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:244:in
>>>>>
>>>>
>>> engine-users mailing list
>>> [email protected]
>>> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>>>
>>>
>>>
>>
>>
>> ----- Ende der Nachricht von [EMAIL PROTECTED] -----
> 
> 
> ----- Ende der Nachricht von [EMAIL PROTECTED] -----


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to