I''m using Rails STI on a project, so I extracted the basics and wrote up some basics on single table inheritance and how it''s used in Rails. Two blog posts, first is here: http://joemcglynn.wordpress.com/2009/12/11/rails-sti-part-1/ Second is here: http://joemcglynn.wordpress.com/2009/12/12/rails-single-table-inheritance-part-2/ I put the sample code on my github repository: http://github.com/canonical/Single-Table-Example I plan to write one more segment on STI showing some more advanced scenarios. Cheers, Joe -- 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.
Joe McGlynn
2009-Dec-17 00:52 UTC
Re: Single Table Inheritance in Rails: Sample App Available
Part 3 of the Rails STI post is available now: http://joemcglynn.wordpress.com/2009/12/16/rails-single-table-inheritance-part-iii/ The example source code for part 2 is on github: http://github.com/canonical/Single-Table-Example Cheers, Joe On Dec 12, 4:54 pm, Joe McGlynn <joemcglynn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m using Rails STI on a project, so I extracted the basics and wrote > up some basics onsingletableinheritance and how it''s used in Rails. > > Two blog posts, first is here:http://joemcglynn.wordpress.com/2009/12/11/rails-sti-part-1/ > > Second is here:http://joemcglynn.wordpress.com/2009/12/12/rails-single-table-inherit... > > I put the sample code on my github repository:http://github.com/canonical/Single-Table-Example > > I plan to write one more segment on STI showing some more advanced > scenarios. > > Cheers, > Joe-- 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.
Kostas L.
2009-Dec-17 08:29 UTC
Re: Single Table Inheritance in Rails: Sample App Available
It will be useful for sure! Nice try! Thanx On 17 Δεκ, 02:52, Joe McGlynn <joemcglynn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Part 3 of the Rails STI post is available now:http://joemcglynn.wordpress.com/2009/12/16/rails-single-table-inherit... > > The example source code for part 2 is on github:http://github.com/canonical/Single-Table-Example > > Cheers, > Joe > > On Dec 12, 4:54 pm, Joe McGlynn <joemcglynn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m using Rails STI on a project, so I extracted the basics and wrote > > up some basics onsingletableinheritance and how it''s used in Rails. > > > Two blog posts, first is here:http://joemcglynn.wordpress.com/2009/12/11/rails-sti-part-1/ > > > Second is here:http://joemcglynn.wordpress.com/2009/12/12/rails-single-table-inherit... > > > I put the sample code on my github repository:http://github.com/canonical/Single-Table-Example > > > I plan to write one more segment on STI showing some more advanced > > scenarios. > > > Cheers, > > Joe-- 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.