Displaying 20 results from an estimated 800 matches similar to: "Login generator errors."
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 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 May 15
2
login engine error
Hi everybody,
I am new to rails.
I get the following error when run the rake engine:migrate for the
engine login_engine.
------------------------------------------------------------------------
gbalaji:~/projects/test/vendor/plugins/login_engine gopalbalaji$ rake
engine_migrate ENGINE=log --trace
(in /Users/gopalbalaji/Projects/test)
** Invoke engine_migrate (first_time)
** Invoke
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine):
--------------------------------------
Full executation backtrace:
--------------------------------------
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in
`execute_callstack_for_multiparameter_attributes''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in
2006 May 01
4
Find rows with associations in habtm
This may have been asked/answered before - if so, i apologise...
I have the following table layout in a habtm relationship:
------------ ----------------------- --------------
| products | ----| categories_products |-----| categories |
------------ ----------------------- --------------
What would be the best way to pull out all the products for a given
category? At the
2006 May 02
9
Updating only one field
At present, I use an update like this to set the user''s last login time:
authenticated_user.update_attribute(:last_login, Time.now)
However, this calls the following, updating all fields:
UPDATE users SET `last_login` = ''2006-05-02 13:27:41'', `hashed_password`
= ....
Is there any way I can tell ActionRecord to only update the one field?
I don''t really want
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1
install running correctly?
My site has been down since last night at about 7:00 pm (I think).
It''s annoying, and are a lot of others having this problem too?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 30
3
extracting username
Forgive my ignorance ya''ll. I''m trying to extract a username from a
table using the user id.
I''ve tried:
@authenticated_user = User.find(:first, :select => "login", :conditions
=> "id = ''1''")
AND:
@authenticated_user = User.find_by_sql("select login from users where
id=''1''")
within an action that
2006 Apr 05
6
How to Upload Image through RoR??
Hi,
I have one form , in which I am using file_field teg for input image
file as follows.
=====
<%= file_field("store", "picture") %>
=======
Tha Actual fileld name of my Image field in Database is "store_photo"
with datatype LargeBLOB.
& Inside my Store Model I have specified "def picture" as follows:-
=========================
def
2006 May 04
3
login generator doesn''t work
Hi,
i just install login genrator and tried to get it work but
unfortunatelyu didn''t work it give some errors. i wonder why?
can any help?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 May 05
2
Authentication Problem in Ruby and Rails
Hi to all!
I am new to ROR!I hope i will get the help from this group!
We configured the email setting in the environment.rb file for sending
the email from my local system!
but we are getting Authntication problems!
How can I solve this problem
Please give me the references
Thanks and Regards,
Kumar
--
Posted via http://www.ruby-forum.com/.
2006 May 14
1
Does anyone know how to change timeout for production env?
Does anyone know how to change timeout for the production environment?
My action runs for ~2 minutes then timesout in production mode. In
development mode it is ok.
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Mar 29
8
Action Mailer
Does anyone know where I can download an demo app of action mailer. I''ve
looked every where. I''ve also done the tuts. but, they don''t work for
me. Thanks...
--
Posted via http://www.ruby-forum.com/.
2007 Dec 12
1
why is authenticate_with_http_basic undefined?
Hi,
i used the rick olson''s restful_authentication plugin
rails 1.2.6
i wanted to check for authenticated user so i wrote this in my
application.rb
# Filters
before_filter :authenticate
# Sets @authenticated_user if the user provides valid
# credentials. May be used to deny access or customise the view
def authenticate
@authenticated_user = nil
2006 Apr 20
9
How to change project location?
I moved a project from /var/www/mypro to /home/user1/mypro ... what do I
have to change in config?
The server does not start anymore.
Thank you - Eric
--
Posted via http://www.ruby-forum.com/.
2006 Apr 25
5
Authorisation question
My authentication (signup/login) is up and running in my app, now I need
to implement an authorisation system. Its not going to be a complex
one. One admin (me) and then normal members and premium members. Any
tutorials or tips on a simple way to get this running? Thanks.
--
Posted via http://www.ruby-forum.com/.
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi,
I just installed Rails 2.0.2
[root@mymachine easyx]# ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
[root@mymachine easyrx]# gem install rails --include-dependencies
Need to update 16 gems from http://gems.rubyforge.org
................
complete
Successfully installed rails-2.0.2
[root@remandev easyrx]#
But I''m getting this error in my restful_authentication
2006 May 12
1
Some error about adding.
Ok so I''m trying to make a little exchange 3 for 1 of 1 higher rank here
is the code in the controller:
def exch_link
@id = @session[:user].id
@type = @params[:type]
exch(@id,@type)
end
def exch(user_id,this_type)
@user = User.find(:condtions => "id = " + user_id)
@ranks =
2006 Aug 03
9
Rails Cheatsheets!!!
Hey if you know any rails cheatsheet link add it inot the follwing list,
lets make a long list on Rails cheatsheet.... ;)
1)
2)
3)
4)
.
.
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/a6eea2ac/attachment-0001.html
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