search for: cmf901

Displaying 2 results from an estimated 2 matches for "cmf901".

Did you mean: cm690
2006 Jun 14
0
Custom Primary Key, Using Primary Key in Form gives "before_type_cast" error?
...e which i need help from the pro''s in this mailing list I have a legacy app where the User table has a custom structure where "User_id" (username) is the primary key as well as the username used to log in User.rb (model) class User < ActiveRecord::Base set_table_name "cmf901" set_primary_key "user_id" end Login Controller class LoginController < ApplicationController def login @user = User.new end end When creating a Login form (login.rhtml) <%= start_form_tag :action => "process" %> <%= text_field ''user'...
2006 Jun 13
2
Custom Primary Key, Using Primary Key in Form "gives before_type_cast" error?
...e which i need help from the pro''s in this mailing list I have a legacy app where the User table has a custom structure where "User_id" (username) is the primary key as well as the username used to log in User.rb (model) class User < ActiveRecord::Base set_table_name "cmf901" set_primary_key "user_id" end Login Controller class LoginController < ApplicationController def login @user = User.new end end When creating a Login form (login.rhtml) <%= start_form_tag :action => "process" %> <%= text_field ''user'...