Sha256: 8eb58306be38c1ed20b75e6d9552316a8e55220acf9875b38e5c5ae1ee4f8fdd

Contents?: true

Size: 341 Bytes

Versions: 14

Compression:

Stored size: 341 Bytes

Contents

Description:
    Create <model_name>.rb to app/models/ by using comment.rb template.
    Create create_<model_name>s.rb to db/migrate by using create_comments.rb template.

Example:
    rails generate commentable <model_name>

    This will create:
        app/models/<model_name>.rb
        db/migrate/<time_stamp>_create_<model_name>s.rb

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
acts_as_commentable_more-1.2.11 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.10 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.9 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.8 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.7 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.6 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.5 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.4 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.3 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.2 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.1 lib/generators/commentable/USAGE
acts_as_commentable_more-1.2.0 lib/generators/commentable/USAGE
acts_as_commentable_more-1.1.0 lib/generators/commentable/USAGE
acts_as_commentable_more-1.0.0 lib/generators/commentable/USAGE