Skip to content

Instantly share code, notes, and snippets.

source 'https://rubygems.org'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.5'
# Sprockets!
gem 'sprockets'
# Use sqlite3 as the database for Active Record
gem 'pg'
GIT
remote: git://github.com/halo/spree_digital.git
revision: d6923fd530e83716c156673f3c9803afae1502e9
branch: 2-2-stable
specs:
spree_digital (1.1.1)
spree_api
spree_backend
spree_core (~> 2.2.0)
spree_frontend
/*
= require jquery-ui-1.9.2.custom
= require jquery.bxslider
= require icons
= require icons-codes
*/
@import 'compass';
@import 'compass/css3';
@import 'spree/fancy/variables';
const path = require("path");
module.exports = {
context: __dirname,
entry: "./frontend/synthesizer.jsx",
output: {
path: path.join(__dirname),
filename: "bundle.js",
publicPath: "/"
},
{
"name": "synth",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "webpack-dev-server --inline --hot"
},
"author": "",
{ "presets": ["es2015", "react"] }
@louisscruz
louisscruz / Gemfile
Last active October 2, 2017 16:25
Add Livereload
group :development do
gem 'guard-livereload', '~> 2.5', require: false
gem 'rack-livereload'
end
@louisscruz
louisscruz / channel_channel.rb
Last active February 19, 2018 04:30
ActionCable
class ChannelChannel < ApplicationCable::Channel
def subscribed
stream_from "channel_#{params[:channel_name]}"
end
end
@louisscruz
louisscruz / update_rails.md
Last active June 30, 2017 00:54
Update Rails

Rails 5 Update Proposal

What follows is a proposal to update our curriculum projects, homework, and assessments to Rails 5.

Purpose

There are several reasons why we should update to Rails 5.

Students Are Already Using It

@louisscruz
louisscruz / on_updating_to_rails_5.md
Created July 3, 2017 06:20
On Updating To Rails 5

On Updating To Rails 5

Hello, fellow TA. We're really glad to have you on the Rails 5 update team!

Our students are already using Rails 5, but our curriculum is not. We're going to fix that.

We'll be updating the curriculum to Rails 5.1.2. Before going on, I recommend you check that you have that specific version installed.