Live data from Hacker News

The Ruby on Rails Tutorial, 2nd Edition (full draft)

ruby.railstutorial.org

31–40 of 48 posts

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#32

Not sure if you are aware of this...for the first edition of your tutorial, webrat is required for many of the tests (I tested on ubuntu/windows), but inclusion of webrat will actually break some of the new tests (like those using have_selector) in the second edition. You might want to add a warning to those who have followed the first edition and are trying to incorporate the additions in the second edition.

The 2nd edition explicitly uses Capybara instead of Webrat. As long as people pay attention to their Gemfiles, they should be fine.

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#35
post #33

this tutorial is the best tutorial I have ever read, thank you for your work. I recommended it to a lot of people. I actually think bootstrap is a good idea but might result in a distraction since it is a big framework.

Yes it's definitely great! Was able to build my first rails-based administration crud app in two weeks, with tests, by following this book!

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#36
post #12
post #10

Earlier quoted context omitted.

What's the developer version? I was thinking about using the less-rails-bootstrap gem.

I can't speak for everyone, but I know quite a few who prefer the SASS port over less-bootstrap-rails (bootstrap-sass)

Which SASS port do you prefer ? https://github.com/thomas-mcdonald/bootstrap-sass or https://github.com/yabawock/bootstrap-sass-rails

Thanks in advance!

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#37
So far really liking the tutorial. Just one thing, as a rails newbie, could you expand a little more on the deploying part of section 1, specifically giving an example of deploying NOT using heroku.

It's just I want to be deploying to just a generic server running rails and I want to know how the process is different. I know you have to set the ENV to production but at what stage of the process does this happen etc...

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#38
post #12

Earlier quoted context omitted.

I can't speak for everyone, but I know quite a few who prefer the SASS port over less-bootstrap-rails (bootstrap-sass)

Which SASS port do you prefer ? https://github.com/thomas-mcdonald/bootstrap-sass or https://github.com/yabawock/bootstrap-sass-rails Thanks in advance!

bootstrap-sass most definitely. Support for Bootstrap 2.0 was included very quickly (there was a development branch even before the main release)

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#39

So far really liking the tutorial. Just one thing, as a rails newbie, could you expand a little more on the deploying part of section 1, specifically giving an example of deploying NOT using heroku. It's just I want to be deploying to just a generic server running rails and I want to know how the process is different. I know you have to set the ENV to production but at what stage of the process does this happen etc..…

Check out the Capistrano docs at https://github.com/capistrano/capistrano/wiki which are pretty comprehensive for getting started with Rails deployment.

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#40
Rails Tutorial was my first step in developing. It was extremely helpful and I used both the book and screen casts which helped me alot. For a complete newb it was a bit overwhelming but I was still able to follow along and eventually get the sample app live. Now I am trying to learn more pure ruby and going back through the tutorial and learning even more. Thanks again Michael this has been by far the best resource I have used so far.
Post reply on HN