Skip to content

Instantly share code, notes, and snippets.

@AJ-Acevedo
Last active December 21, 2015 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AJ-Acevedo/6244208 to your computer and use it in GitHub Desktop.
Save AJ-Acevedo/6244208 to your computer and use it in GitHub Desktop.
Multienancy with Rails book corrections from: The version published on 2013-08-10

These suggestions are referencing pages from the pdf version published on 2013-08-10

Page: 5
Details:
If using rspec then there is no need for the test directory.

Original:
rails plugin new subscribem --full --mountable --dummy-path spec/dummy

Suggestion:
rails plugin new subscribem --full --mountable --skip-test-unit --dummy-path=spec/dummy


Page: 6
Details: Rubygems.org now uses a secure gem source

Original:

source"http://rubygems.org"
gemspec

Suggestion:

source"https://rubygems.org"
gemspec

Page: 6
Details: There is an extra space before __FILE__

Original:

require File.expand_path("../dummy/config/environment",  __FILE__)

Suggestion:

require File.expand_path("../dummy/config/environment", __FILE__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment