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/active_record
Justin Mazzi c7d2078596 Update ActiveRecord#attribute_present? to work as documented
"Returns true if the specified attribute has been set by the user or by
a database load and is neither nil nor empty?"

Fixes #1613
2011-11-05 22:36:19 -04:00
..
associations Use uniq instead of manually putting a DISTINCT in the query 2011-11-05 16:22:18 +00:00
attribute_methods Revert "Raise error on unknown primary key." 2011-10-05 20:21:21 +01:00
coders
connection_adapters implements AR::Relation#explain 2011-11-05 18:30:19 -07:00
fixtures * Psych errors with poor yaml formatting are proxied. Fixes #2645, #2731 2011-09-01 15:08:19 -07:00
locale
locking Added a note that optimistic locking also needs a hidden field to function across web workers. 2011-10-25 13:57:24 +03:00
migration Fixed bad options order in ActiveRecord::Migration::CommandRecorder#invert_rename_index 2011-08-28 06:02:15 +02:00
railties safeguard against configs missing environment or the database key 2011-10-26 00:41:41 +05:30
relation Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL query 2011-11-05 16:22:18 +00:00
serializers to_xml should also rely on serializable hash. 2011-09-18 09:09:01 -07:00
validations Only use LOWER for mysql case insensitive uniqueness check when column has a case sensitive collation. 2011-10-09 13:14:07 -07:00
aggregations.rb minor fixes in the composed_of doc 2011-10-22 23:53:52 +05:30
associations.rb Add some note on adding index to HABTM table 2011-10-20 17:15:28 -04:00
attribute_methods.rb Stop trying to be clever about when to define attribute methods. 2011-09-14 00:00:37 +01:00
autosave_association.rb Raise error when using write_attribute with a non-existent attribute. 2011-09-13 00:01:58 +01:00
base.rb Update ActiveRecord#attribute_present? to work as documented 2011-11-05 22:36:19 -04:00
callbacks.rb
counter_cache.rb Make it the responsibility of the connection to hold onto an ARel visitor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. 2011-08-08 23:28:23 +01:00
dynamic_finder_match.rb
dynamic_scope_match.rb
errors.rb Consider attempted action in exception message of ActiveRecord::StaleObjectError 2011-10-14 18:20:41 +02:00
fixtures.rb Transactional fixtures enlist all active database connections. 2011-10-05 19:10:18 -07:00
identity_map.rb
log_subscriber.rb
migration.rb AR changes to support creating ordered (asc, desc) indexes 2011-11-04 15:45:24 -05:00
named_scope.rb reduce object allocation during AR instantiation 2011-06-28 10:22:39 -07:00
nested_attributes.rb Exclude _destroy parameter in :all_blank check (issue #2937) 2011-10-17 13:29:11 -04:00
observer.rb Allow ActiveRecord observers to be disabled. 2011-08-12 20:48:44 -07:00
persistence.rb Revert "Raise error on unknown primary key." 2011-10-05 20:21:21 +01:00
query_cache.rb use thread locals and an instance variable within QueryCache#BodyProxy to maintain appropriate linkage with AR database connection across threads 2011-10-07 10:05:51 +01:00
railtie.rb
reflection.rb Allow the :class_name option for associations to take a symbol. 2011-11-04 11:17:56 +00:00
relation.rb implements AR::Relation#explain 2011-11-05 18:30:19 -07:00
result.rb
schema.rb
schema_dumper.rb AR changes to support creating ordered (asc, desc) indexes 2011-11-04 15:45:24 -05:00
serialization.rb ActiveModel support for the :include serialization option 2011-07-17 11:34:07 -07:00
session_store.rb Merge pull request #1163 from amatsuda/sexier_migration_31 2011-11-04 03:29:59 -07:00
store.rb Fix that changing a store should mark the store attribute as changed 2011-10-25 17:22:52 -05:00
test_case.rb
timestamp.rb Allow instances to disable record_timestamps 2011-10-26 18:20:12 +01:00
transactions.rb Revert "Raise error on unknown primary key." 2011-10-05 20:21:21 +01:00
validations.rb
version.rb Master version is 3.2.0.beta 2011-06-30 10:18:36 -03:00