Displaying 5 results from an estimated 5 matches for "use_email_notification".
2006 Apr 19
1
Login_Engine and use_email_notification
...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 working, I always get the following warning : "Error
creating account: confirmation email not sent"
Any help is welcome,
regards,
--
Grosjean S?bastien
2006 Jul 04
3
Engine Not Starting
...#39;'m assuming this is some sort of
fcgi issue, but not sure how to even start troubleshooting it. Any help
would be appreciated.
Application helper:
module ApplicationHelper
include LoginEngine
end
Environment.rb (bottom)
module LoginEngine
config :salt, "mysalt"
config :use_email_notification, false
end
Engines.start :login_engine
Application Controller:
require ''login_engine''
class ApplicationController < ActionController::Base
include LoginEngine
helper :user
model :user
before_filter :login_required
end
--
Posted via http://www.ruby-forum.com...
2006 Feb 09
4
Login_Engine: trouble configuring
...class ApplicationController < ActionController::Base
include LoginEngine
helper :user
model :user
before_filter :login_required
end
###################################
In environment.rb;
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...
2006 Jun 08
2
LoginEngine: undefined method `generate_security_token''
.... The offending block is:
if @user.save
key = @user.generate_security_token
url = url_for(:action => ''home'', :user_id => @user.id, :key =>
key)
flash[:notice] = ''Signup successful!''
if LoginEngine.config(:use_email_notification) and
LoginEngine.config(:confirm_account)
UserNotify.deliver_signup(@user, params[:user][:password],
url)
flash[:notice] << '' Please check your registered email
account to verify your account registration and continue with the
login.''
el...
2005 Dec 31
9
Railspdf plugin problem
Hi,
For my app i need to generate pdf file for reports. I am trying the railspdf
plugin, got it installed using command:
ruby script/plugin install
svn://rubyforge.org//var/svn/railspdfplugin/railspdf/
The problem is that when i re-started my webrick it won''t run, with errors
messages like this (shown only first message):
*D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5