James Whittaker
2006-Mar-24 10:21 UTC
[Rails] generating a controller that inherits from a base controller
how can I generate a new controller that inherites from another bas controller? using: ruby/script generate myNewController command? -- Posted via ruby-forum.com.
Mikkel Bruun
2006-Mar-24 10:29 UTC
[Rails] generating a controller that inherits from a base controller
you cant... On Friday, March 24, 2006, at 11:21 AM, James Whittaker wrote:>how can I generate a new controller that inherites from another bas >controller? > >using: ruby/script generate myNewController command? > > > > >-- >Posted via ruby-forum.com. >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >lists.rubyonrails.org/mailman/listinfo/railsMikkel Bruun strongside.dk - Football Portal(DK) nflfeed.helenius.org - Football News(DK) ting.minline.dk - Buy Old Stuff!(DK) -- Posted with DevLists.com. Sign up and save your time!
James Whittaker
2006-Mar-24 10:32 UTC
[Rails] Re: generating a controller that inherits from a base contro
Mikkel Bruun wrote:> you cant... > On Friday, March 24, 2006, at 11:21 AM, James Whittaker wrote: >>_______________________________________________ >>Rails mailing list >>Rails@lists.rubyonrails.org >>lists.rubyonrails.org/mailman/listinfo/rails > > > Mikkel Bruun > > strongside.dk - Football Portal(DK) > nflfeed.helenius.org - Football News(DK) > ting.minline.dk - Buy Old Stuff!(DK)Ok, so I just change the class < controller bit manually then. Does this not affect the tests? -- Posted via ruby-forum.com.
Mikkel Bruun
2006-Mar-24 10:37 UTC
[Rails] Re: generating a controller that inherits from a base contro
no, it should''nt affect the tests On Friday, March 24, 2006, at 11:32 AM, James Whittaker wrote:>Mikkel Bruun wrote: >> you cant... >> On Friday, March 24, 2006, at 11:21 AM, James Whittaker wrote: >>>_______________________________________________ >>>Rails mailing list >>>Rails@lists.rubyonrails.org >>>lists.rubyonrails.org/mailman/listinfo/rails >> >> >> Mikkel Bruun >> >> strongside.dk - Football Portal(DK) >> nflfeed.helenius.org - Football News(DK) >> ting.minline.dk - Buy Old Stuff!(DK) > >Ok, so I just change the class < controller bit manually then. Does this >not affect the tests? > >-- >Posted via ruby-forum.com. >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >lists.rubyonrails.org/mailman/listinfo/railsMikkel Bruun strongside.dk - Football Portal(DK) nflfeed.helenius.org - Football News(DK) ting.minline.dk - Buy Old Stuff!(DK) -- Posted with DevLists.com. Sign up and save your time!