RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: christhekeele
Shouldn't that be include Concerns::Userable and module Concerns::Userable? Rails autoloading assumes directories correlate to namespaces.
include Concerns::Userable
module Concerns::Userable
I wasn't aware that
gem 'jquery-datatables-rails', github: 'rweng/jquery-datatables-rails'
was valid bundler syntax, I thought it was :git. Is there a difference between the two? I can't exactly google the issue due to white noise.
:git
Shouldn't that be
include Concerns::Userable
andmodule Concerns::Userable
? Rails autoloading assumes directories correlate to namespaces.I wasn't aware that
was valid bundler syntax, I thought it was
:git
. Is there a difference between the two? I can't exactly google the issue due to white noise.