Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Template for creating Plugins/Engines for Noodall
Ruby
Tree: 3462d895ab

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
template.rb

README

CREATING A NEW NOODALL COMPONENT

Instructions for extracting/creating a Noodall component gem

SETUP
Generate a new component/plugin template

  rails plugin new noodall-component-<name> --full -Om https://raw.github.com/stengland/noodall-plugin-template/master/template.rb

  This generates a Rails Engine and applies our customisations.


PROCESS
Copy/create models in app/models

Copy/create views in app/views/admin/components and app/views/components

Setup slots for the new component under: test/dummy/config/initializers/noodall.rb

Add new slots to test/dummy/app/models/content_page.rb

Add the new component slot to test/dummy/app/views/nodes/content_page.html.erb

Add cucumber tests and/or unit tests

Setup factories in /factories

Fill in the *.gemspec file
Something went wrong with that request. Please try again.