Sha256: f80348db2cdba483acbeb77d67d2e266ffcf336a4c1212807cb2f937d4ea8ebc
Contents?: true
Size: 457 Bytes
Versions: 22
Compression:
Stored size: 457 Bytes
Contents
require 'generators/authlogic' module Authlogic module Generators class SessionGenerator < Base desc "Builds an Authlogic session model" check_class_collision def create_session_file template 'session.rb', File.join('app', 'models', class_path, "#{file_name}.rb") end # HACK: make test_framework generator for this generator. hook_for :test_framework, :as => :model end end end
Version data entries
22 entries across 22 versions & 1 rubygems