search for: bookscontroller

Displaying 5 results from an estimated 5 matches for "bookscontroller".

Did you mean: bookcontroller
2008 Dec 20
4
uninitialized constant BooksController::Books
hi new to rails ... wat does it means... uninitialized constant BooksController::Books /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in `const_missing'' app/controllers/books_controller.rb:5:in `index'' -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this me...
2010 Mar 29
6
Updating records
So I would like to be able to update a record without having to load the edit page. Lets use checking out a book as an example. From the front page of my application I would like to be able to have a form field where I can enter a record id and select one of a couple of check boxes and then hit submit which will update the associated record with the action selected by the check box (check out,
2008 Mar 23
1
Object creation when the controller is a subclass of AdminController
I''ve finally determined that the best way to handle administration of a model that displays publicly but is administered privately is through subclassing but I''ve run in to pathing issues (I think) when trying to create an instance of my model. Let''s say I have a Book, and BookController is a sublcass of AdminController so that I can create and delete Books via an Admin
2006 Feb 25
0
neverending i2/lighttpd problems
...n.com/essay/2005/12/railsonlighty I am able to load things from the database via .script/console, and I have setup i2 according to the readme included so there is the initial wiki record. Stack trace below from production.log, I''m not sure which exception is the real problem: Processing BooksController#premiere (for 12.21.94.10 at 2006-02-25 02:47:37) [GET ] Parameters: {"action"=>"premiere", "controller"=>"books"} ArgumentError (Unknown key(s): condition): /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core _ext/hash...
2006 Dec 24
6
What do you think of this controller spec?
Here''s a controller spec I wrote, it''s for a very simple RESTful controller (well, aren''t all RESTful controllers simple? :) I''ve created a couple spec helper methods to refactor some of the common code...for example, require_login_and_correct_user creates two specifications: one for when the user isn''t logged in, and one when the user is logged in but