Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mconnell-generators

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mconnell-generators

  • 1.0.6
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= Rubaidh Generators

Rails ships with its own generators for creating models, controllers and complete scaffolds. RSpec ships with its own take on these generators. We ship with yet another slightly different take on the generators, suited to Rubaidh's tastes.

== Application Generator

The gem ships with a program called +rubaidh_rails+ which generates a Rails application and applies the Rubaidh template to it. In short, this will:

  • initialize a local Git repository, ignoring the appropriate things and saving the log directory but not its contents;

  • install RSpec, RSpec's Rails support, Shoulda and object_daddy for testing support;

  • install and enable GetExceptional for watching errors in production; and

  • create and migrate all the appropriate databases.

So, for every new application, it'll save us a good hour of boring fiddling. :-)

== Component Generators

We currently ship with 4 generators:

  • rubaidh_model which generates a model, specification and exemplar.

  • rubaidh_controller which generates a controller and specification.

  • rubaidh_helper which generates a helper and its specification.

  • rubaidh_scaffold which generates the full shebang for a CRUD-operated RESTful resource.

  • rubaidh_layout which generates a basic web-app theme

Where possible generators are built in terms of other generators (so the scaffold calls on rubaidh_model to generate the model).

== License

Copyright (c) 2009 Rubaidh Ltd, released under the MIT license.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc