search for: init_engine

Displaying 9 results from an estimated 9 matches for "init_engine".

2006 Feb 09
4
Login_Engine: trouble configuring
...module LoginEngine config :salt, "throcking-cottered" config :use_email_notification, false end Engines.start :login ######################################## In Vendor\plugins I have engines login_engine In Vendor\plugins\login_engine I have app db lib public tasks test init_engine.rb README ####################################### When I try to start WEBrick I get D:\ruby\projects\tmp>ruby script/server => Booting WEBrick... ./script/../config/../app/helpers/application_helper.rb:3: undefined local varia ble or method `login_engine'' for ApplicationHelper:Modu...
2006 May 09
5
How to use gettext in plugins?
...h_of :login, :within => 3..40, :on => :create, :message => N_("%{fn} is too short (min is %d characters)") It can not display the according language,where should i set it? I have tried to add require ''gettext/rails'' GetText.bindtextdomain("myd2d") to init_engine.rb or somewhere else,it can not work still. Thanks Charlie -- Posted via http://www.ruby-forum.com/.
2006 May 15
5
Login generator errors.
Okay, I download login generator and I used it on my new app but, it''s not working correctly. If the user logins on the same session as he created he will login if it isn''t the same session it fails. What''s going on? -- Posted via http://www.ruby-forum.com/.
2006 Aug 03
2
Plugins dependency mechanism?
Hi, With so many good plugins around at the moment, I''d perhaps like to require some of these in one of my own rather than try to re-write their functionality. Is there a mechanism available for making a plugin dependent on another plugin(s)? Cheers Dan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 13
4
controllers, models and views in plugins
Hello all, Is it possible to package controllers, models and views in a plugin? The tutorials for plugins seem rather sparse at the moment... I''ve written a form "widget" that I''ve been using as a partial that I would like to reuse in other projects. I was thinking about making a component out of it, but I need to be able to access some of the form data that it
2006 May 29
1
Engine: Active_RBAC not working, missing require
...active_rbac/lib/active_rbac/group_mixin.rb:1 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `requir e'' C:/rails/helferlein2/config/../vendor/plugins/active_rbac/init_engine.rb:41:in `start_engine'' C:/rails/helferlein2/config/../vendor/plugins/engines/lib/engines.rb:183:in `start_engine'' C:/rails/helferlein2/config/../vendor/plugins/engines/lib/engines.rb:132:in `start'' C:/rails/helferlein2/config/../vendor/plugins/engines/lib/engines.rb:1...
2006 Mar 25
2
Rails Plugins: How to copy artefacts to the public directory during install? When is install.rb executed anyway?
Hi, I want to write a plugin that uses JavaScript and I am wondering how to put the static content, i.e. the JavaScript, in place? I read the documentation I found ( http://wiki.rubyonrails.org/rails/pages/Plugins and links) and looked at the listed plugins. One thing I found was that subversion seems to be a prerequisite for providing or even installing plugins. Is that right? The other thing
2006 May 15
2
login engine error
...:in `require__'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' /Users/gopalbalaji/Projects/test/config/../vendor/plugins/login_engine/init_engine.rb:6:in `start_engine'' /Users/gopalbalaji/Projects/test/config/../vendor/plugins/engines/lib/engines.rb:183:in `start_engine'' /Users/gopalbalaji/Projects/test/config/../vendor/plugins/engines/lib/engines.rb:132:in `start'' /Users/gopalbalaji/Projects/test/config/../vend...
2005 Dec 22
11
rforum engine
...roblem goes away when I put a load ''rforum_application.rb'' at the top of each controller. A ''require'' doesn''t do the job. My question: why? I brooded over $ENGINES/lib/dependencies_extensions.rb, but couldnt see the answer. 2) In my app''s init_engine.rb I have to put require ''common_model_behaviors'' # 1 require RAILS_ROOT + ''/config/app.rb'' # 2 When I leave out line 1, I get errors such as "uninitialized constant ErrorRaising" (which is defined in ''common_model_behaviors''). Bu...