Sha256: 5743ab3d7a6db4593465603b8f7edafa86d71c44de87262de2a92daf1ef8861f

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

class <%= name %>
  name: '<%= name %>'
  _all: ->
    # Get All Records
  _find_by_id: (id) ->
    # Get model record by id
  _create: (<%= name.downcase %>) ->
    # create Record
    
  # Insert your code here
  
Chester.Application.Models.add(new <%= name %>())

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chester-0.2.0 lib/chester/templates/model.coffee.erb