Recent Posts by John Fiala
|
Feb 7, 2008
John Fiala
5 posts
|
Topic: Rails for PHP Developers / What version of Rails is used It’s the version 2.0 – I was able to follow the book quite well using the latest and greatest rails gems. |
|
Jan 7, 2008
John Fiala
5 posts
|
Topic: Rails for PHP Developers / User authentication unit test? How do I submit them to the page? I went to the link you provided, and although I see a lot of errata I can read, I don’t see anyway to add information? |
|
Jan 6, 2008
John Fiala
5 posts
|
Topic: Rails for PHP Developers / User authentication unit test? Here’s another odd bit in the User part of the user_group app. In the initial listing for the UserController on page 179/180, you include the find_user code and the before_filter statement… and then later on 187 in the text you explain how you need to add that code to the class. |
|
Jan 6, 2008
John Fiala
5 posts
|
Topic: Rails for PHP Developers / Example application in Ch.1 Actually, I’m using Kubuntu 7.10, and I ran into the same problem when I created my Users controller. I was really wondering what was going on, and on a whim restarted WEBrick – at which point things started to work again. |
|
Jan 6, 2008
John Fiala
5 posts
|
Topic: Rails for PHP Developers / User authentication unit test? Hey. I’m looking at page 186 of the latest version, and it’s telling me I should write a test for test_should_authenticate_user. I did my best, but looking at the tests in the final version, it looks like you’re expecting me to use User.authenticate – but by this point in the book we haven’t gone over adding the authenticate method – that seems to be on page… 199, it seems. BTW: Really enjoying this book. Oh! And when I go into my tests, they say they’re ActiveSupport::TestCase, not Test::Unit::TestCase – but they work the same way so far, so that’s not a big thing for me. John |
5 posts
