Merge branch 'rails3' of github.com:bennibu/foodsoft into rails3

Conflicts:
	Gemfile
This commit is contained in:
benni 2012-11-24 15:27:48 +01:00
commit 7c9d666909
5 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ public/**/*_cached.*
.idea .idea
.get-dump.yml .get-dump.yml
.sass-cache/ .sass-cache/
doc/app/

View File

@ -37,3 +37,7 @@ gem 'meta_search'
group :production do group :production do
gem 'exception_notification', :require => 'exception_notifier' gem 'exception_notification', :require => 'exception_notifier'
end end
group :development do
gem 'sqlite3'
end

View File

@ -153,6 +153,7 @@ GEM
hike (~> 1.2) hike (~> 1.2)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.6)
therubyracer (0.10.2) therubyracer (0.10.2)
libv8 (~> 3.3.10) libv8 (~> 3.3.10)
thor (0.16.0) thor (0.16.0)
@ -197,6 +198,7 @@ DEPENDENCIES
simple-navigation simple-navigation
simple-navigation-bootstrap simple-navigation-bootstrap
simple_form simple_form
sqlite3
therubyracer therubyracer
twitter-bootstrap-rails twitter-bootstrap-rails
uglifier (>= 1.0.3) uglifier (>= 1.0.3)

View File

@ -37,7 +37,7 @@
#recipients #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 :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 :private
= f.input :subject, input_html: {class: 'input-xxlarge'} = f.input :subject, input_html: {class: 'input-xxlarge'}
= f.input :body, input_html: {class: 'input-xxlarge'} = f.input :body, input_html: {class: 'input-xxlarge'}

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. 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 = The Foodsoft