resque (1.25.2)
----mono_logger (~> 1.0)
----multi_json (~> 1.0)
----redis-namespace (~> 1.3)
----sinatra (>= 0.9.2)
----vegas (~> 0.1.2)
source 'https://rubygems.org'
gem 'rails', github: "rails/rails", branch: '3-2-stable'
gem 'mysql2'
gem 'spree', '1.3.2'
gem 'spree_gateway', :github => 'spree/spree_gateway', :branch => '1-3-stable'
gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'
gem 'spree_related_products', github: 'spree/spree_related_products', branch: '1-3-stable'
gem 'open_uri_redirections'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'turbo-sprockets-rails3'
gem 'therubyracer', :platforms => :ruby
gem 'sprockets', '2.2.2'
end
gem "jquery-rails", "~> 2.2.0"
gem 'jquery-ui-rails'
gem 'dalli'
gem 'memcachier'
gem 'haml', '3.1.8'
gem 'haml-rails', '0.3.5'
gem "slim", "~> 2.0.2"
gem "ckeditor"
gem "recaptcha", :require => "recaptcha/rails"
gem 'roo'
gem 'zip-zip'
gem "rubyzip", require: 'zip/zip'
gem 'axlsx_rails'
gem 'youtube_addy'
gem 'activerecord-import', '0.3.1'
gem "magic_enum"
gem "daemons"
gem "squeel"
gem 'russian', '~> 0.6.0'
group :production do
gem 'unicorn'
end
group :development do
gem 'capistrano'
gem 'rvm-capistrano', require: false
gem 'sextant'
gem 'pry-rails'
end
gem 'resque'
@subscriber.save!
мало ли что <input type=checkbox data-id=<%= task.id %> name=task/>
$('#checkbox').change(function(){
var url = '/task/' + $(this).data('id') + 'state';
$.ajax({
url: url,
data: { status: $(this).val() },
method: "PATCH"
})
})