similar to: undefined method `create_table'' for #<LoginController:0x5e60

Displaying 20 results from an estimated 800 matches similar to: "undefined method `create_table'' for #<LoginController:0x5e60"

2012 May 01
1
uninitialized constant LoginController in Ruby
This is my environment.rb # Load the rails application require File.expand_path(''../application'', __FILE__) # Initialize the rails application Qstack::Application.initialize! require ''koala'' This is my application_controller.rb class ApplicationController < ActionController::Base # protect_from_forgery before_filter :parse_facebook_cookies def
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt): def try_to_authenticate User.authenticate(self.username, self.password) end .. private def self.hash_password(password) Digest::SHA1.hexdigest(password) end def self.authenticate(username, password) @user = User.find(:all, :conditions => ["username = ? AND password = ?",
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''] =
2006 Aug 02
2
mangle ActiveRecord
Dear Gurus on Rails! How do I change the behaviour of one method in ActiveRecord::ConnectionAdapters::SchemaStatements ? Full story: I''d like to mangle ActiveRecord::ConnectionAdapters::SchemaStatements so when it creates a new sql table, it also (optionally) creates my created_at, deleted, key_id, session_id etc columns that I use on basically all tables. It would not be DRY to repeat
2008 Feb 26
5
Rails 2.0.2 MySQL 'year' datatype missing from ActiveRecord?
Hi all, This is my first post to the forum, and I''ll point out right away that I''m a noob to everything, Ruby, Rails, MySQL, etc., so I expect that I''m wrong here, but is the ''year'' datatype missing from ActiveRecord in 2.0.2? According to my MySQL 5.0 reference manual, ''year'' is a datatype, but when I try to run a migration that has
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!
2009 Sep 28
5
Multi-databases support
Hi, While I was hacking ovirt-server, I have found that it's currently restricted to Postgres DB. Even if I like postgres for serious work on a server, I really prefer to hack/dev locally on a Sqlite or MySQL DB. I have googled on rails in order to find a good answer for the "foreign key problem" which forces OVirt to stay on pg. I have found a plugin on this particular
2006 Apr 19
6
Please help Me!
Hi to this Group! I am new to Ruby! I am facing problrm s to find the database functions. I want the source of sites for predifiend functions for handling the database. I develpong the shoping cart application, In that i am facing problems to delete the perticuller item form cart . I got idea to delete the total cart information using sesiions I want to delete the perticuller item form
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 Dec 27
7
Issue running Dovecot in Docker Container
The conf.d files are not included. I have added !include conf.d/*.conf to director.conf and reloaded the dovecot and director services. conf.d/10-logging also has the following lines: log_path = /dovecot.log info_log_path = $log_path debug_log_path = $log_path The /dovecot.log file still shows empty. Nothing is being logged to that file. Thanks & Regards, Naveen On Thu, Dec 26, 2019 at
2004 Feb 24
5
Is it possible to use PXELinux/SYSLinux with out changing DHCP Server settings ?
Hi, We have some 100 Servers (includes both Intel and PPC based systems). Is there any way to easly install OS (different flavours of Linux) on these systems ? We do not have control over the DHCP Server settings so is there any way to do this with out touching the DHCP Server ? We have static IPs for all the systems. Regards, Naveen
2015 Jul 03
2
[LLVMdev] clang generated executable uses only x86 general purpose registors
Hello Everyone I just want to generate an executable using clang++ or clang which uses only general purpose registers from x86. The generated code should not use mmx or any other special purpose register. Thanks a lot -- Regards V Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Feb 19
3
No compatible codecs!
Hi, I have the asterisk-1.4.11 set up installation on my Ubuntu machine. When i try making a simple incoming call using xlite softphone. I get the following message when i try calling to the number. *CLI> [Feb 19 13:35:40] NOTICE[4137]: chan_sip.c:5331 process_sdp: No compatible codecs, not accepting this offer! Which codec is it talking abt here. How can i resolve this. My dialplan is as
2019 Dec 30
2
Issue running Dovecot in Docker Container
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> You could also try our docker images, see <a href="https://hub.docker.com/u/dovecot">https://hub.docker.com/u/dovecot</a> </div> <div> <br> </div> <div> Aki </div> <blockquote
2019 Dec 30
1
Issue running Dovecot in Docker Container
Hi, I can see those values correctly with the doveconf -nc command. Here is the part of output: bash-4.2# doveconf -nc /etc/dovecot/director.conf # 2.2.36 (1f10bfa63): /etc/dovecot/director.conf # OS: Linux 4.1.12-112.14.11.el7uek.x86_64 x86_64 Red Hat Enterprise Linux Server release 7.7 (Maipo) # Hostname: 69b492645b56 auth_debug = yes auth_default_realm = xxxxxxxxxxxxxxxx auth_verbose = yes
2010 Aug 22
1
rails3: t.index in migrations not working anymore
Hello, I''m playing around with Rails3 and trying to upgrade one of my applications to Rails 3.0.0.rc and I get an error which should be still working. Migration: t.index :name When I execute rake: rake aborted! An error has occurred, all later migrations canceled: undefined method `index'' for #<ActiveRecord::ConnectionAdapters::TableDefinition:0x4b2b6b0> Does some one
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,
2006 Mar 05
8
workflow support in Ruby on Rails
Hello, I am relativley new to Ruby on Rails and am still in the process of enjoying the features it offers. I wanted to know if theres workflow support in rails. Can some one give me pointers if its possible. Thanks Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060305/43c9abc3/attachment.html
2019 Dec 26
2
Issue running Dovecot in Docker Container
I have tried these in the 10-logging.conf but no luck. There is nothing logged to the file. bash-4.2# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 Dec23 ? 00:00:00 /bin/bash /bootstrap.sh root 8 1 0 Dec23 ? 00:00:00 sleep 36000d root 15681 0 0 08:51 pts/1 00:00:00 bash root 16340 0 0 09:19 ? 00:00:00
2006 Dec 05
2
Samba file security
I am newbie for samba configuration at security level. I have read all the documents but could not resolve my problem. My problem is as below and would like your help to resolve it I have installed Samba - 3.0.0-14 on Redhat ES 3 and everthing is working fine. But I want that all the member can read the files and put the file on shared folder but can not delete it. I want to protect it from