Hi! I''m running rails 2.3.8, confirmed by the prompt (rails -v) I''m doing a project and on other occasions I have needed install nested forms. I followed the steps (http://weblog.rubyonrails.org/2009/1/26/nested-model-forms) This steps: $ git clone git://github.com/alloy/rails.git $ cd rails $ git checkout origin/normalized_nested_attributes $ cd ../.. $ ruby vendor/rails/railties/bin/rails . And when i restarted webrick, this load rails 2.3.0 (that i didn''t install). => Booting WEBrick => Rails 2.3.0 application starting on http://0.0.0.0:3000 Anyone know what relationship there is or how to fix this? Thanks in advance -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 8 September 2010 12:49, Twistter Shock <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi! > > I''m running rails 2.3.8, confirmed by the prompt (rails -v) > > I''m doing a project and on other occasions I have needed > install nested forms. > > I followed the steps > (http://weblog.rubyonrails.org/2009/1/26/nested-model-forms) > > This steps: > $ git clone git://github.com/alloy/rails.git > $ cd rails > $ git checkout origin/normalized_nested_attributes > $ cd ../.. > $ ruby vendor/rails/railties/bin/rails . > > And when i restarted webrick, this load rails 2.3.0 (that i didn''t > install). > > => Booting WEBrick > => Rails 2.3.0 application starting on http://0.0.0.0:3000If you look in vendor/rails I think you will find that those instructions have installed a patched version of rails there (presumably 2.3.0). Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Twistter Shock
2010-Sep-08 14:19 UTC
Re: On init webrick get older rails version (suddenly)
Colin Law wrote:> On 8 September 2010 12:49, Twistter Shock <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> This steps: >> => Rails 2.3.0 application starting on http://0.0.0.0:3000 > If you look in vendor/rails I think you will find that those > instructions have installed a patched version of rails there > (presumably 2.3.0). > > ColinThanks Colin Yes, this is the problem. In vendor/rails/railties/lib/rails/version.rb i have this: module Rails module VERSION #:nodoc: MAJOR = 2 MINOR = 3 TINY = 0 STRING = [MAJOR, MINOR, TINY].join(''.'') end end If the binaries belongs to version 2.3.0 should i replaced then for the binaries of 2.3.8. Don''t feel that this is the correct... -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2010-Sep-08 14:51 UTC
Re: Re: On init webrick get older rails version (suddenly)
On 8 September 2010 15:19, Twistter Shock <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote: >> On 8 September 2010 12:49, Twistter Shock <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> This steps: >>> => Rails 2.3.0 application starting on http://0.0.0.0:3000 >> If you look in vendor/rails I think you will find that those >> instructions have installed a patched version of rails there >> (presumably 2.3.0). >> >> Colin > > Thanks Colin > > Yes, this is the problem. > In vendor/rails/railties/lib/rails/version.rb i have this: > > module Rails > module VERSION #:nodoc: > MAJOR = 2 > MINOR = 3 > TINY = 0 > > STRING = [MAJOR, MINOR, TINY].join(''.'') > end > end > > If the binaries belongs to version 2.3.0 should i replaced then for the > binaries of 2.3.8. > > Don''t feel that this is the correct...I doubt if that would work. I suggest finding a better way rather than using this patch. This might be helpful: http://railscasts.com/episodes/196-nested-model-form-part-1 Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Twistter Shock
2010-Sep-08 15:10 UTC
Re: Re: On init webrick get older rails version (suddenly)
Colin Law wrote:> On 8 September 2010 15:19, Twistter Shock <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> Thanks Colin >> � �STRING = [MAJOR, MINOR, TINY].join(''.'') >> �end >> end >> >> If the binaries belongs to version 2.3.0 should i replaced then for the >> binaries of 2.3.8. >> >> Don''t feel that this is the correct... > > I doubt if that would work. I suggest finding a better way rather > than using this patch. > > This might be helpful: > http://railscasts.com/episodes/196-nested-model-form-part-1 > > ColinYes, i found this and think that is the better choice Thanks Colin -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.