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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -