As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm working creating rails application and wondered where I can find good
tutorials on how to work with rails.
I used this blog that I thought was great in starting to learn rails:
http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html
I have just started working with rails and would like to learn more advanced rails now.
There are a lot of sources for learn Rails,
railscasts.com/
newwiki.rubyonrails.org/
http://www.ruby-forum.com/forum/3
these are free screencasts and forum, if you want a book I recommend you Rails Way by Obie Fernandez.
Definitely http://guides.rubyonrails.org/
There are also some really good commercial screencasts found here:
http://peepcode.com/
http://envycasts.com/
However, most of the more advanced tutorials are scattered amongst blog posts targeting specific problems or features. I used to have rubycorner.com in my google reader and would monitor it for useful content and subscribe to individual feeds of blogs I found had consistently good content.
Also, Apidock.com has rails, ruby, and rspec documentation in a great user interface along with a lot of useful user comments.
I completely disagree about the Rails Way. That is a good book once you already largely understand rails basics but it really isn't tutorial style. Different strokes for different folks I guess.
My advice is that you should look for a book that is more tutorial oriented and that has been released very recently because rails changes so fast that your book will be out of date in a blink. Pick your own project and follow along the tutorial adapting it for your projects needs. Invariably, unless you are doing something absurdly simple, you will find that the tutorials come up short and you will have to research solutions for yourself but that it the best way to learn.
Be very aware that almost all the tutorials online are out of date. Probably more than half the railscasts are for pre 2.0 rails. Rails Guides are pretty good and uptodate and have even started including notes for differences between versions.
Also get the RSS feeds for sites like Ruby Inside, Ruby Flow and Rails Inside. They are but a few Ruby/Rails blogs, and there are heaps more, but a good start, and a great way to find infor mation you would never have know about. A lot of material is not for the beginner, but don't let that overwhelm you, having alll the info there will pay off and there are some great getting started things on there sometimes that might be just what you are after.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am searching for a set of problems, a book of exercises or challenges for Ruby and/or Ruby on Rails. The resources that I found appear to be offline or outdated. I see recommendations for Ruby Quiz, but the site seems dead. Any help would be much appreciated.
I completed the Ruby series on Codecademy, and am starting with the pickaxe book Programming Ruby 1.9 & 2.0. It's mostly a tutorial book with no exercises or challenged though.
Project Euler is pretty solid (http://projecteuler.net/) as are Ruby Koans (http://rubykoans.com/). You can try "Learn Ruby the Hard Way" as well.
As far as Rails exercises, I'd say "Learn Rails by Example" by Michael Hartl (Which is free and easy to find online).
Start with http://betterexplained.com/articles/starting-ruby-on-rails-what-i-wish-i-knew/
Then you may like using Code Academy and Code School.
Ryan Bates Railscasts are must for anyone learning rails.
Some folks also like the irreverence behind Rails for Zombies
Peepcodes have quite a few including rspec testing
Many have used Michael Hartl's tutorial so if you get stuck there's lots of help available on sites like SO.
Other advice on versions and dates:
For Ruby, use 1.9 (instead of 1.8.x) and don't worry if it's five years old.
For Rails, use 3.1+ and so tutorials need to be from the last 2 years.
An awesome site, on which I am learning regularly is:
http://www.codequizzes.com/
I first began learning on http://rubymonk.com/ , but there are also some other interactive tutorials like http://tryruby.org/ you could try out.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is the Rails for Zombies course on CodeSchool useful?
I am thinking weather it is worth my time, taking it and if it really provides useful resources?
I haven't done any other CodeSchool courses till now. What do you think about the platform? Is it worth paying for other payed courses?
Are there any high quality free online web development courses?
It's meant just to get you excited with the awesome Rails features :)
It will give you the very basics of Ruby and Rails and nothing more.
Actually the framework is much more complicated and time consuming. If you really would like to work with it, that course might be a showcase of some of it's best features.
Anyway it's worth checking it out if you are Ruby or Rails beginner.
The best thing about the current ruby/rails eco-system is there are a multitude of learning resource options out there, and it should't be too hard for anyone to find the ones suited to their needs/aptitude/...
Try out the Rails For Zombies course and a few other CodeSchool courses for free, and decide for yourself if you like them, and want to go for the paid courses.
I am partial to Ruby on Rails Tutorial as the best free resource to learn web development with Rails. The book available for free online. It provides the best introduction to all the concepts & tools involved while working with ruby/rails to build web applications.
RailsCasts - both the free version & the premium version - would be my next recommendation in building up skills.
Take a look at the answers for Best online (free) resources for learning Ruby on Rails? to learn about more alternatives, and pick what works for you.
Quite a few people in the ruby community rave about Why's poignant guide to ruby as one of the best resources to learn ruby, but it didn't work for me. After spending a little time on it, I moved on to Learn to program which turned out to be a perfect fit for my style :-)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm a college student trying to make a web community with friends. Although we are not experienced developers by any means, we have taken courses on JAVA and some web programming languages (PHP, JAVASCRIPT, CSS, HTML).
At this point, we need to decide on a web framework and begin learning. I have narrowed down my list to Ruby on Rails and Codeigniter, but I am really not sure why I should pick one over the other.
Thanks in advance.
Pick the one you want to learn and go with it.
I will personally recommend Rails because:
it teaches you a lot of best practices if you do things the Rails Way™
Ruby is a fun, easy-to-learn, expressive language
the community is really big, enthusiastic, and very helpful
there's great books and tutorials available all over the internet
There is nothing like the good framework. It highly depends on, in no particular order :
your skills
your tastes (Yes, it does matter a lot)
your willingness to learn
technical constraints. Your hosting company may support only Ruby or only PHP
...
I personally had the occasion to develop with CodeIgniter and I pretty much enjoyed it. It is light, well documented and leaves you with a lot of freedom.
I also have a good friend for whom Ruby On Rails is the only framework deserving the name of "framework".
If your project is ambitious, a good idea to make your point could be to make a trivial application like a TODO list with both framework and then pick the one that fits your need.
Hope this helps.
If there is no time constraint (as you need to learn both ruby lang and rails framework) and want to know the best practices, i would recommend RubyonRails.
If you have time constraint, then go ahead with Codeigniter. It is easy to learn and well documented.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I went to an interview early today and it came out that I don't like php.
I was instructed by the 2 wonderful interviewers to consider ruby on rails
They explained a feature that a forum can be created within 15 mins.
My question is does anyone know any good tutorials for anyone who is a complete beginner to ruby on rails?
Any help would be much appreciated.
Thank you
Go straight to http://railsforzombies.org
Very high quality online tutorial.
I did some tutorials online, but didn't really get what I wanted until picking up a couple books. These are my favorites.
Programming Ruby
Agile Web Development with Rails
The Rails Way
The Rspec Book
Getting Started with Rails
Check out The Official Web Page. A few clicks from there lands you at the Online Course
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book is a great resource.
take a look at http://www.buildingwebapps.com/learningrails or http://railscasts.com is a good source of information.
Like NewB said, I'd go with Ruby on Rails Tutorial: Learn Rails by Example (affiliate link if you buy it, you can also read it online for free!). It's a very good introduction for complete beginners to web development, as it mentions git for version control and basic SQL stuff.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Please advice me some really great Ruby on Rails 3 application which i can use like example of best practices in Rails 3. The idea is i want to have the app on my hdd which i can use like reference when i have any questions how to implement some feature. It could be any blog engine, or app like Redmine does not matter but it should have almost all elements/functionality which is used to have any web application. And it should be done by using best practices from Ruby and Rails 3 point of view.
There are definitely many apps on github to learn from. However a lot of solutions are very unique for particular contexts and everyone is always at some stage in their learning. Even in the best apps you should be able to find plenty to disagree with.
Here's a list of a few notable ones.
This is rubygems.org, strong community effort, has a lot of neat practices: https://github.com/rubygems/gemcutter
This project isn't necessarily best practices, but it's so loud and has so many people involved in working out all kinds of initially-written crap, that it may shape into something interesting: https://github.com/diaspora/diaspora
This is a popular e-commerce rails app for you to build upon. Haven't read the code, but again, it's pretty popular, which means, well supported by community: https://github.com/railsdog/spree
For more check out awesome github's explore page: https://github.com/explore.
P.S. Bucketwise is a Rails2 app created by Jamis Buck (of 37signals and Rails core). It's still worth watching even if you're looking for Rails 3 insights.
I like the Getting Started with Rails guides. They're not really a complete app, but they are good examples of how things should be done and should be current.
You can also search on Github for Rails apps. The source code should be viewable, and if you have an account you can watch the various projects and see what's new.
Opinions of "best practices" vary widely. I would just read a ton of rails 3 code on github, and then read a ton more! By reading code, you will learn what is common in the rails world and develop your own best practices.
rails3-devise-mongoid is a good one
as is ror_ecommerce