Recent activity
Subscribe to this feed
David Heller asked a question in Ruby on Rails Tutorial on March 06, 2010 14:32:
Section 5.3 /users/1/edit doesn't seem to workSection 5.3: Page 171: "The one additional resource line in Listing 5.25 doesn’t just add a working /users/1 URL; it endows our sample application with all the actions needed for a RESTful user resource (Table 5.2). " At this point should /users/1/edit work? For me I get "Unknown action
No action responded to edit. Actions: new and show"
David Heller asked a question in Ruby on Rails Tutorial on March 04, 2010 04:35:
Are we creating 'app/views/users/show.html.erb'?Are we creating 'app/views/users/show.html.erb' as discussed in section 5.3.2 or should it already exist through some previous action?
David Heller replied on March 04, 2010 03:13 to the question "typo in 5.2?" in Ruby on Rails Tutorial:
David Heller reported a problem in Ruby on Rails Tutorial on March 02, 2010 03:34:
typo section 5.1, pg 139?typo section 5.1, pg 139 "The use of self in self.up identifies is as a class method."
'is' should be 'this'?
David Heller replied on February 23, 2010 01:50 to the question "Chapter 4: RegEx test continues to fail" in Ruby on Rails Tutorial:
David Heller asked a question in Ruby on Rails Tutorial on February 23, 2010 01:39:
Chapter 4: RegEx test continues to failChapter 4: when I test the signup page title
class UsersController < ApplicationController
def new
@title = "Sign Up"
end
end
I continue to get a failure.
'UsersController GET 'new' should have the right title' FAILED
expected but was
<"Ruby on Rails Tutorial Sample App | Sign Up">.
is not true.
The regex doesn't seem to be treated as one in:
require 'spec_helper'
describe UsersController do
integrate_views
describe "GET 'new'" do
it "should be successful" do
get 'new'
response.should be_success
end
it "should have the right title" do
get 'new'
response.should have_tag("title", /Sign up/ )
end
end
end
Any guidance on what I am doing incorrectly is appreciated!
David Heller marked one of Rails Tutorial's replies in Ruby on Rails Tutorial as useful. Rails Tutorial replied to the question "ApplicationHelper not impacting title".
David Heller replied on February 19, 2010 06:17 to the question "ApplicationHelper not impacting title" in Ruby on Rails Tutorial:
David Heller asked a question in Ruby on Rails Tutorial on February 08, 2010 12:06:
ApplicationHelper not impacting titleIt doesn't appear that the app/helpers/application_helper.rb file is having any impact after making the changes in 3.1.1. After making the change in Listing 3.3, only the @title variable is displaying: "Home", "Contact", "Help" or "About" depending on the page. If I comment out the @title on pages_controller than the url is displayed in the title.
I have poured over the code several times looking for typos and haven't found anything.
Any suggestions?
David Heller replied on February 07, 2010 17:24 to the problem "Routing error, Listing 2.2, static pages" in Ruby on Rails Tutorial:
I just ran into this problem and restarted the server, looked in the routes.rb file, googled the error and didn't find anything. The I realized I was just putting http://localhost:3000/about instead of http://localhost:3000/pages/about
That was 25 minutes, but a mistake I won't make again!
David Heller reported a problem in Ruby on Rails Tutorial on February 07, 2010 17:14:
Section 2.4 heroku pushIn the section at the end of 2.4 there is a step to push the update to Heroku. The command is
$ git push heroku
that didn't work for me but this did.
$ git push heroku master
Should it have worked without 'master' or is that required?
David Heller marked one of Rails Tutorial's replies in Ruby on Rails Tutorial as useful. Rails Tutorial replied to the problem "typo in section 1.2 of the PDF".
David Heller reported a problem in Ruby on Rails Tutorial on February 05, 2010 14:10:
typo in section 1.2 of the PDFtypo in section 1.2 of the PDF: "we’ll run a local development web sever"
David Heller replied on February 05, 2010 14:05 to the question "A good place for feedback?" in Ruby on Rails Tutorial:
Loading Profile...



