search for: saycontrol

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

Did you mean: camcontrol
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 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
2008 Sep 09
2
MissingSourceFile error
...ed 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/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rail...
2006 Feb 20
3
Caching of classes non working or Howto?
...ls 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</b1> <p>...
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:
2006 Jan 16
3
Newbie hitting a wall on first project, help, please!
...pment with Rails book... I did the first project fine, generated a controller (Say) with a method (Hello) and an rhtml file (hello.rhtml) and everything works as expected until I try to add a local variable and access it from the rhtml file... What am I doing wrong? The controller code: class SayController < ApplicationController def Hello @time = Time.now end end The hello.rhtml code: <html> <head><title>Hello World!</title> </head> <body>Hello World! the time is <%= @time %></body> </html> The output: Hello World! the time is There&...
2009 Mar 17
3
Getting Error
...-------------------------------------------------------------- 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 ----------------------------------------------------------------- We''re sorry, but something wen...
2008 Nov 02
1
ROR Ubuntu 8.10: Action Controller: Exception caught
...Edition Issue: (pleas help) I''m creating a simple hello world application as defined on pages 36-40. Generating controller called ''Say''. How to I fix issue below? it returns this error rather then what is supposed to happen according to the book: MissingSourceFile in SayController#hello no such file to load -- sqlite3 RAILS_ROOT: /home/adam/R0R/demo Application Trace | Framework Trace | Full Trace /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require''...