similar to: .build method

Displaying 20 results from an estimated 500 matches similar to: ".build method"

2006 May 10
9
noobie activerecord find query
In my webapp a todolist has many todo items. I am trying to display lists that are completed. By incomplete I mean that all the items in that list are done (booolean = true). I hope to have a list of active lists and complete lists on one page. I''m no ruby expert by any means so I think I have to ''pipe'' some results into another query?? Can you help please? -- Posted
2011 Nov 30
1
wine-users Digest, Vol 76, Issue 79
On 11/30/2011 07:35 PM, wine-users-request at winehq.org wrote: > [...] > 6. Re: Using todolist (abstract spoon) from ubuntu 11.10 ? > (vitamin) > [...] > 9. Re: Using todolist (abstract spoon) from ubuntu 11.10 ? > (talgalili) > [...] > 16. Re: Using todolist (abstract spoon) from ubuntu 11.10 ? > (James McKenzie) > > >
2011 Nov 19
2
Using todolist (abstract spoon) from ubuntu 11.10 ?
Hello all, I wish to run todolist 6.3.8 (http://www.codeproject.com/KB/applications/todolist2.aspx) on ubuntu 11.10. I have installed the latest wine and winetricks. I have tried running: http://www.codeproject.com/KB/applications/todolist2.aspx winetricks vcrun2005 winetricks vcrun2008 winetricks vcrun6 Which installed all of the components. When I went to run todolist.exe, it started fine
2011 Dec 09
1
Re: Using Todolist (abstract spoon) from Ubuntu 11.10
On 12/09/2011 06:52 PM, wine-users-request at winehq.org wrote: > [...] > 11. Re: Using Todolist (abstract spoon) from Ubuntu 11.10 (DanKegel) > [...] > Message: 8 > Date: Thu, 08 Dec 2011 21:43:52 -0600 > From: "DanKegel"<wineforum-user at winehq.org> > To: wine-users at winehq.org > Subject: [Wine] Re: Using Todolist (abstract spoon) from Ubuntu
2005 Nov 25
2
acts_as_list with 2 fields in the scope
Hi Railers, I''ve got a Categories table. I want it to act as a list within the scope of the parent_id AND the site_id. Categories table : id label site_id parent_id So, in my Category class, I have : acts_as_list :scope => ''site_id = #{site_id} AND parent_id = # {parent_id}'' The problem is that when I try to move_up a Category with a parent_id that is null,
2006 Mar 06
5
Question about file_column plugin
Hi! File_column plugin saves uploaded files to "public/model/image/model_id/filename", if i understand it correctly. Does it mean that it creates new folder for every image? I have product (model) that has_many images (model). Is it possible to use (or modify) this plugin that it would save my images to different folder, so the id of the model_id part would be id of the product
2006 May 09
6
To Do list project?
I''m looking for a good web-based to do list app. Essentially, I''d like to use Basecamp''s todo management system, but that''s not an option since I can''t install Basecamp on a server I own. The information being tracked in the list cannot be sent out of my intranet. I would imagine that there are a couple of open source rails apps that would meet my
2006 Nov 29
5
Collection_select with two columns and a prompt
Hello, I am quite a newbie to RoR, I hope you maybe able to help. I have a collection_select in a _form.rhtml: "collection_select(:assets, :model_id, @models, :id, :model_ref,options={:prompt => ''- Select a model -''})" As you see my drop down menu will show the model_ref column. 1) Is it possible to have more than one column. For example I would like to
2011 Nov 21
0
Issues in running Abstractspoon todo list
Hello, Please can someone help me get abstractspoon's todo list (ver 6.3.8) to run under kubuntu. I have: wine1.3 (& related libraries/apps), winetricks and the vcruntime libraries that I got with the script below: |wgethttp://winetricks.org/winetricks EXE="winetricks" chmod +x $EXE $EXE vcrun2005 $EXE vcrun2008 rinka at Rinka:~$ uname -a Linux Rinka 3.0.0-13-generic
2020 Mar 11
2
XCore target
Hello all. At XMOS we are working towards updating the upstream XCore backend for newer versions of the chip. XCore is the XMOS processor. The XCore backend was written by Richard Osborne at XMOS. Richard has moved on. The current code owner in CODE_OWNERS.TXT, Robert Lytton, has also moved on. For some years XMOS has developed the compiler in-house, for new versions of the chip, but not
2009 Apr 24
1
RoR - getting started with database relations
Hey everyone... I''m just getting my feet wet with relational databases using RoR models. The software I''m putting together relies on car parts. Originally I had the database set up as follows create_table :parts do |t| t.column :year, :string t.column :make, :string t.column :model, :string . . . end However, I now realize it''s much better to do it using
2006 Jan 17
5
simple question
How do I pass parameters from one controller to another during redirect_to command? I want to pass both model and non-model objects. The solution I use is via session, but I rather pass it as parameters to the redirect_to Thanks. -- Posted via http://www.ruby-forum.com/.
2008 Jan 21
7
undefined method error
Hello everyone, I am following the Practical Rails: Social Networking sites book. In chapter 7 photo gallery I am getting a NoMethodError in Pages#show Showing layouts/_menu.rhtml where line #12 raised: undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c> Extracted source (around line #12): 9: <% if is_logged_in? %> 10:
2007 Dec 10
10
Reading Hash/Array
Hi all, My app is generating a form with several bill_items that should be updated (fields to be updated are description and net). The text_field_tag names are bill_item[update][#{id}][description] and bill_item[update][#{id}][net] (and I added bill_item[update][#{id}] [id] just in case) The param received is: {"commit"=>"Save",
2007 Sep 19
3
Create method calling wrong column name in a table
I have a multitable database with an observer logging changes into a datachange table. The create method inserts the data into the data change table, updates my model, and then trys to load from the datachange table. When it does this it WHERE clause that is generated for me is looking for a column model_id which I dont have. I don''t want to even have a field because this table will be
2006 Mar 22
3
Parent-Child Tables Help
can someone help me with this i have a table cars ( id int model_id int make_id int color_id int description text constraint fk_cars_carmake foreign key(make_id) references carmakes(id), constraint fk_cars_carmodel foreign key(model_id) references carmodels(id), constraint fk_cars_color foreign key(color_id) references colors(id) ) carmakes ( id int carmake varchar ) carmodels ( id
2012 Aug 08
1
Creating ToDo List App
Hi, New Rails user here trying to create a basic todolist app in rails 3.2.6 and running into some foreign key issues. Here''s what I did... I generated scaffolds list title:string & task description:text listname:string Next, in order to link the listname for Tasks and the list titles in the Lists I generated a migration file which looks like this class AddListIdToTasks <
2008 Jul 22
2
ActiveRecord Associations issue
Hello all and thank you for reading this message. I am new to RoR, and ruby too, but i am quite excited about it. I am developing a RoR project and with active record associations in the following manner # Tables (all tables have only one record) CREATE TABLE `webcars_development`.`cars` ( `id` int(11) NOT NULL auto_increment, `model_id` int(11) NOT NULL default ''0'',
2008 May 26
5
Noob SASS error (permission denied)
I just created the sass directory in my stylesheets directory and when I reload my page I get this error: Status: 500 Internal Server Error Permission denied - /Users/Justin/kicksite/trunk/public/ stylesheets/ application.css /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in
2008 Mar 01
12
Coding Contribution
Howdy, I am a C and C++ programmer -- how can I start helping with some basic coding for wine? Thanks, Will