search for: note_id

Displaying 11 results from an estimated 11 matches for "note_id".

Did you mean: node_id
2007 Sep 14
2
Testing nested controller
...testing a nested controller. I''m trying to make a request using get and afterwards checking the response by response.should ... My routes.rb looks like this: map.resources :writers do |writers| writers.resources :notes end In my notes_controller_spec.rb def do_get writer_id = 1 note_id = 1 get note_path(writer_id, note_id) end it "should show a note" do do_get response.should be_success end But this always ends in an error message: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.rewrite Can anybody help here??...
2006 Apr 07
4
How to generate mapping with migration
...gration mechanism. ruby script\generate migration add_categories_notes_mapping and filled the migration file with: class AddNotesCategoriesMapping < ActiveRecord::Migration def self.up create_table :categories_notes do |t| t.column :category_id, :integer, :null=>false t.column :note_id, :integer, :null=>false end end def self.down drop_table :categories_notes end end Now, I''d like to define both fields as primary key, but after I read the API documentation, I''ll wonder how I could pass to parameters to the :primary parameter of create_table....
2007 Sep 14
2
Testing a nested controller
...on testing a nested controller. I''m trying to make a request using get and afterwards checking the response by response.should ... My routes.rb looks like this: map.resources :writers do |writers| writers.resources :notes end In my notes_controller_spec.rb def do_get writer_id = 1 note_id = 1 get note_path(writer_id, note_id) end it "should show a note" do do_get response.should be_success end But this always ends in an error message: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.rewrite Can anybody help here?? --...
2009 Feb 09
3
Michael Graves post
Michael Grave just posted a question about surround conferences. http://www.facebook.com/notes.php?id=564633430#/note.php?note_id=5009726 3908&id=564633430&index=0 I didn't see it posted on the ast-list, what do you think? Does something like this have potential? I'd love to listen in on one of these calls to see how it actually sounds if someone builds a trial version of 'N' deviations....
2006 Feb 20
1
belongs_to, has_one, has_many question (again?)
...design and normalization, I also know about programming in general (and OOP for that matter). Only thing I can say is that I''m following the "Four days on Rails" tutorial by John McCreesh. He writes on Items and Notes (for his Todo example). The items table has a key to the note_id. However (and this in particular I''m trying to understand), the Models which accompany the tables (item & note) are like: class Item class Note belongs_to: note # nothing here really . . . . end...
2007 Apr 19
1
Use of Markdown Extra in a forum
from : benoit at transmekong.com to : markdown-discuss at six.pairlist.net Subj.: Use of Markdown Extra in a forum Date : Apr 19th 2007, 15:24:25 (GMT+7) Dear all, I have tried to implement PHP Markdown Extra in a forum (PunBB) and found that however well each message is translated, there are collisions when different messages in the same page have the same inside link names (footnotes, title
2010 Dec 30
2
Curso de R en Santiago, Chile. Gratis!
...adistica y/o Epidemiologia. Usando las redes sociales como facebook podemos. Muy atento a sus comentarios, me despido. José Bustos Bioestadistico Escuela de Enfermeria Pontificia Universidad Católica de Chile Celular 95939144 http://www.facebook.com/?sk=messages&tid=1248634633579#!/note.php?note_id=475603118010&id=49677888734 [[alternative HTML version deleted]]
2006 Dec 29
3
Revised 2005 proposal for meta-data
Hello to all! This is the revised 2005 proposal for meta-data, much more in detail: http://maruku.rubyforge.org/proposal.md http://maruku.rubyforge.org/proposal.html http://maruku.rubyforge.org/proposal.pdf I wait for comments. At the end of the document, there are some open issues. And I need a regexp wizard to look over the "grammar" section. Cheers, -- Andrea Censi
2010 Dec 30
0
Curso de R en Santiago, Chile
...adistica y/o Epidemiologia. Usando las redes sociales como facebook podemos. Muy atento a sus comentarios, me despido. José Bustos Bioestadistico Escuela de Enfermeria Pontificia Universidad Católica de Chile Celular 95939144 http://www.facebook.com/?sk=messages&tid=1248634633579#!/note.php?note_id=475603118010&id=49677888734 [[alternative HTML version deleted]]
2011 Mar 03
3
Mac / NFS problems
Hello, Were having issues with macs writing to our gluster system. Gluster vol info at end. On a mac, if I make a file in the shell I get the following message: smoke:hunter david$ echo hello > test -bash: test: Operation not permitted And the file is made but is zero size. smoke:hunter david$ ls -l test -rw-r--r-- 1 david realise 0 Mar 3 08:44 test glusterfs/nfslog logs thus:
2006 Mar 04
10
Help setting up relationships needed
This is a bit of a long question, but to those of you with some experience, it should be fairly simple I think. I have a notes page that should list all notes the user has entered for all books chronologically like this. Book One: This is the note. Book Four: This is the note. Book One: A different note, entered later. Right now my models are: User has_many :books Book has_many