hi all
is there a simple solution to change the CRUD layout using only the
scaffold method (without generate scaffold)?
tnx
hi all
is there a simple solution to change the CRUD layout using only the
scaffold method (without generate scaffold)?
tnx
Yea but it involves you changing the templates. If you freeze your gems
(rake freeze:gems) and then go into the vendor/rails folder, look under
actionpack/action_controller/templates/scaffolds
Change them there.
(Just did this the other day!)
Brian H. wrote:
Yea but it involves you changing the templates. If you freeze your gems
(rake freeze:gems) and then go into the vendor/rails folder, look underactionpack/action_controller/templates/scaffolds
Change them there.
(Just did this the other day!)
tnx i’ll try
Brian H. wrote:
Yea but it involves you changing the templates. If you freeze your gems
(rake freeze:gems) and then go into the vendor/rails folder, look underactionpack/action_controller/templates/scaffolds
Change them there.
(Just did this the other day!)
ops! when i try to freeze the gems this is the output:
rake aborted!
Don’t know how to build task ‘gems:freeze’
i didn’t found help in google
Giuseppe M. wrote:
ops! when i try to freeze the gems this is the output:
rake aborted!
Don’t know how to build task ‘gems:freeze’i didn’t found help in google
“rake rails:gems:freeze” work good but if i change the templates i can’t
show my modifies in rails…
Giuseppe M. wrote:
Giuseppe M. wrote:
ops! when i try to freeze the gems this is the output:
rake aborted!
Don’t know how to build task ‘gems:freeze’i didn’t found help in google
“rake rails:gems:freeze” work good but if i change the templates i can’t
show my modifies in rails…
Giuseppe M. wrote:
Giuseppe M. wrote:
“rake rails:gems:freeze” work good but if i change the templates i can’t
show my modifies in rails…
Changes to templates will not automatically"back-port" to previously
generated code of course. Are you actually saying that your template
changes are not being used when you generate new models and controllers
in the modified project?
Giuseppe M. wrote:
“rake rails:gems:freeze” work good but if i change the templates i can’t
show my modifies in rails…Changes to templates will not automatically"back-port" to previously
generated code of course. Are you actually saying that your template
changes are not being used when you generate new models and controllers
in the modified project?
yes… but i created a new application and now templates are correct
tnx
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs