Go to file
Simon Williams b4fde1f11b used ignored_columns instead of DROPPED_COLUMNS
closes CORE-1245

recent internal changes in rails (released in 5.1.6) make it more
difficult for our module prepend to work, because column information is
no longer referenced lazily when checking on attribute defaults (see
changes to model_schema.rb). this means that we would need to tie in at
a lower level so that _default_attributes excludes the dropped column,
but in looking at that, Rails 5 added support for ignoring columns,
which ties in at the right level and should solve the same use case we
have.

see http://api.rubyonrails.org/classes/ActiveRecord/ModelSchema/ClassMethods.html#method-i-ignored_columns-3D

Change-Id: I1f76e9d0894551f90232a36f5d48f27f8989c3a1
Reviewed-on: https://gerrit.instructure.com/145723
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2018-05-04 20:53:26 +00:00
Gemfile.d upgrade pact, allow native live events contract testing 2018-05-02 15:15:06 +00:00
app fix sorting files inside folders containing '?' 2018-05-04 19:35:31 +00:00
bin upgrade pact, allow native live events contract testing 2018-05-02 15:15:06 +00:00
build update bundler in Dockerfiles 2018-04-23 20:47:34 +00:00
client_apps Remove a couple explicit keys to make i18n refactor easier 2018-04-25 20:00:15 +00:00
config used ignored_columns instead of DROPPED_COLUMNS 2018-05-04 20:53:26 +00:00
db/migrate Make binding queries shard aware 2018-05-01 15:37:29 +00:00
doc Allow linking of outcomes with nil values. 2018-04-30 15:20:22 +00:00
docker-compose update js-tests to node 8 and fix cmd 2018-04-06 17:46:58 +00:00
frontend_build removed unused webpack code 2018-05-02 16:36:12 +00:00
gems Hide points in outcomes reports when necessary 2018-05-02 21:54:48 +00:00
jest let jest know about some of our aliases 2018-01-12 19:16:18 +00:00
lib make DDC calls more efficient if we can scope to specific users 2018-05-03 22:01:37 +00:00
packages Merge 3 or more empty days 2018-05-04 18:32:03 +00:00
pact/consumer spec: PACT WIP creating User token and our first passing specs! 2018-03-14 14:45:59 +00:00
public Get slickGrid to work in RTL 2018-04-30 21:20:54 +00:00
script Fix script/uncache-packages to work on macs 2018-05-01 18:59:10 +00:00
spec used ignored_columns instead of DROPPED_COLUMNS 2018-05-04 20:53:26 +00:00
.babelrc add babel-plugin-transform-runtime for smaller JS 2017-10-12 14:35:46 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore fix canvas-planner docker build process 2018-04-17 14:44:18 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore ignore AmbiguousBlockAssociation for specs 2018-02-12 18:37:09 +00:00
.eslintrc.js Fix eslint 2018-05-03 23:18:43 +00:00
.gitignore drop rails 5.0 2018-03-20 19:50:23 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc Use node 8.10.0 instead of 8.9.4 2018-03-09 18:56:22 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml don't care about this cop 2018-04-25 20:14:29 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc stylelint, refs SD-1603 2016-10-25 00:21:16 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile update bundler in Dockerfiles 2018-04-23 20:47:34 +00:00
Dockerfile-production update bundler in Dockerfiles 2018-04-23 20:47:34 +00:00
Gemfile allow choosing rails 5.1 via consul 2017-10-11 19:13:02 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
bower.json use node_modules wherever possible 2016-11-01 15:14:52 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml Rename docker-compose.test.yml 2017-05-17 18:51:53 +00:00
docker-compose.override.yml upgrade yarn to 1.6.0 2018-04-19 20:31:06 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js speed up font loading stuff a bit 2018-05-03 19:44:27 +00:00
issue_template.md Make issue template disclaimer a comment 2018-05-01 15:00:27 +00:00
jest.config.js spec: restrict jest filename matching 2018-03-06 20:24:50 +00:00
karma.conf.js speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
package.json maintain precision of grades in grade input 2018-05-03 18:36:03 +00:00
schema.graphql fix context cards for concluded users 2018-05-01 17:18:45 +00:00
webpack.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00
webpack.production.config.js a couple uglifyJS settings to make prod debugging easier 2018-05-03 19:52:15 +00:00
webpack.test.config.js speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
yarn.lock maintain precision of grades in grade input 2018-05-03 18:36:03 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.