Hi im just new in studying rails, my prob is that i''ve installed the latest rails 2.01. My problem is that most of the Books available which i''ve bought uses lower version of rails. which at the start i cant pass the chapter 1 of the book lol...so i need to downgrade my rails version. thx more power -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
specify the version you want to install sudo gem install rails -v 1.2.3 1.2.3 being the version you want On Jan 15, 8:51 pm, Ceros Ceros <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi im just new in studying rails, my prob is that i''ve installed the > latest rails 2.01. My problem is that most of the Books available which > i''ve bought uses lower version of rails. which at the start i cant pass > the chapter 1 of the book lol...so i need to downgrade my rails version. > thx more power > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Just follow the screencasts at rubyplus.org I cover rails 2.0 Sent from my iPhone On Jan 15, 2008, at 8:51 PM, Ceros Ceros <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org > wrote:> > Hi im just new in studying rails, my prob is that i''ve installed the > latest rails 2.01. My problem is that most of the Books available > which > i''ve bought uses lower version of rails. which at the start i cant > pass > the chapter 1 of the book lol...so i need to downgrade my rails > version. > thx more power > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 1/16/08, fernyb <fern.be-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Jan 15, 8:51pm, Ceros Ceros <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > Hi im just new in studying rails, my prob is that i''ve installed the > > latest rails 2.01. My problem is that most of the Books available which > > i''ve bought uses lower version of rails. which at the start i cant pass > > the chapter 1 of the book lol...so i need to downgrade my rails version. > > specify the version you want to install > sudo gem install rails -v 1.2.3 > 1.2.3 being the version you wantActually the latest 1.2.x version is 1.2.6 which would probably work as well. The above gets you halfway there. Let''s say you did want 1.2.3 sudo gem install rails -v 1.2.3 will ensure that you have that version installed, however you still have 2.0.x installed as well. There are two options, one is to uninstall the 2.0.x version, the other is to specify the version when you generate your rails app rails _1.2.3_ myapp This is a standard feature of gem binaries, using a gem version number bracketed with underscores will cause the binary to look for and load that version of the gem. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rick Denatale wrote:> On 1/16/08, fernyb <fern.be-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> 1.2.3 being the version you want > Actually the latest 1.2.x version is 1.2.6 which would probably work as > well. > > The above gets you halfway there. Let''s say you did want 1.2.3 > > sudo gem install rails -v 1.2.3 > > will ensure that you have that version installed, however you still > have 2.0.x installed as well. > > There are two options, one is to uninstall the 2.0.x version, the > other is to specify the version when you generate your rails app > > rails _1.2.3_ myapp > > This is a standard feature of gem binaries, using a gem version number > bracketed with underscores will cause the binary to look for and load > that version of the gem. > > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/so i need to install for example 1.2.6 then ill just add the version when i want to generate an apps?wow ill try the screencast lol thx -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i need an opinion on you guys.. do you think i should learn ver 1.2.x 1st b4 i learning ver 2.0.x?? if you guys are in my position which dont have any background in ruby and rails?what would you do?thx -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ceros Ceros wrote:> i need an opinion on you guys.. do you think i should learn ver 1.2.x > 1st b4 i learning ver 2.0.x?? if you guys are in my position which dont > have any background in ruby and rails?what would you do?thxSince all the books I have are for versions below 2.0.x, I''m going to study what I can, then learn the changes as needed with new projects. It''s all MVC anyway, so it has to follow. Some may say it''s wrong, but there''s likely production code out there that can''t just update overnight, so having a better understanding will (hopefully) make me more useful. any pitfalls to this please comment! thx -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No real pitfalls, but I cannot think of any ''show stoppers'' that would prevent you from using texts based on 1.2.x with Rails 2.x The only standout would be that the "scaffold" command no longer works (you *can* script/generate scaffold, just not use scaffold in a controller). That''s not really a big deal, though, because you were never meant to use that in production and the point of the tutorials would be to move you out of scaffolding and into customized views. On Mar 11, 1:44 am, Walter Spicer <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Ceros Ceros wrote: > > i need an opinion on you guys.. do you think i should learn ver 1.2.x > > 1st b4 i learning ver 2.0.x?? if you guys are in my position which dont > > have any background in ruby and rails?what would you do?thx > > Since all the books I have are for versions below 2.0.x, I''m going to > study what I can, then learn the changes as needed with new projects. > It''s all MVC anyway, so it has to follow. Some may say it''s wrong, but > there''s likely production code out there that can''t just update > overnight, so having a better understanding will (hopefully) make me > more useful. > > any pitfalls to this please comment! > > thx > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 3/11/08, AndyV <arv7-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org> wrote:> > No real pitfalls, but I cannot think of any ''show stoppers'' that would > prevent you from using texts based on 1.2.x with Rails 2.x The only > standout would be that the "scaffold" command no longer works (you > *can* script/generate scaffold, just not use scaffold in a > controller). That''s not really a big deal, though, because you were > never meant to use that in production and the point of the tutorials > would be to move you out of scaffolding and into customized views.Not really really the same thing though. in Rails 2.0.x script/generate scaffold will generate a restful controller, model, etc. The pre 2.0 tutorial examples I''m aware of don''t use restful design so the generated code wlll confuse someone trying to learn Rails. For someone who wants to learn from a book, say AWDWR, I''d still recommend using Rails 1.2.3 rather than 2.0, and then move to 2.0 after getting some basic Rails knowledge, at which time I''d recommend "The Rails Way." -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I agree that there is a difference but it''s not a "show stopper" as I said. On Mar 11, 8:06 pm, "Rick DeNatale" <rick.denat...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 3/11/08, AndyV <a...-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org> wrote: > > > > > No real pitfalls, but I cannot think of any ''show stoppers'' that would > > prevent you from using texts based on 1.2.x with Rails 2.x The only > > standout would be that the "scaffold" command no longer works (you > > *can* script/generate scaffold, just not use scaffold in a > > controller). That''s not really a big deal, though, because you were > > never meant to use that in production and the point of the tutorials > > would be to move you out of scaffolding and into customized views. > > Not really really the same thing though. in Rails 2.0.x > script/generate scaffold will generate a restful controller, model, > etc. > > The pre 2.0 tutorial examples I''m aware of don''t use restful design so > the generated code wlll confuse someone trying to learn Rails. > > For someone who wants to learn from a book, say AWDWR, I''d still > recommend using Rails 1.2.3 rather than 2.0, and then move to 2.0 > after getting some basic Rails knowledge, at which time I''d recommend > "The Rails Way." > > -- > Rick DeNatale > > My blog on Rubyhttp://talklikeaduck.denhaven2.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---