On Sep 8, 12:44 pm, AppleII717 <sa...@mac.com> wrote:
> Apparently ruby 1.9 allows a shortcut hash creation/assignment syntax
>
> h = {foo: "bar"}
>  => {:foo=>"bar"}

Yup, that was added to 1.9

> That line would generate one of the first of many errors you'd get if
> you'd try to run the 1.9.2 application on a 1.8.7 machine.
>
> I guess the bottom line is that if you are going to deploy with ruby
> 1.8.7, you better use 1.8.7 to develop the application and not have
> contributors using 1.9.2. Don't know if Rails has any caveats on this,
> but should.
>

Rails itself should work on both 1.8.7 and 1.9.2. I would certainly
recommend that you develop using something that matches what you'll be
deploying with as closely as possible.

Fred


> I would of searched for treads on this, but not sure what I would have
> searched for.
>
> Steve
>
> Steve

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to