Permalink
Browse files

adding in attachment helpers

  • Loading branch information...
1 parent 2e21b2d commit 5ba2b97ca260d25f90d02b8f53fb9c1a5626d1b0 Hampton Catlin committed Mar 11, 2009
Showing with 8 additions and 3 deletions.
  1. +1 −1 app/models/template.rb
  2. +6 −1 app/views/templates/new.html.haml
  3. +1 −1 lib/tasks/load.rake
View
@@ -4,7 +4,7 @@ class Template < ActiveRecord::Base
serialize :global_options, Hash
def to_ruby
- result = ["# Created by RailsBoost.com", "# Generated at #{Time.now}", nil]
+ result = ["# Created by RailsBoost.com", "# Generated at #{Time.now}", "# Generator by Hampton Catlin", nil]
[:plugin, :gem, :rake, :generate, ""].each do |type|
@@ -17,9 +17,10 @@
= check_box_for "erubis"
%fieldset
%legend Pick Your Javascript Framework
+ %em Prototype is installed by default
= check_box_for "jquery"
= check_box_for "jquery-form"
- = check_box_for "prototype"
+
%fieldset
%legend Testing Frameworks
= check_box_for "rspec-rails"
@@ -33,6 +34,10 @@
= check_box_for "make_resourceful"
= check_box_for "resource_controller"
%fieldset
+ %legend Attachment Helper
+ = check_box_for "attachment_fu"
+ = check_box_for "paperclip"
+ %fieldset
%legend Misc
= check_box_for "delete default files"
= check_box_for "git-ignore"
View
@@ -1,5 +1,5 @@
-namespace :command do
+namespace :commands do
desc "Update/Load commands from the remote server"
task :load => :environment do
require 'open-uri'

0 comments on commit 5ba2b97

Please sign in to comment.