Displaying 3 results from an estimated 3 matches for "creation_perso".
2006 Apr 03
3
[newbi] Problem Routes
...ap.connect '':controller/:action/:id''
end
and deleted index.html. I launch my browser
http://localhost:3000/
i have this error message
NameError in <controller not set>#<action not set>
uninitialized constant NoteController
RAILS_ROOT: /Users/bolomichelin/Documents/Creation_Perso/Developement/monApp/public/../config/..
Application Trace | Framework Trace | Full Trace
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing''
/Applications/Loco...
2006 Mar 31
14
[newbi] Create a Model
Hello All,
Yesterday i put RoR with Locomotive. I am very happy :p.
So I follow this tuto
(http://developer.apple.com/tools/rubyonrails.html). I used Sqlite.
my database.yml
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem install mysql -- --include=/usr/local/lib)
# And be sure to use new-style password
2006 Aug 14
1
NoMethodError
...here line #5 raised:
undefined method `product'' for 5.0:Float
Extracted source (around line #5):
2: <table>
3: <%
4: for item in @items
5: product = item.product
6: %>
7: <tr>
8: <td><%= item.quantity %></td>
RAILS_ROOT:
/Users/bolomichelin/Documents/Creation_Perso/Developement
/depot/public/../config/..
But when i test this code, it''s working
<%= @items.size %>
Can u help me ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060814/41a77657/atta...