search for: task_types

Displaying 4 results from an estimated 4 matches for "task_types".

2009 May 29
1
[PATCH server] fixed UI update bug -- ignore task_types when it doesn't exist
...t;img src="images/jumbo_find.png" alt="find" width="145" height="145"> <div class="no-grid-items-text"> <h2>There are no tasks that match this filter.</h2> - <p>Type: <strong><%= task_types.select {|type| type[1]==task_type}[0][0] %></strong></p> + <%if task_types %> + <p>Type: <strong><%= task_types.select {|type| type[1]==task_type}[0][0] %></strong></p> + <% end %> <p>S...
2006 Mar 21
3
Newbie - ActiveRecord relationships
...9;'0.00'', `worked_on` date NOT NULL default ''0000-00-00'', `logged_at` datetime NOT NULL default ''0000-00-00 00:00:00'', PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `task_id` (`task_id`) ) TYPE=InnoDB AUTO_INCREMENT=1 ; CREATE TABLE `task_types` ( `id` int(4) NOT NULL auto_increment, `title` varchar(100) NOT NULL default '''', PRIMARY KEY (`id`) ) TYPE=InnoDB AUTO_INCREMENT=17 ; CREATE TABLE `clients` ( `id` int(4) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '''', `contact` v...
2007 Nov 29
4
collection.build or collection.create gives "ArgumentError: wrong number of arguments (1 for 0)"
I have a Project that has_many Tasks. Tasks belongs to a Project. When I try the following: project = Project.new project.tasks.build I get: >> s = Project.new => #<Project:0x25f9e28 @attributes={"name"=>"", "end_at"=>nil, "updated_at"=>nil, "published_at"=>nil, "user_id"=>nil,
2009 May 21
1
[PATCH server] Updated look and feel for empty grid views
...t;img src="images/jumbo_find.png" alt="find" width="145" height="145"> + <div class="no-grid-items-text"> + <h2>There are no tasks that match this filter.</h2> + <p>Type: <strong><%= task_types.select {|type| type[1]==task_type}[0][0] %></strong></p> + <p>State: <strong><%= task_states.select {|state| state[1]==task_state}[0][0] %></strong></p><br /> + <p>Choose another filter to display tasks.</p> +...