This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.1.4' | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.3' | |
# Use Uglifier as compressor for JavaScript assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '~> 4.0.0' | |
gem 'pg' | |
gem 'spree', github: 'spree/spree', branch: '2-2-stable' | |
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-2-stable' | |
gem 'spree_static_content', github: 'spree/spree_static_content', branch: '2-2-stable' | |
gem 'spree_address_book', github: 'romul/spree_address_book', branch: '2-1-stable' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2010 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Unobtrusive autocomplete for model associations. | |
* | |
* For instance, assume you have a model `Task' and a model `User'. The task has | |
* an attribute user_id which associates the user who is assigned to the task. | |
* This widget allows you to build a form for tasks where the association is | |
* represented by a hidden user_id field that gets populated through an | |
* autocomplete text field. | |
* | |
* To use it you just have to include the tag attributes for the autocomplete |