Generating a controller that inherits from a base controller


#1

how can I generate a new controller that inherites from another bas
controller?

using: ruby/script generate myNewController command?


#2

you cant…
On Friday, March 24, 2006, at 11:21 AM, James W. wrote:


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)


#3

Mikkel B. wrote:

you cant…
On Friday, March 24, 2006, at 11:21 AM, James W. wrote:


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Mikkel B.

www.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?


#4

no, it should’nt affect the tests

On Friday, March 24, 2006, at 11:32 AM, James W. wrote:

Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)