Merge pull request #78 from balkansalat/rails3

Added sqlite database for development.
This commit is contained in:
bennibu 2012-10-27 06:33:22 -07:00
commit 4da1af614e
5 changed files with 8 additions and 4 deletions

3
.gitignore vendored
View File

@ -9,4 +9,5 @@ capfile
public/**/*_cached.*
.idea
.get-dump.yml
.sass-cache/
.sass-cache/
doc/app/

View File

@ -18,6 +18,7 @@ end
gem 'jquery-rails'
gem 'mysql2'
gem 'sqlite3', :group => :development
gem "fastercsv"
gem 'prawn'
gem 'haml-rails'
@ -34,4 +35,4 @@ gem 'delayed_job_active_record'
group :production do
gem 'exception_notification', :require => 'exception_notifier'
end
end

View File

@ -141,6 +141,7 @@ GEM
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.6)
therubyracer (0.10.2)
libv8 (~> 3.3.10)
thor (0.16.0)
@ -179,6 +180,7 @@ DEPENDENCIES
rails3_acts_as_paranoid (~> 0.1.4)
sass-rails (~> 3.2.3)
simple_form
sqlite3
therubyracer
uglifier (>= 1.0.3)
wikicloth

View File

@ -36,7 +36,7 @@
#recipients
= f.input :recipient_tokens, :input_html => { 'data-pre' => User.find_all_by_id(@message.recipients_ids).map { |u| u.token_attributes }.to_json }
= f.input :group_id, :as => :select, :collection => Group.order('type DESC, name DESC').all.reject { |g| g.memberships.empty? }
= f.input :group_id, :as => :select, :collection => Group.order('type DESC, name ASC').all.reject { |g| g.memberships.empty? }
= f.input :private
= f.input :subject
= f.input :body

View File

@ -1,5 +1,5 @@
Use this README file to introduce your application and point to useful places in the API for learning more.
Run "rake appdoc" to generate API documentation for your models and controllers.
Run "rake doc:app" to generate API documentation for your models and controllers.
= The Foodsoft