Live data from Hacker News

The Ruby on Rails Tutorial, now with Twitter's Bootstrap

news.railstutorial.org

21–30 of 58 posts

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#23

Woohoo. Great timing. Just started re-doing this to learn 3.2. Do you inject bootstrap into the app or use Seyhunak's twitter-bootstrap-rails gem?

It's using my bootstrap-sass gem. [1] [1]: https://github.com/thomas-mcdonald/bootstrap-sass

Thanks Thomas! Used your gem in a project recently when we migrated an older app from a Theme Forest layout to Twitter Bootstrap. It wasn't immediately obvious which gem was the best, since it looks like a few people set out to do the same thing, but yours was the only one that was up-to-date and easy to install. We've also been getting great mileage from rails_admin, which uses your gem as well. Thanks for doing this and sticking with it!

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#24
I think Rails 3 has laid a good foundation to build next generation of web applications, or back end of web apps. With introduction of Asset Pipeline and built-in support of CoffeeScript/Sass etc, it is a lot easier to develop in Rails than before. The performance is still not ideal though.

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#25
Developers moaning about Bootstrap have fallen into the common trap of seeing apps through developers' eyes.

Please consider that: 1. Almost no one in the world has heard of Bootstrap. Though it's captured our mindshare as developers, most of our users will not know nor care if the app is Bootstrap or not. 2. The vast majority of web apps still will not be Bootstrap apps.

Basically none of the general public will say "Hey, this is a Bootstrap'ed application, I'm not using it." They just do not know nor care what Bootstrap is. If it looks professional and works as they expect, they will be happy. If they're happy, I'm happy.

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#26
post #5

This is why I stick with Rails; for the mindshare. There are many reasons to be critical of Rails, but the bottom line is that other people generously contribute work like this on a regular basis, making me instantly more valuable to employers or clients.

This is a good point, and it's one of the main reasons I prefer open source in general: this is true for almost all fairly active open source projects. However, I'm not sure how this differentiates Rails from some of the other popular web frameworks.

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#27
post #13

Interested in the rationale to choose bootstrap-sass over bootstrap-less. I chose the latter, though can't say I know enough about the divide to feel strongly one way or the other. It works well enough.

http://wrangl.com/sass-v-less Particularly: sass == Ruby. less == JavaScript. I'm not saying that's good or bad, but it's probably "why".

Sure, I guess that simplifies things from the tutorial-user's standpoint...I had just wondered about the state of the sass maintainer keeping up with bootstrap updates. Though I'm sure bootstrap changes come infrequently enough that that's not a huge burden (?)

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#28
post #13

Interested in the rationale to choose bootstrap-sass over bootstrap-less. I chose the latter, though can't say I know enough about the divide to feel strongly one way or the other. It works well enough.

Less works well if you're using an architecture that will run node.js, since the recommended way generally seems to be: "change code in .less files, process with some node based javascript processor".

Don't misunderstand - It's not impossible to use less with other non-node.js based systems, but it is a massive PITA. There's a handy gem "less-rails-bootstrap" which wraps twitters bootstrap files and integrates with the Rails asset pipeline, but again, you should avoid this if you're not running on an up-to-date Intel system, since it has a dependency on "therubyracer" gem (which is V8 for ruby).

I have been using SimpLESS a little bit in the recent past, but it does choke on some of the bootstrap less files, and I haven't had the time to fork and rebuild it with a more up to date less library.

I think if I was coming to bootstrap now rather than a few weeks ago, I'd have chosen the sassified version rather than less, but fortunately I have an intel system to abuse, so all is not completely lost.

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#29
I think this tutorial is a treasure. It's a great introduction to the entire rails ecosystem, including TDD, git, heroku, and the like. I went through the 3.0 version a while ago, but so slowly (as in, a chapter every couple of weeks) that I forgot a lot of it. To those like myself, working through this in your off hours, I recommend keeping Anki (or equivalent) open and adding notes as you go.

Re: The Ruby on Rails Tutorial, now with Twitter's Bootstrap

#30

I think this tutorial is a treasure. It's a great introduction to the entire rails ecosystem, including TDD, git, heroku, and the like. I went through the 3.0 version a while ago, but so slowly (as in, a chapter every couple of weeks) that I forgot a lot of it. To those like myself, working through this in your off hours, I recommend keeping Anki (or equivalent) open and adding notes as you go.

I am proud to say it mentions my Ruby on Rails installation guide for Ubuntu and Mint here: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?ve... (the guide itself is here http://www.mirceagoia.com/2011/11/ruby-on-rails-installation... ).
Post reply on HN