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
<?xml version="1.0" encoding="UTF-8"?> | |
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
<AllowedMethod>POST</AllowedMethod> | |
<AllowedMethod>PUT</AllowedMethod> | |
<MaxAgeSeconds>3000</MaxAgeSeconds> | |
<AllowedHeader>*</AllowedHeader> | |
</CORSRule> |
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 'active_model_serializers', git: 'git://github.com/rails-api/active_model_serializers.git' | |
gem 'ember-rails', git: 'git://github.com/emberjs/ember-rails.git' # so we get the pre version | |
gem 'rack-mini-profiler', git: 'git://github.com/SamSaffron/MiniProfiler' | |
gem 'vestal_versions', git: 'git://github.com/zhangyuan/vestal_versions' | |
gem 'message_bus', path: 'vendor/gems/message_bus' | |
gem 'rails_multisite', path: 'vendor/gems/rails_multisite' | |
gem 'simple_handlebars_rails', path: 'vendor/gems/simple_handlebars_rails' |
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
Request URL:http://192.168.10.200:3000/archives/1 | |
Request Method:GET | |
Status Code:200 OK | |
Returns: | |
archive: {id:1, name:numbers, archive_item_count:60,…} | |
archive_items: [{id:1278, original_subject:Stack Overflow Careers -- Email Verification,…},…] | |
EVERYTHING A-OK! List of items displays perfectly in the View. |
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
# A simple rake task to update Ember and Ember Data to latest official build from S3. | |
# | |
# Assumptions: | |
# - You're using the `ember-rails` gem | |
# - You are requiring rember with sprockets with something like `require ember` | |
# | |
# Usage: | |
# | |
# $ rake ember:update | |
# |
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
Hi John, | |
I thought you might be interested in this announcement: Jeffrey Zeldman, | |
a pioneer in online standards and usability on the Web, is partnering | |
with Quarterly Co. to engage with fans of his approach to the Web by | |
sending personally curated packages every three months. | |
Zeldman's influence online has steadily grown‹he now has more than | |
300,000 Twitter followers. As a Quarterly Co. contributor, Zeldman | |
is taking that influence offline to share digitally inspired ideas |
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
VCR.configure do |c| | |
c.configure_rspec_metadata! | |
c.cassette_library_dir = 'spec/cassettes' | |
c.hook_into :webmock | |
end |
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
We are looking for a Sr. Ruby Developer. Offices are in Gastown. We | |
have an ecommerce application that has taken off. We need you to be a | |
top Craftsman/woman. | |
You will contribute to the codebase. It's yours to mold. | |
The likely candidate needs at least 2+ years working on highly | |
scalable projects (ecommerce ideally) on the Ruby on Rails Framework. | |
You have at least five years commerical development. You have worked | |
on cloud based infrastructure and touched all the applicable areas |
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
- Ember.Model | |
- Ember-Resource | |
- Ember Restless | |
- Emu | |
- Ember.js Persistence Foundation |
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
# MODEL | |
class Case < ActiveRecord::Base | |
include Eventable | |
has_many :tasks | |
concerning :Assignment do | |
def assign_to(new_owner:, details:) | |
transaction do |