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
Jon Leighton ee2be435b1 Raise error on unknown primary key.
If we don't have a primary key when we ask for it, it's better to fail
fast. Fixes GH #2307.
2011-10-05 01:11:40 +01:00
..
associations Merge pull request #3030 from htanata/fix_habtm_select_query_method 2011-09-26 16:52:23 +01:00
attribute_methods Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
coders Make serialized columns with explicit object_type return a new instance of the object instead of nil 2011-02-03 09:08:45 -08:00
connection_adapters LRU cache in mysql and sqlite are now per-process caches. 2011-09-07 15:26:47 -07:00
fixtures * Psych errors with poor yaml formatting are proxied. Fixes #2645, #2731 2011-09-01 15:08:19 -07:00
locale
locking 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
migration Fixed bad options order in ActiveRecord::Migration::CommandRecorder#invert_rename_index 2011-08-28 06:02:15 +02:00
railties Changing rake db:schema:dump to run :environment as well as :load_config, as running :load_config alone will lead to the dumper being run without including extensions such as those included in foreigner and spatial_adapter. 2011-10-04 11:25:20 +02:00
relation copy edits 908f2616 2011-09-20 19:46:59 +05:30
serializers to_xml should also rely on serializable hash. 2011-09-18 09:09:01 -07:00
validations make the warning clear about the effect of using validates_associated on both sides on an association. 2011-08-13 16:22:11 -07:00
aggregations.rb Remove extra white spaces on ActiveRecord docs. 2011-05-23 20:58:25 -03:00
associations.rb fixing docs for delete_sql where quotes should be used in this example. 2011-09-26 20:06:17 -03: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 Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
callbacks.rb Added back the Callback debugging section by interrogating the _*_callbacks method 2011-03-29 11:22:16 +08:00
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 be kind to the garbage collector: only instantiate objects when absolutely necessary 2010-09-27 18:07:35 -07:00
dynamic_scope_match.rb constructor should not do so much work; avoid allocating object if possible 2010-09-27 17:38:49 -07:00
errors.rb Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
fixtures.rb Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
identity_map.rb Fix typos in IM documentation 2011-05-10 03:44:57 -07:00
log_subscriber.rb Make the identity map use the instrumentation infrastructure so we can style the messages nicely with colors (FIXME: Can someone look into why the test is not working?) 2011-05-01 19:10:21 -06:00
migration.rb add a migrate class method and delegate to the new instance 2011-08-13 16:22:27 -07:00
named_scope.rb reduce object allocation during AR instantiation 2011-06-28 10:22:39 -07:00
nested_attributes.rb no need to sort the values 2011-07-20 15:52:53 -07:00
observer.rb Allow ActiveRecord observers to be disabled. 2011-08-12 20:48:44 -07:00
persistence.rb Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
query_cache.rb clear and disable query cache when an exception is raised from called middleware 2011-08-28 14:16:00 -07:00
railtie.rb Everyone receives app as argument for consistency. 2011-05-25 01:37:55 +02:00
reflection.rb Don't call self.class unless necessary. Closes #3171. 2011-09-29 18:00:30 +01:00
relation.rb Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
result.rb Remove extra white spaces on ActiveRecord docs. 2011-05-23 20:58:25 -03:00
schema.rb Allow to run migrations from more than one directory 2010-12-09 00:04:36 +01:00
schema_dumper.rb dump IO encoding value along with schema.rb so the file can be reloaded. fixes #1592 2011-08-13 16:22:24 -07:00
serialization.rb ActiveModel support for the :include serialization option 2011-07-17 11:34:07 -07:00
session_store.rb Merge pull request #2042 from SAP-Oxygen/master-sqlbypass-patch 2011-07-12 15:06:00 -07:00
test_case.rb Make assert_no_queries literally enforce that there are no queries. As in, not a single line of SQL should be sent to the database, not even stuff that is ignored by assert_queries. The argument being that if you write assert_no_queries, you really do not want there to be any queries. 2011-06-12 18:50:24 +01:00
timestamp.rb Raise error when using write_attribute with a non-existent attribute. 2011-09-13 00:01:58 +01:00
transactions.rb Raise error on unknown primary key. 2011-10-05 01:11:40 +01:00
validations.rb Remove extra white spaces on ActiveRecord docs. 2011-05-23 20:58:25 -03:00
version.rb Master version is 3.2.0.beta 2011-06-30 10:18:36 -03:00