Ruby 1.8 compatibility won't be dropped until Rails 4.x. Rails will generate your application using Ruby 1.9 hash (and, I believe, lambda) syntax if you create it using Ruby 1.9 (the same is true for generators). If you want to run your application on Ruby 1.8, I would suggest developing primarily using 1.8.
Regards, Ben Langfeld On Thu, Sep 29, 2011 at 1:13 PM, Emili Parreño <[email protected]> wrote: > Hi folks! > > Getting started guide say Rails 3.1 is compatbilbe with ruby 1.8.7 or > higher, but Rails 3.1 is plenty of hash declarations in Ruby 1.9.2 way > > Blog::Application.config.session_store :cookie_store, key: > '_rails31_blog_session' > or > <td><%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete > %></td> > etc. > > AFAIK Rails 3.2 will be compatible just with Ruby 1.9.2 but Rails 3.1 is > still Ruby 1.8.7 compatible. isn't it? > > -- > Emili Parreño - www.eparreno.com > Ruby/Rails Consultant & Trainer - www.prorubyteam.com > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
