[Rails] Re: Nester Resources, Routes and Class Inheritance

2008-11-04 Thread Jeff
On Nov 4, 3:09 pm, sw0rdfish <[EMAIL PROTECTED]> wrote: > Ok so I tried your way, and I got an error; > > compile error > syntax error, unexpected '(', expecting kEND > _erbout = '';  form_for :company_phone_number_path( [EMAIL PROTECTED], > @phone_number] )  do |f| ; _erbout.concat "\n" > > So I

[Rails] Re: Nester Resources, Routes and Class Inheritance

2008-11-04 Thread sw0rdfish
Ok so I tried your way, and I got an error; compile error syntax error, unexpected '(', expecting kEND _erbout = ''; form_for :company_phone_number_path( [EMAIL PROTECTED], @phone_number] ) do |f| ; _erbout.concat "\n" So I did a little digging to see the syntax for it, and I came up with <%

[Rails] Re: Nester Resources, Routes and Class Inheritance

2008-11-04 Thread Jeff
On Nov 4, 9:46 am, sw0rdfish <[EMAIL PROTECTED]> wrote: > Ok here's a quicky... but a goody :) > > We have models Company, Reference and Applicant... and References and > Applicants just inherit from Company, and are basically companies with > the type field set to reference... > > All companies c