1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Rafael Mendonça França a2075f4142 Revert "Merge pull request #13344 from ccutrer/fix-from-default-select"
This reverts commit 3ea8403554, reversing
changes made to e4cde5d58c.

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/relation/query_methods.rb

Reason: using `from` without `select` should not change the select list
to SELECT * because it can lead different query results. If it is needed
to change the table to a subquery or a view you can pass a table alias
in the `from` call or use `select('subquery.*')`.

Fixes #14049.
2014-02-17 10:49:38 -03:00
..
active_record Revert "Merge pull request #13344 from ccutrer/fix-from-default-select" 2014-02-17 10:49:38 -03:00
rails/generators Make .next_migration_number reusable for third party AR generators. 2013-09-30 15:03:55 +02:00
active_record.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30