Sha256: 013b6b0613a2b29a848dd0e88119ed939071a55422d87ec35420f483c528c26d

Contents?: true

Size: 692 Bytes

Versions: 16

Compression:

Stored size: 692 Bytes

Contents

Description:
  Stubs out a new cell and its views. Pass the cell name, either
  CamelCased or under_scored, and a list of views as arguments.
  
  This generates a cell class in app/cells and view templates in
  app/cells/cell_name.
  
Examples:
  
  ./script/generate cell Announcements index
  
  This will create an Announcements cell:
    Cell:
      app/cells/announcements_cell.rb
    Views:
      app/cells/announcements/index.html.erb
      
      
  ./script/generate cell Articles popular recent --haml
  
  This will create an Articles cell:
    Cell:
      app/cells/articles_cell.rb
    Views:
      app/cells/articles/popular.html.haml
      app/cells/articles/recent.html.haml

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
cells-3.3.10 rails_generators/cell/USAGE
cells-3.3.9 rails_generators/cell/USAGE
cells-3.3.8 rails_generators/cell/USAGE
cells-3.3.7 rails_generators/cell/USAGE
cells-3.3.6 rails_generators/cell/USAGE
cells-3.3.5 rails_generators/cell/USAGE
cells-3.4.0 lib/generators/cells/USAGE
cells-3.4.0.beta3 lib/generators/cells/USAGE
cells-3.4.0.beta2 rails_generators/cell/USAGE
cells-3.4.0.beta1 rails_generators/cell/USAGE
cells-3.3.4 rails_generators/cell/USAGE
cells-3.3.3 rails_generators/cell/USAGE
cells-3.3.2 rails_generators/cell/USAGE
cells-3.3.1 rails_generators/cell/USAGE
cells-3.3.0 generators/cell/USAGE
cells-2.3.0 generators/cell/USAGE