What follows is a proposal to update our curriculum projects, homework, and assessments to Rails 5.
There are several reasons why we should update to Rails 5.
| 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"] } |
| group :development do | |
| gem 'guard-livereload', '~> 2.5', require: false | |
| gem 'rack-livereload' | |
| end |
| class ChannelChannel < ApplicationCable::Channel | |
| def subscribed | |
| stream_from "channel_#{params[:channel_name]}" | |
| end | |
| end |
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.