search for: hire_date

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

Did you mean: file_date
2009 May 05
9
no sql in the controller guideline
...oller, view, or helper." it really came as a surprise to me as Rails itself seems to go against such practice by its AR ''conditions'' option, which most of the times contains SQL code. like in this example from Rails Cookbook: Employee.find :all, :conditions => [''hire_date > ? AND first_name = ?'', ''1992'', ''Andrew''] does anyone have an opinion on this? * complete post at: http://www.chadfowler.com/2009/4/1/20-rails-development-no-no-s -- Posted via http://www.ruby-forum.com/.
2005 Jul 07
3
NameError Exception
...'s my MySQL dump of the employees table: ============================= CREATE TABLE `employees` ( `id` int(11) NOT NULL auto_increment, `first` varchar(50) NOT NULL default '''', `last` varchar(50) NOT NULL default '''', `resp` tinyint(3) default NULL, `hire_date` date default NULL, `office` varchar(13) default NULL, `cell` varchar(13) default NULL, `title` varchar(50) default NULL, `sig_file` varchar(50) default NULL, `notary` tinyint(1) NOT NULL default ''0'', `active` tinyint(1) NOT NULL default ''1'', `locat...