view page source - page history - about editing

Revision History: Ruby on Rails

This is revision 337 of the page Ruby on Rails, as it appeared on Thu, 23 Jan 2014 17:54:41 -0800.

How I learnt Ruby on Rails

Following the Getting Started guide:
  1. Don't install the Cygwin version of Ruby or Ruby-rails. They will not work because I think cygwin paths get in the way of generating temporary files for Javascript compilation: Error: Cannot find module 'C:/cygdrive/c/DOCUME~1/Jevon/LOCALS~1/Temp/execjs20140124-6456-ws3la8.js' (in /usr/lib/ruby/gems/1.9.1/gems/turbolinks-2.2.0/lib/assets/javascripts/
  2. Install Ruby 1.9.3 from the Windows Installer package
  3. Install the Ruby 1.9.3 devkit: download the executable, extract it somewhere, follow the install instructions
  4. Install rails: gem install rails

Partial not rendering

Make sure you use <%= render 'form' %>, not the non-printing form without equals <% render 'form' %>. I'm guessing this is a different render to render text: in a controller.

view page source - what links to here? - page history - top
Last edited by jevon jevon 63 months ago