rubygems - Why are rails gems not using the same gem and library names? -
maybe it's because it's late @ night, spent way long figuring out while gem activesupport
, need require 'active_support'
. same activerecord
, actionmailer
, , other rails libraries defined in https://github.com/rails/rails (so @ least it's internally consistent).
is there historical reason this, or benefits it?
historically, change deprecation warning going rails 3 (started in rails 2.3.2?). there no real advantage or anything. it's legacy (yes confusing). can see commit here adds deprecation warnings: https://github.com/rails/rails/commit/08d15f86c447fea31132d11df03ff5df41650f50#diff-2
devs cheering in comments.
really renaming (or zero'ing out) lib/activerecord.rb lib/active_record.rb etc. that's history , no 1 liked it. lately, it's been less of hot topic since people have heard or run now. however, i'm sure i'd warning/error if upgraded 1 of old rails projects. sorry if annoying you, i've been there too. :)
Comments
Post a Comment