Module: ReleaseNotes::Generators::OrmHelpers
- Included in:
- ActiveRecord::Generators::ReleaseNotesGenerator
- Defined in:
- lib/generators/release_notes/orm_helpers.rb
Instance Method Summary collapse
Instance Method Details
#release_notes_model_contents ⇒ Object
4 5 6 7 8 9 |
# File 'lib/generators/release_notes/orm_helpers.rb', line 4 def release_notes_model_contents buffer = <<-CONTENT validates :version, presence: true, uniqueness: true CONTENT buffer end |