similar to: uninitialized constant LoginController in Ruby

Displaying 20 results from an estimated 100 matches similar to: "uninitialized constant LoginController in Ruby"

2006 Apr 19
6
undefined method `create_table'' for #<LoginController:0x5e60
I am geeting the foolowing error. undefined method `create_table'' for #<LoginController:0x5e60110> I wrote the crete action in application controller. I am coping ther total worng please help me! class ApplicationController < ActionController::Base model :cart model :line_item before_filter :authorize def create # create_table() yields a TableDefinition instance
2006 May 17
2
MissingSourceFile in LoginController#login PROBLEM
Hi All, I''m new to this and having a hard time getting a ruby on rails app to work. The problem seems to be realted to sqlite3 but as far as I know sqlite3 is working properly on its own. You can check out my error messages at http://129.173.68.245 Any advice on what might be causing this problem is greatly appreciated. S. --------------------------------- All new Yahoo!
2008 Jan 16
4
ActionController::InvalidAuthenticityToken in LoginController
Hi, I''m having a problem trying to get a login controller working. When I try and post to my login controller I get the following error: ActionController::InvalidAuthenticityToken in LoginController#login login_controller: class LoginController < ApplicationController def login case request.method when :post if @session[''user''] =
2011 Sep 19
7
how to get instance variables in another action in rails 3
In my controller show method i have two instance variables which have large amount of data and take much time to fetch from remote system. shown below def show @graph = Koala::Facebook::GraphAPI.new(session[:fbuser] ["credentials"]["token"]) @friends = @graph.get_connections("me", "friends") @friends =@friends.to_a end in the same controller I
2013 May 30
0
Import friends
Hi friends, I need send invitation to my facebook friends. i can import all my facebook friends. but when i send a message to particular user this message send all my friends. how can i solved it. Please help me. this is my code def facebook_invite friend_id= params[:mail] logger.debug(''CURRENT'') logger.debug(
2007 Oct 23
9
Running rails specs outside of the normal project tree
I want to create a spec/regressions directory with various regressions (for my rails project). I tried the following: describe LoginController, "regression for user creation when steves_sister does not exist", :behavior_type => :controller do controller_name :login before :each do @params = { "commit"=>"Create Account",
2019 Aug 15
0
Dovecot - Microsoft Azure AD
Hi! Dovecot supports Lua userdb, which can be used to implement custom user databases, maybe this might work for you? See https://doc.dovecot.org/configuration_manual/authentication/lua_based_authentication for more details. Aki > On 15/08/2019 12:16 Lennart Boettcher <lennart.boettcher at secpoint.onmicrosoft.com> wrote: > > > Hello, > > Thank you for the quick
2005 Nov 19
1
How I provide a session object to Functional Tests?
People, I''m looking at p. 152 in the Rails book where he talks about testing controllers [ functional tests ]. First he shows a method, test_login_with_valid_user, which tests that it''s possible to login with a valid user/password combo. Then, he talks about extracting the code he just wrote and placing it into a login method inside of test_helper.rb Once the method is there,
2007 Jan 09
0
Production Mode with SCGI
Hi, I have an application running on Apache SCGI (Win XP). Once I run it in production mode (scgi_ctrl config -S -e production ) I''m getting stack trace instead of HTTP status 500 (Application Error) and the error is logged production.log. The application works fine without SCGI. Your help is highly appreciated.... Thanx /* production.log */ # Logfile created on Thu Jan 04 16:35:43
2019 Aug 14
2
Dovecot - Microsoft Azure AD
Hello, I am currently trying to connect my Dovecot mail server to Microsoft's Azure-AD and use it as password and user database. I am using version 2.3.7.1. Using the Azure-AD as passdb already works. In this context I noticed that the scope implementation is not yet merged. Since I haven't found any hints for an OAuth2 userdb implementation yet, I wanted to ask if there are any plans
2007 Jan 19
2
route issue after update to 1.2.1
Updated...(trimmed comments) $ gem list *** LOCAL GEMS *** actionmailer (1.3.1, 1.2.5) actionpack (1.13.1, 1.12.5) actionwebservice (1.2.1, 1.1.6) activerecord (1.15.1, 1.14.4) activesupport (1.4.0, 1.3.1) postgres (0.7.1) rails (1.2.1, 1.1.6) rake (0.7.1) rmagick (1.14.1, 1.13.0) sources (0.0.1) Updated application... $ rake rails:update (in /home/craig/svn/th-db/branches/phase3) install -c -m
2006 Apr 22
5
ActiveRBAC 0.3.1 Released
Hi I am happy to announce the 0.3.1 release of ActiveRBAC Engine. The biggest improvement on the 0.3 release is that it runs with Rails 1.1 now. Get your personal copy now from https://activerbac.turingstudio.com/releases :) There is a manual PDF with a tutorial available at https://activerbac.turingstudio.com/releases/ActiveRbacManual.pdf which is also included in the full
2006 Apr 27
6
Functional Test Problem. Nubee, please help
ALl my controllers require the user to be logged in. SO they will be redirected to my "login" controller. How do i login first in a functional test? Im assuming i use the setup method to login the controller. This is the setup method for the Activities controller functional test: def setup @controller = ActivitiesController.new @request =
2008 Jun 02
2
Cannot log in/authenticate within RSpec Story
I''ve been slamming my head against a wall for a while now, and would like some help. I believe this is session related. I have a story that looks like: -------------------------------------------------- Given that a post exists And I am logged in When I visit the post details page Then there should be a link to add a new comment
2008 Apr 22
2
error after sending email.(conection refused- connect(2))
hi all, in my application if the user forget the login details then they can go to a page where they can enter their mail id and the login details''ll be mailed them to that mail id.after mailing them the user''ll be redirected to the login page. but after entering the mail id and clicking the button im getting error like Errno::ECONNREFUSED in
2006 Apr 19
0
My database model''s connection appears messed up.
I am trying to add data from a form, and the rails doesn''t appear to be making any effort at all. I''ve put deliberately erroneous data, but still nothing. All the development log shows is this. This is the code in use - based on the example from Rails book def add_customer_admin if request.get? @login = CustomerAdmin.new else @login =
2006 Feb 28
1
Oracle OraNumber problem with Authentication. Please help!
I have added an authenticator using the instructions here: http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticate The LoginController sets session["employee"] to an employee. When i try to access the session["employee"] from another controller i get this error : " TypeError (no marshal_dump is defined for class OraNumber): c:/ruby/lib/ruby/1.8/pstore.rb:159:in
2005 Dec 17
1
lost in an ActiveRecord::StatementInvalid
I have an error I don''t know how to debug. I am adding the login suport in Depot (the example in the RoR book) and LoginController#add_user throws ActiveRecord::StatementInvalid in an innocent /login/add_user GET request. The trace goes down to a call to SQLiteAdapter#table_structure, and the source code suggests what''s happening is that "PRAGMA
2005 Dec 29
1
Posting to a separate controller in a functional test
Hi, I need to post to a controller to log in a user in a functional test, but I''m not sure what to do to post to a separate controller. I''ve tried: post { :controller => :account, :action => :do_login }, { bla bla bla } But that doesnt seem to have worked. Help? Mitch -- Posted via http://www.ruby-forum.com/.
2008 Oct 16
2
rails and security
Hi, I am wondering if there is a way to secure rails application logs ? My issue is that I discovered that form parameters are shown in clear in the logs. So when users are authenticating, you see the login and password in clear Processing LoginController#index (for xxxxx at 2008-10-16 11:22:43) [POST] Session ID: 8cb95e2e50332added5715eff9e84938 Parameters: