Sha256: 02d5e945bc8a1fe15fe6b8c7a1b29e04db737b9e2eda1c56b7cae06b159b7a2a
Contents?: true
Size: 751 Bytes
Versions: 6
Compression:
Stored size: 751 Bytes
Contents
script/rails g saucy:install script/rails g saucy:features script/rails g saucy:views To change the layout for a controller inside of saucy, add a line like this to your config/application.rb: config.saucy.layouts.accounts.index = "custom" To extend the ProjectsController: class ProjectsController < ApplicationController include Saucy::ProjectsController def edit super @deleters = @project.deleters end end Plans need to exist for users to sign up for. In db/seeds.rb: %w(free expensive mega-expensive).each do |plan_name| Plan.find_or_create_by_name(plan_name) end Then run: rake db:seed To use the seed data in your Cucumber: features/support/seed.rb: require Rails.root.join('db','seeds')
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
saucy-0.1.13 | README |
saucy-0.1.12 | README |
saucy-0.1.11 | README |
saucy-0.1.9 | README |
saucy-0.1.8 | README |
saucy-0.1.7 | README |