Displaying 20 results from an estimated 800 matches similar to: "Fwd: Models and Backgroundrb"
2006 Jun 22
1
Models and Backgroundrb
Hi Erza,
I am using login engine in my code...and i get the error "uninitialized
constant LoginEngine and uninitialized constant LoginEngine", when i try to
do a find in the worker code!!!
Why am i getting this error?
--
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 22
0
Problem with change_password action in LoginEngine
Hi, I just setup the Login engine and everything seems to be
working... but the change_password action. The fact is that the user
receives the mail telling him to visit the app''s change_password page
in order to enter a new password, but I get an undefined method error
in my controller when rendering <%= error_messages_for ''user'' %>.
Tracking down the issue, I
2006 Jul 04
3
Engine Not Starting
I''ve used login_engine successfully before with webrick, and now using a
provider that uses fcgi. login_engine doesn''t seem to start up, in the
development log file, I get only routing errors for the page requested.
The login_engine unit tests pass fine.
My question is if an engine is not loaded, not in a path, etc, how is
this indicated in rails? None of the log files even
2006 Nov 22
4
Error when starting bgrdb
Hi,
I get this error when starting bgdrb using "rake
backgroundrb:start" (on a Mac using bgdrb 0.2.0):
/Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/backgroundrb/server/lib/
backgroundrb_server.rb:33:in `format_message'': undefined method
`strftime'' for "2006-11-22T12:34:18.524572 ":String (NoMethodError)
from /usr/lib/ruby/1.8/logger.rb:320:in
2005 Dec 29
2
Login plugin
All-
I am new to Ruby; following are my two questions:
1. Which is the best login plugin? I keep hearing about SALT and
loginengine.
2. For installing loginengine; I see the two following steps - Both
these does not work for me. :
$ script/plugin install login_engine
==I am getting "script/plugin is not a internal or external
command, operable program or batch file"
2005 Dec 29
2
has_many & belongs_to with Plugins (login_engine)
Hello list,
Probably a newbie question but couldn''t find the answer in the archives.
I am using the login_engine Plugin to implement the login functionality. I
have a JournalEntry model that interacts with the journal_entries table. I
would like to link the journal entries to the user who entered it.
Essentially, it is a one to many relationship between the model User(from
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys,
I''m having some trouble getting login_engine to work. I''ve followed the
steps in the README file to the letter (I think) with the exception of
the Mailer stuff and cannot get my application to run. Heres what I have;
module ApplicationHelper
include login_engine
end
#####################################
require ''login_engine''
class
2006 Apr 10
1
LoginEngine 1.0.1
Hi,
The LoginEngine has been updated to 1.0.1.
Notable changes:
* User model now does very basic email validation
* All tests now pass on both Rails 1.0 and 1.1
* Many bugs fixed!
Please refer to the Engines documentation for how to update.
http://www.rails-engines.org/download
The subversion URL for the tag is:
http://svn.rails-engines.org/login_engine/tags/rel_1.0.1
= v1.0.1
* Added
2006 Jan 23
2
UserEngine -- Permission.synchronize_with_controllers -- trouble with my own controller modules
I suspect there''s an easier version of this question that I could ask,
but I''m not sure where I''m going wrong. I have LoginEngine and
UserEngine setup and seemingly running fine. However, not all of my
controllers are being found when I run "rake sync_permissions".
Specifically, it''s the controllers that are not in the base
controllers folder, but
2006 Apr 19
1
Login_Engine and use_email_notification
I got a problem with the set up of Action Mailer and Login_Engine.
I''m actually not able to disable email notification, as I could see in
the doc of login_engine it seem that I just need to insert a line in
the environement.rb of my application, like that :
module LoginEngine
# ... other options...
config :use_email_notification, false
end
But I don''t get it
2005 Dec 02
8
UserEngine: stack level too deep
Hi,
I''m trying to get the UserEngine running.
I have installed the LoginEngine, added the essential lines to
environment.rb / application.rb and application_helper.rb.
Worked fine.
Then I did the same with the UserEngine and when trying to set up the
db:
rake engine_migrate ENGINE=user
I get:
Migrating engine ''user_engine''
rake aborted!
stack level too deep
But...
2006 Feb 20
3
file_column and login_engine incompatibilities
Hi, has anyone come across any incompatibilities between file_column and
login_engine?
I''ve been having strange issues where a User model with file_column in
it is failing to save the images properly. Everything uploads to the tmp
dir fine, but then it never gets copied to the proper permanent location.
No errors - everything happens fine except for that final part.
I have
2006 Apr 27
3
LoginEngine File_column interop
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hello all,
I hope someone can help me with this issue, I have the SVN
file_column and using LoginEngine/UserEngine with Rails 1.1.2. My
issue is that I''m overloading the view for LoginEngine to support a
file image upload as part of the user record and having a heck of a
time doing so.
Near the bottom of my new _edit.rhtml
2006 Jun 08
2
LoginEngine: undefined method `generate_security_token''
Hi there,
I''m trying to set up LoginEngine with Rails 1.1.2 on Ruby 1.8.4 on a
Windows XP box and the log is reporting:
undefined method `generate_security_token'' for #<User:0x39436a0>
Rendering user/signup
Rendered user/_edit (0.01600)
Rendered user/_password (0.01600)
Rails appears to be failing on key = @user.generate_security_token in
user_controller.rb in the
2006 Jan 31
6
How to Affect Plugin Load Order
I''m using bundled_resource, login_engine, and a few other plugins. It
appears Rails considers plugins in alphabetic order. Turns out that
there is a particular order that will work and alphabetic ain''t it.
The login engine must be loaded first. Bundled resource then includes
''application_helper'' and the application helper includes LoginEngine. If
2006 Jan 16
2
LoginEngine vs. LoginGenerator?
I just saw a mention here of LoginEngine, which I hadn''t heard of
before. Last week when I was digging for user-account sample code for
my web-app, I instead found the LoginGenerator and started using that:
http://wiki.rubyonrails.com/rails/pages/LoginGenerator
Is one of these preferred over the other? From skimming the API docs,
it does seem that LoginEngine has more features,
2006 Feb 26
7
LoginEngine problems
I''m trying to get a simple authentication system going for a small rails app.
After much research, it looks like LoginEngine should do exactly what I want.
Now, the documentation is somewhat confusing to me when looked at in the light
of reality. There are some places that say you have to install the "engines"
plugin. But, I cannot find such a beast.
So, I installed the
2006 Jan 30
2
Modules, controllers and inheritance
Hi!
I was trying to cleanup my app and I runned into quite a problem. My
controllers in submodule do not seem to inherit things from base
class.
I have following setup:
app/controllers/
application.rb:
class ApplicationController
admin/
admin_controller.rb:
class Admin::AdminController < ApplicationController
include LoginEngine
include UserEngine
2006 Jul 09
1
Problem with LoginEngine
I installed the Engines and loginEngines plugins but when it came to set
up the Database schema.rb, that file is missing from the folder. I have
searched everywhere possible to see if i can get this file and set up
the schema but no success. Anyone with the same problem or know what
the issue could be?
Even the documentation for loginEngine does not show this file anywhere.
Thanks to anyone
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from