Displaying 6 results from an estimated 6 matches for "xnnktkwhbdgjk7y7tuq".
2009 Sep 27
3
Newbie Trouble with RubyOnRails Bible
Hello all,
I am new to RoR and am working my way through Timothy Fisher''s Ruby On Rails
Bible. I''m stuck on page 81. I have followed the steps leading to this page,
i.e.
cd rails_projects
rails contactlist
<creates all the directories>
ruby script/server webrick
<shows the Welcome Aboard page>
open a cmd window and run mysql: create database contactlist_development;
2008 Apr 25
2
Can't Understand Why This Works
I have 3 methods:
def add_to_cart
# do some stuff
redirect_to_index
end
def empty_cart
# do some stuff
redirect_to_index("your cart was emptied")
end
def redirect_to_index(msg = nil)
flash[:notice] = msg if msg
redirect_to :action => :index
end
How come the flash notice works if I''m setting msg = nil? For example,
if I''m in empty_cart and pass
2006 Nov 17
8
Basic search, quick question
Hi, I know there are other threads about this topic, but I''ve checked
and none seem to help my problem.
I''m trying to get a simple search to work on my Rails app, but I get a
"Couldn''t find Recipe without an ID" error when I search. Here''s what I
have:
list.rhtml
<%= start_form_tag :action => ''find_recipes'' %>
2008 Apr 29
10
Better way to remove value from list??
I''ve got a field in a database that contains a string of ids.
I want to be able to remove an item from that list and save the list
again. The only way I saw how to do this was to convert it to an array
and back to a string again.
The variable names are for an example.
This code works, but I don''t think that it''s efficient. It''s all in my
controller.
2008 Jun 07
0
[ANN/ADV] "Advancing With Rails", July 21-24, Edison NJ
Hi everyone --
I''m very pleased to announce the following upcoming training course:
ADVANCING WITH RAILS
July 21-24
Edison, NJ
"Advancing With Rails" is a course for intermediate Rails programmers
who want to get to the next level with both their Ruby knowledge and
their Rails skillset. Topics include routing and REST, advanced
ActiveRecord associations, caching,
2008 Oct 29
0
[ANN/ADV] Intro and Advanced Rails training in Florida in January
Hi everyone --
My .sig has said so for a while, but I thought I would directly
announce two Rails training courses from Ruby Power and Light, coming
up in Florida in January, both in Fort Lauderdaler
Intro to Ruby on Rails, January 12-15
Advancing with Rails, January 19-22
I''m teaching "Intro", and "Advancing" will be co-taught by me and
Patrick Ewing. The