Hi, I''m trying to test my application with Rails 3 beta 3, but I''m missing the great API docs. I tried rake doc:rails, but it seems to be a little outdated with instructions like "find :all, ..." and "map.connect" on the READMES. I can''t find routing information on API (I''m missing the :shallow option) nor the Resources explanation, for instance. I also miss ActiveModel::Base... does it exist? I''m planning to replace the dead plugin PassiveRecord with ActiveModel, but can''t find any doc in the API... Is there any way to view the up to date Rails 3 documentation? Thanks in advance, Rodrigo. -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Try this: http://edgeguides.rubyonrails.org Anuj @andhapp ------------------ -----Original Message----- From: Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com> Sender: rubyonrails-core@googlegroups.com Date: Tue, 08 Jun 2010 09:05:09 To: <rubyonrails-core@googlegroups.com> Reply-To: rubyonrails-core@googlegroups.com Subject: [Rails-core] Where is Rails 3 documentation? Hi, I''m trying to test my application with Rails 3 beta 3, but I''m missing the great API docs. I tried rake doc:rails, but it seems to be a little outdated with instructions like "find :all, ..." and "map.connect" on the READMES. I can''t find routing information on API (I''m missing the :shallow option) nor the Resources explanation, for instance. I also miss ActiveModel::Base... does it exist? I''m planning to replace the dead plugin PassiveRecord with ActiveModel, but can''t find any doc in the API... Is there any way to view the up to date Rails 3 documentation? Thanks in advance, Rodrigo. -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Try this: http://plasmarails.org/ On Tue, Jun 8, 2010 at 9:09 PM, Anuj Dutta <dutta.anuj@googlemail.com> wrote:> Try this: > > http://edgeguides.rubyonrails.org > > Anuj > @andhapp > ------------------ > > -----Original Message----- > From: Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com> > Sender: rubyonrails-core@googlegroups.com > Date: Tue, 08 Jun 2010 09:05:09 > To: <rubyonrails-core@googlegroups.com> > Reply-To: rubyonrails-core@googlegroups.com > Subject: [Rails-core] Where is Rails 3 documentation? > > Hi, I''m trying to test my application with Rails 3 beta 3, but I''m > missing the great API docs. > > I tried rake doc:rails, but it seems to be a little outdated with > instructions like "find :all, ..." and "map.connect" on the READMES. > > I can''t find routing information on API (I''m missing the :shallow > option) nor the Resources explanation, for instance. > > I also miss ActiveModel::Base... does it exist? I''m planning to replace > the dead plugin PassiveRecord with ActiveModel, but can''t find any doc > in the API... > > Is there any way to view the up to date Rails 3 documentation? > > Thanks in advance, > > Rodrigo. > > -- > 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 rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > 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 rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
I have already used these guides for porting most of my app, but I still miss the API docs for more details. I would like to know which options each method accepts, for instance, for searching about shallow resources and trying to figure out why I''m getting infinite loop in /users/login (it seems to be related to routing changes, because it works if I disable ''resources :users, :requirements => {:id => /[0-9]+/}''). Maybe :requirements is not supported any more or has changed, but I don'' have any API to verify this... Thanks, Rodrigo. Em 08-06-2010 09:09, Anuj Dutta escreveu:> Try this: > > http://edgeguides.rubyonrails.org > > Anuj > @andhapp > ------------------ > > -----Original Message----- > From: Rodrigo Rosenfeld Rosas<rr.rosas@gmail.com> > Sender: rubyonrails-core@googlegroups.com > Date: Tue, 08 Jun 2010 09:05:09 > To:<rubyonrails-core@googlegroups.com> > Reply-To: rubyonrails-core@googlegroups.com > Subject: [Rails-core] Where is Rails 3 documentation? > > Hi, I''m trying to test my application with Rails 3 beta 3, but I''m > missing the great API docs. > > I tried rake doc:rails, but it seems to be a little outdated with > instructions like "find :all, ..." and "map.connect" on the READMES. > > I can''t find routing information on API (I''m missing the :shallow > option) nor the Resources explanation, for instance. > > I also miss ActiveModel::Base... does it exist? I''m planning to replace > the dead plugin PassiveRecord with ActiveModel, but can''t find any doc > in the API... > > Is there any way to view the up to date Rails 3 documentation? > > Thanks in advance, > > Rodrigo. > >-- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
On Tuesday, June 8, 2010, Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com> wrote:> I have already used these guides for porting most of my app, but I still miss the API docs for more details.In general API and guides have been revised (except for some), but there have been so many changes in the code base that I am pretty sure they will need an iteration cycle to converge. I think a community effort is needed here. docrails has now public write access, if you see any piece of documentation that lacks something or uses previous idioms please just clone docrails from github, fix it, and up! -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Thank you but it is just fancier than the locally generated docs... I can''t find the method ''resources'', for instance, in the Routing documentation (actually I can find nearly nothing about routing in the API). Best regards, Rodrigo. Em 08-06-2010 09:25, Ngoc Dao escreveu:> Try this: > > http://plasmarails.org/ > > > On Tue, Jun 8, 2010 at 9:09 PM, Anuj Dutta<dutta.anuj@googlemail.com> wrote: > >> Try this: >> >> http://edgeguides.rubyonrails.org >> >> Anuj >> @andhapp >> ------------------ >> >> -----Original Message----- >> From: Rodrigo Rosenfeld Rosas<rr.rosas@gmail.com> >> Sender: rubyonrails-core@googlegroups.com >> Date: Tue, 08 Jun 2010 09:05:09 >> To:<rubyonrails-core@googlegroups.com> >> Reply-To: rubyonrails-core@googlegroups.com >> Subject: [Rails-core] Where is Rails 3 documentation? >> >> Hi, I''m trying to test my application with Rails 3 beta 3, but I''m >> missing the great API docs. >> >> I tried rake doc:rails, but it seems to be a little outdated with >> instructions like "find :all, ..." and "map.connect" on the READMES. >> >> I can''t find routing information on API (I''m missing the :shallow >> option) nor the Resources explanation, for instance. >> >> I also miss ActiveModel::Base... does it exist? I''m planning to replace >> the dead plugin PassiveRecord with ActiveModel, but can''t find any doc >> in the API... >> >> Is there any way to view the up to date Rails 3 documentation? >> >> Thanks in advance, >> >> Rodrigo. >> >> -- >> 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 rubyonrails-core@googlegroups.com. >> To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. >> 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 rubyonrails-core@googlegroups.com. >> To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. >> 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
http://edgeapi.rubyonrails.org -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Is this what you are looking for? http://edgeapi.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Resources.html -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Absolutely, but I don''t see any docs there ;) But I already found what I wanted in: http://rubyonrails.org/screencasts/rails3 Excelent screencasts! :requirements has changed to :constraints... But I still miss the wonderful documentation from 2.x series... Thank you, Rodrigo. Em 09-06-2010 10:51, Artiom Lunev escreveu:> Is this what you are looking for? > http://edgeapi.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Resources.html > >-- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.