The scaffolding generator does some name mangling, for example it does
pluralization.
However, it looks like there are some other rules and I do not
understand them. I did a
script/generate scaffold EVENTLOG whenSec:integer
and I get the correct model, but I do get a number of underscores in
numerous places, such as:
app/views/eventlo_gs/index.html.erb
app/controllers/eventlo_gs_controller.rb
test/functional/eventlo_gs_controller_test.rb
app/helpers/eventlo_gs_helper.rb
route map.resources :eventlo_gs
So: What situation triggers that added underscore and is there a
possibility to turn it off?
Thanx
C.