similar to: UserEngine: stack level too deep

Displaying 20 results from an estimated 5000 matches similar to: "UserEngine: stack level too deep"

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 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
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there, I''ve just installed login_engine and user_engine from the repositories, followed the setup procedures as documented in: vendor/plugins/user_engine/README But I''m getting the following failure: vince@vaio:~/Projects/Booking$ rake bootstrap (in /home/vince/Projects/Booking) rake aborted! undefined method `edit'' for class `UserController''
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
Good day all. I have successfully installed Engines and LoginEngine and LE is setup and running correctly. However, after installing and setting up UE, when attempting to run the rake bootstrap method I get the following error: undefined method `synchronize_with_controllers'' for Permission:Class My environment is Rails 1.0.0 Ruby 1.8.2 WinXP WebBRICK MySQL 4.1.14 I found the following
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 16
1
login_engine error
Hey All, I have been unsuccessful at getting the login_engine installed. I have used it before but since the last time I''ve used it I can''t get it to work correctly. I was wondering if someone could help out with the following error: undefined method `password_confirmation='' for #<User:0x2aaaad1421a0> Any Help? Thanks, Adam <<<<<<REST OF
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
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 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
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 28
2
tests and login_engine
Hi there, I just started writing tests today after some months of using rails (slap wrists). I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine. all my assertions come back with: Expected response to be a <:success>, but was <302> Is there a way I can login from within a test?
2006 Mar 30
5
Re: How to Password Protect a Controller
Sure, have a look to the login generator (gem install login_generator) -, then script/generate It''s very easy to use. -- Posted via http://www.ruby-forum.com/.
2006 Jan 16
17
LoginEngine / UserEngine conceptual help
All, I have a small Intranet app I''m trying to get ready for remote access. (I only have 15 or so users for now and I don''t plan to be adding very many more.). I have installed the login engine and it seems to be working as advertized. (Great job!) For my needs I don''t want random people to be able to register and get access to my app, but I will need to register
2006 Jan 03
7
best authorization?
Hello, I want to allow some users to manage other user accounts, but do not want them to manage the admin account. I have tried auth_generator, login_engine and user_engine I am having a hard time gettign this to work. Looking for advise and help. Thanks Frank -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 Jan 23
3
running rake commands from rake migrate
Hi there, How can I run rake commands from a rake migration? I''m looking to run rake engine_migrate and others commands from a migration in order to migrate my engines along with my core app. Any advice is appreciated. Thanks, Jason
2006 Jun 30
9
User engine problems with 1.1.4 + Test driven development??!
The following two posts (at the bottom) were posted to engine- users@lists.rails-engines.org and suggests further issues with 1.1.4 I''m forwarding it here for two reasons: 1. Just a heads-up that 1.1.4 breaks engines that are customised. login/user_engine are probably almost as widely deployed as Typo, and if you''ve done any controller-level customisation, 1.1.4 appears to
2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
Hi all, I was playing with the sample project found on the Wiki at http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails , and everything was working fine, ... till I moved to EdgeRails : undefined method `weight'' for #<Hash:0x22c7150> (full error thread below) Any idea? Alain
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 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