search for: say_control

Displaying 8 results from an estimated 8 matches for "say_control".

Did you mean: mac_control
2005 Dec 22
11
first day using rails
Hi - this is my first day with Ruby on Rails. I''m starting out by working through the Helloworld (Hello Ruby) example program printed up in "Agile Web Development with Rails." My steps are as in the text: 1. ruby script/generate controller Say 2. edit the proper file and add the hello method 3. fire up the browser using address http://localhost:3000 4. fire up the
2007 Mar 02
5
ActionController::RoutingError
plz give me the solution to solve the below error ActionController::RoutingError ActionController::RoutingError in Issues#new Showing app/views/issues/_issue.rhtml where line #1 raised: issue_url failed to generate from {:controller=>"issues", :action=>"show", :id=>nil}, expected: {:controller=>"issues", :action=>"show"}, diff:
2008 Sep 09
2
MissingSourceFile error
I created a rails application by "rails demo" command and generated a controller "script/generate controller Say". Then I created a file in app/view/say/hello.html.erb. I added a method "hello" in app/controllers/say_controller.rb. From a browser to access the link "http://localhost:3000/say/hello, I got this error: MissingSourceFile in SayController#index no such file to load -- sqlite3 What''s wrong with my application? Did I forget anything? -- Posted via http://www.ruby-forum.com/. --~--~---------...
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick says What could it be? Thanks for the help ;) => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2007-09-10 13:30:26] INFO WEBrick 1.3.1 [2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux] [2007-09-10 13:30:26] INFO
2006 Feb 20
3
Caching of classes non working or Howto?
...rails and postgres. rails xyz creates a nice rails application, with its directory and ruby script/server runs webrick nicely and lets me see the page on localhost:3000. I went with some tutorial to create a Hello page showing the time and a Bye-Link to link to an Bye page. cat app/controller/say_controller.rb class SayController < ApplicationController def hello @time = Time.now end def goodbye end end cat app/views/say/hello.rhtml <html> <head> <title>Hello Philipp</title> </head> <body> <b1>Hello from Rails</...
2009 Mar 17
3
Getting Error
...e aboard You’re riding Ruby on Rails!" message. This much is working fine. Then I did this. --------------------------------------------------------------- demo> ruby script/generate controller Say -------------------------------------------------------------- And I edited app/controllers/say_controller.rb as given. ---------------------------------------------------------------- class SayController < ApplicationController def hello end end ---------------------------------------------------------- Now when I open http://localhost:3000/say/hello in my browser, I get an error message -------...
2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked well so far but on (book not pdf) page 32 I don''t get the "Template Is Missing" error. I get Routing Error Cannot load config/routes.rb: No such file to load -- ./demo/script/../config/../config/routes.rb There is a file at e:\ruby\ror\work\demo\config\routes.rb It''s all greek to me and
2006 Jun 24
6
apache2 on red hat linux need help anyone
...lic/say/hello.html/hello -> say/hello.html/hello And it fails when it doesn''t find this file: /var/www/rails/demo/public/say/hello.html'' pattern=''!-f'' => matched However, my "say" controller is located here: /var/www/rails/demo/app/controllers/say_controller.rb Here is the output of the rewrite log. Something is not write here: ------------------------------------------------------------------- 68.111.180.250 - - [24/Jun/2006:02:22:29 --0700] [71.159.224.53/sid#81d3230][rid#81e2a98/initial] (2) init rewrite engine with requested uri /say/hello...