Sha256: b1d0a489e1a9f7d442d47983bce0dd6b9bedcf1380700f43bd784bb97011359a
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
== Install gem install seivan-generators == Usage == Included Generators * seivan_html5: generates generic layout, stylesheet, and helper files. * seivan_config: generates a config YAML file and loader. * seivan_authentication: generates user model with sign up and log in. (TODO) * seivan_omniauth: generates initializer with data from config. == Rails 3 To use Nifty Generators with Rails 3 you will need to include it in your Gemfile. gem "seivan-generators" The generators use a colon as the separator instead of an underscore. rails g seivan:html5 --haml (no erb so far) rails g seivan:config or rails g seivan:config google then edit the config/google.yml so you can use the GOOGLE[:...] constant rails g seivan:authentication Creates user model, users_controller and sessions_controller rails g seivan:authentication account Creates account model, accounts_controller and sessions_controller. rails g nifty:authentication Account UserSession Creates account model, accounts_controller and user_sessions_controller.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
seivan-generators-0.5 | README.rdoc |
seivan-generators-0.4 | README.rdoc |
seivan-generators-0.3 | README.rdoc |
seivan-generators-0.2 | README.rdoc |