Hi everyone. I was looking for a helper definition (create_table) and I''ve noticed that the documentation in http://api.rubyonrails.org/ is incomplete. It''s not covering the "sexy migration" options to defining the columns like "t.string :name". It''s just showing "t.column :name, :string" way. There is a note about this "sexy" way of create tables in http://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/create_table Actually my question is: how can I contribute with updates and changes like that in http://api.rubyonrails.org/ ? Thank you all !!
pharrington
2009-Jun-22 01:48 UTC
Re: How can I contribute with http://api.rubyonrails.org/ ?
> On Jun 21, 9:12 pm, Eric Fer <eric....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi everyone. > I was looking for a helper definition (create_table) and I''ve noticed > that the documentation inhttp://api.rubyonrails.org/is incomplete. > It''s not covering the "sexy migration" options to defining the columns > like "t.string :name". It''s just showing "t.column :name, :string" > way. > > There is a note about this "sexy" way of create tables inhttp://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatem... > > Actually my question is: how can I contribute with updates and changes > like that inhttp://api.rubyonrails.org/? > > Thank you all !!The second example shows this: http://api.rubyonrails.org/classes/ActiveRecord/Migration.html
pharrington
2009-Jun-22 01:53 UTC
Re: How can I contribute with http://api.rubyonrails.org/ ?
> On Jun 21, 9:12 pm, Eric Fer <eric....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi everyone. > I was looking for a helper definition (create_table) and I''ve noticed > that the documentation inhttp://api.rubyonrails.org/is incomplete. > It''s not covering the "sexy migration" options to defining the columns > like "t.string :name". It''s just showing "t.column :name, :string" > way. > > There is a note about this "sexy" way of create tables inhttp://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatem... > > Actually my question is: how can I contribute with updates and changes > like that inhttp://api.rubyonrails.org/? > > Thank you all !!BUT either way since that''s basically just the rdoc output, contributing to the documentation is the same as contributing to Rails itself (except you''re adding comments instead of code :) )
Frederick Cheung
2009-Jun-22 07:35 UTC
Re: How can I contribute with http://api.rubyonrails.org/ ?
On Jun 22, 2:53 am, pharrington <xenogene...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Jun 21, 9:12 pm, Eric Fer <eric....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi everyone. > > I was looking for a helper definition (create_table) and I''ve noticed > > that the documentation inhttp://api.rubyonrails.org/isincomplete. > > It''s not covering the "sexy migration" options to defining the columns > > like "t.string :name". It''s just showing "t.column :name, :string" > > way. > > > There is a note about this "sexy" way of create tables inhttp://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatem... > > > Actually my question is: how can I contribute with updates and changes > > like that inhttp://api.rubyonrails.org/? > > > Thank you all !! > > BUT either way since that''s basically just the rdoc output, > contributing to the documentation is the same as contributing to Rails > itself (except you''re adding comments instead of code :) )True, but the docrails fork of rails (http://wiki.github.com/lifo/ docrails) is setup specifically for contributions to documentation (since the usual patch workflow is a bit overkill for just documentation changes). Fred
Eric Fer
2009-Jun-24 02:00 UTC
Re: How can I contribute with http://api.rubyonrails.org/ ?
Hi pharrington !!! Thanks for your reply :) It''s very true this is the doc that I was looking for. The unfortune is that when I look for "create_table", the link is this: http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#M002191 Again, thanks a lot :) On Jun 21, 10:48 pm, pharrington <xenogene...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Jun 21, 9:12 pm,Eric Fer<eric....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi everyone. > > I was looking for a helper definition (create_table) and I''ve noticed > > that the documentation inhttp://api.rubyonrails.org/isincomplete. > > It''s not covering the "sexy migration" options to defining the columns > > like "t.string :name". It''s just showing "t.column :name, :string" > > way. > > > There is a note about this "sexy" way of create tables inhttp://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatem... > > > Actually my question is: how can I contribute with updates and changes > > like that inhttp://api.rubyonrails.org/? > > > Thank you all !! > > The second example shows this:http://api.rubyonrails.org/classes/ActiveRecord/Migration.html
Eric Fer
2009-Jun-24 02:13 UTC
Re: How can I contribute with http://api.rubyonrails.org/ ?
Hi Frederick. Thanks very much for the tip about docrails ;) On Jun 22, 4:35 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jun 22, 2:53 am, pharrington <xenogene...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > On Jun 21, 9:12 pm,Eric Fer<eric....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi everyone. > > > I was looking for a helper definition (create_table) and I''ve noticed > > > that the documentation inhttp://api.rubyonrails.org/isincomplete. > > > It''s not covering the "sexy migration" options to defining the columns > > > like "t.string :name". It''s just showing "t.column :name, :string" > > > way. > > > > There is a note about this "sexy" way of create tables inhttp://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatem... > > > > Actually my question is: how can I contribute with updates and changes > > > like that inhttp://api.rubyonrails.org/? > > > > Thank you all !! > > > BUT either way since that''s basically just the rdoc output, > > contributing to the documentation is the same as contributing to Rails > > itself (except you''re adding comments instead of code :) ) > > True, but the docrails fork of rails (http://wiki.github.com/lifo/ > docrails) is setup specifically for contributions to documentation > (since the usual patch workflow is a bit overkill for just > documentation changes). > > Fred