Subscribe
Tutorial search

Creating Ruby server in 7 Lines of code - Ruby on Rails tutorial


Creating Ruby server in 7 Lines of code #ruby #rails #code #server
Category: Ruby on Rails tutorials - Difficulty:


More cool Ruby on Rails tutorials:



Block Helper Methods
Block Helper Methods
While normal helper methods are great, your views can look a lot neater if they make use of blocks.
Difficulty:
Nested Resources in Rails 2
Nested Resources in Rails 2
Nested resources were introduced in Rails 1.2 and are touted as the Right Way to do REST with parent-child model associations. If your app has a url that reads something like /employees?company_id=1, a switch to nested resources would cause it to read /companies/1/employees. Here's a detailed guide to developing with these new changes in mind.
Difficulty:
eRuby: Using Ruby PostgreSQL and MySQL on Windows
eRuby: Using Ruby PostgreSQL and MySQL on Windows
If you are a Windows user then listen up. There are solutions for Ruby and MySQL on Windows. Roderick Von domburg has a project for this and the releases along with excellent instructions are available from his site. Great stuff! He even shows you how to compile your own connection dll on Windows. His work was so good it was included in Instant Rails
Difficulty:
A complete  quick reference guide for Rails Developers
A complete quick reference guide for Rails Developers
A complete quick reference guide for Rails Developers. Listing all the important functions concepts at one page.
Difficulty:
Move Find into Model
Move Find into Model
Move a find into the model to clean up the controllers and remove duplication. Also see how you can call these custom find methods through an association.
Difficulty: