updating AR lite and formatting SQL
oh god i hope that fixed has_many :through :source because that code is an abomination