'Learn Ruby on Rails' is free today
learn-rails.com
learn-rails.com
When I started, I had limited knowledge of HTML and almost no experience with CSS, Javascript, SQL or HTTP. I felt bombarded going through Michael Hartl's book (ruby.railstutorial.org), for example, trying to pick up all the concepts mentioned above plus the ideas of Unit Testing, ActiveRecord, the MVC paradigm, Rake, GIT, Migrations, layouts, partials and UNIX, to name a few. Nothing was sticking.
After now learning some programming fundamentals through an awesome Coursera course, learning C++ and Python to make small game mechanic, digging into PHP and launching a few fun websites, building a few projects with raw HTML and CSS while having lots of fun with jQuery and Javascript I feel I am ready for and can appreciate Rails. I'm now approximately 4-6 months from launching my first commercial product and this book will be perfect for my current purposes. I'm 25 pages in and can say that I love it's narrow focus (not including unit tests, for example) and also it's thorough explanation of all core concepts. I've backed the Kickstarter and can't to keep learning! Sorry for the long post HN! Long time lurker, big fan.
I haven't checked out this book yet, and I suspect I probably won't get a huge amount out of it since I am comfortable digging into source code of whatever tech to understand libraries. I do think more good resources for learning web development is a plus though, so thanks to the author for making this available for free!
http://learn-rails.com/name-the-cat.html
You can suggest a name for the cat until the Kickstarter campaign ends, Saturday at 5pm Pacific Time.
I'm experimenting with hybrid learning of both doing "learning by doing" by doing projects and "learning by the textbook" by getting the foundational ideas behind Ruby and Rails, and seeing if there is a benefit to combining these two systems, for my own purposes of learning languages and learning in general, and to have something to say to the many friends that I have that want to learn Rails :)
This looks like a pretty comprehensive beginner doc, so thanks for that! Backed it on KS.
I'm using Rails for a few years now and I still have problems to figure out where to start when I have to explain it to somebody who doesn't know anything about it.
Many books just throw their readers into a topic. This causes a lot of confusion early on, which will (hopefully) be reduced while reading the book. I don't like that approach very much.
I think, this book here does it the right way: It first explains the web and by which technologies it is driven. Then it tells how Rails fits into the picture.
What I also really like are the short explanations of user stories, software development methodologies and agile methodologies. I think it is important that new developers have at least heard about those topics even though they may not know how to use them in the beginning.
Good work!
The book is really good and 100% worth reading if you're new to rails. I hope the author gets his money from kickstarter because he deserves it.
I think it's awesome that Daniel opened up for people to download the ebook for free. I don't mind the $18 that I ponied up because I believe the value I've received is far beyond that.
http://www.kickstarter.com/projects/1397300529/railsapp
https://github.com/tokaido/tokaidoapp
http://railsapps.github.io/rubyonrails-nitrous-io.html
Nitrous.io is a great way for any beginner to get started, especially for those using Windows.
Will you consider writing another book in the same spirit as this one (for beginners & kept up-to-date) for rails with TDD?
* Aaron Sumner, "Everyday Rails Testing with RSpec" https://leanpub.com/everydayrailsrspec
* Noel Rappin, "Rails Test Prescriptions" http://pragprog.com/book/nrtest/rails-test-prescriptions
* Chelimsky and friends, "The RSpec Book" http://pragprog.com/book/achbd/the-rspec-book
Other resources? How did you learn TDD for Rails?
I use Python/Django and thinking of learning Rails, preferably with TDD. Thanks for the list, I'm sure it will be useful!
PS. I backed your campaign.
A lot of the useful information on testing comes from figuring out how to do certain things that are very specific to the testing lib you use.
Git repositories, test driven development, etc are all things a beginner doesn't care about and doesn't really need to know about when starting out.
I can't think of anyone I've taught git to who didnt see how powerful and easy it makes life.
It introduces way too much for a pure beginner who knows little-to-no programming trying to get started. That said, I really don't think someone brand new to coding should learn RoR straight away.
1) After working on the book for six months, I'd like to be able to follow up and ask you to contribute to the Kickstarter campaign if you like the book.
2) You are downloading an advance edition of a book that contains code that is likely to change. Within the next week or two, I will release an updated version. I'd like to be able to notify you when the update is available.
3) I am only giving the book away for free for one day, to promote the Kickstarter campaign. If you are willing to provide your email address in exchange for a free copy of the book I am grateful. If you are not, Michael Hartl offers an excellent introduction to Rails that does not require registration or an email address:
The "Get the Book" page does not explain any of this, and left me puzzled as to what I was creating an account for.
Great books which do not need registration based shilling techniques for your hacking careers:
https://mitpress.mit.edu/sicp/full-text/book/book.html
http://www.paulgraham.com/onlisp.html
https://gustavus.edu/+max/concrete-abstractions.html
https://www.cs.cmu.edu/~dst/LispBook/
Open and Free FTW!
Stay classy, HN.
Dan, if you are reading this I wanted to say how much I appreciate this book. I've recently decided I am going to learn Rails after years of using and abusing PHP, I want to learn something more substantial and this is good timing for me. Where I can, I will offer you my support.
Not sure if it will still be freely downloadable by then though.
This is why we can't have nice things.
Deleted comment