Tags » Ruby On Rails

Rails Command Line Cheat Sheet

  • rails new – creates a new Rails application
  • rails server [s] – launches WEBrick web server
  • rails serverĀ -e production – run production mode
  • rails generate [g] – lists available generators…
  • 125 more words

Frequently Rails Code

Select option

select_tag "match", options_from_collection_for_select(@tournaments, "id", "name", @match.tournament.id), class: "form-control"
Ruby On Rails

Installing Ruby and Ruby on Rails on Ubuntu

What is RoR?

One of the most widely used application stack present today, used by a variety of developers across the world.

Written fully in Ruby, provides a framework to create web applications at ease. 440 more words


Set up vagrant for Rails

After you have setup vagrant and created your first rails application and forwarded the port from guest to host with:

config.vm.network "forwarded_port", guest: 3000, host: 3000… 98 more words

Ruby On Rails

Yosemite, brew, and postgreSQL

After upgrading to Yosemite and deciding to create a new application on Heroku.com, I ran into some problems. I hope this might help someone get through the ‘gem pg’ issue I had. 212 more words


Testing with RSpec in Rails

Testing in Rails is both hard and easy. Hard because it takes as much time as coding does, but easy because there are many tools that make the most complicated things straightforward. 1,070 more words

Ruby On Rails

Google Recaptcha With Ruby On Rails Integration.

Google Recaptcha With Ruby On Rails Integration.

Google Recaptcha protects the websites you love from spam and abuse.

Below the steps to be followed to develop a sample ROR application with Google Recaptcha:- 497 more words