Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/generators/active_record/roles/core_ext.rb
Overview
TODO: model_file_name and similar methods in rails3_assist and rails3_artifaftor should be fixed to always call underscore on filenames
Instance Method Summary collapse
Instance Method Details
#as_filename ⇒ Object
5 6 7 |
# File 'lib/generators/active_record/roles/core_ext.rb', line 5 def as_filename self.underscore end |