aris
1
Hey fellas,
I am trying to configure the scaffold generator to skip stylesheets. I
currently do the following:
config.generators do |g|
g.stylesheets false
end
Which works on all generators. How can I force it to selectively skip
stylesheets depending on the generator, in my case the scaffold?
I tried something like:
config.generators do |g|
g.stylesheets false if g == :scaffold
end
But it did not work. Any ideas?
Hey fellas,
I am trying to configure the scaffold generator to skip stylesheets. I
currently do the following:
config.generators do |g|
g.stylesheets false
end
Which works on all generators. How can I force it to selectively skip
stylesheets depending on the generator, in my case the scaffold?
I tried something like:
config.generators do |g|
g.stylesheets false if g == :scaffold
end
But it did not work. Any ideas?
–
Wael