Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/trunk/activerecord/lib/active_record/base.rb


Mode:

Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @9235 [9235] 04/06/08 22:26:15 pratik Ensure that respond_to? considers dynamic finder methods. Closes #11538. …
(edit) @9226 [9226] 04/05/08 03:52:58 pratik Improve documentation.
(edit) @9157 [9157] 03/31/08 01:10:04 bitsweat Partial updates include only unsaved attributes. Off by default; set …
(edit) @9122 [9122] 03/28/08 21:21:01 david Switched to UTC-timebased version numbers for migrations and the schema. …
(edit) @9092 [9092] 03/26/08 02:44:16 nzkoz Typo fix in documentation from [9090] References #11422
(edit) @9090 [9090] 03/25/08 23:56:48 david Fixed that ActiveRecord#Base.find_or_create/initialize would not honor …
(edit) @9085 [9085] 03/24/08 19:59:22 david Added ActiveRecord#Base.all/first/last as aliases for …
(edit) @9082 [9082] 03/23/08 05:00:25 bitsweat Fix merging blank conditions. Closes #10764 [mcmire, cavalle]
(edit) @9056 [9056] 03/18/08 18:23:14 bitsweat Migrations: create_table supports primary_key_prefix_type. Closes #10314.
(edit) @9023 [9023] 03/13/08 18:45:54 david Docfix (closes #11309) [thechrisoshow]
(edit) @9022 [9022] 03/13/08 18:41:42 david Fixed that scoped joins would not always be respected (closes #6821) …
(edit) @9012 [9012] 03/12/08 21:26:02 david Added ActiveRecord::Base.find(:last) (closes #11338) [miloops]
(edit) @9011 [9011] 03/11/08 12:05:06 pratik Add warning in documentation for increment!, decrement! and toggle! …
(edit) @8936 [8936] 02/27/08 23:05:59 bitsweat Fix edge case with colons in times interpreted as bind variables by …
(edit) @8898 [8898] 02/19/08 21:01:10 nzkoz Correct typo in before_type_cast code. Closes #11165 [amishyn]
(edit) @8882 [8882] 02/16/08 20:47:01 gbuesing ActiveRecord::Base#instantiate_time_object only uses Time.zone when …
(edit) @8871 [8871] 02/14/08 20:09:05 nzkoz Avoid repeated calls to Base#connection. Closes #11111 [adymo]
(edit) @8863 [8863] 02/13/08 02:19:46 nzkoz Remove options from the attributes method, tidy up the implementation. …
(edit) @8858 [8858] 02/11/08 21:02:17 nzkoz Avoid cloning in Base#attributes_before_typecast. Closes #11077
(edit) @8855 [8855] 02/10/08 22:46:31 gbuesing Multiparameter attributes for time columns fail over to DateTime when out …
(edit) @8847 [8847] 02/10/08 17:02:22 gbuesing TimeZone#new renamed #local, so that new TimeWithZone instances can be …
(edit) @8824 [8824] 02/08/08 23:35:33 nzkoz Avoid cloning in Base#attributes. Closes #11047 [juanjo.bazan]
(edit) @8806 [8806] 02/06/08 06:43:02 rick Add Time Zone support to ActiveRecord, and config.time_zone property for …
(edit) @8777 [8777] 02/02/08 03:37:25 bitsweat When multiparameter date assignment fails due to an invalid date, fall …
(edit) @8770 [8770] 02/01/08 23:15:57 nzkoz Avoid Base#attributes when saving / creating records. Closes #10978
(edit) @8672 [8672] 01/19/08 04:19:53 bitsweat Introduce preload query strategy for eager :includes. Closes #9640.
(edit) @8671 [8671] 01/19/08 03:45:24 bitsweat Support aggregations in finder conditions. Closes #10572.
(edit) @8571 [8571] 01/05/08 14:58:28 bitsweat More thoroughly quote table names. Exposes some issues with sqlite2 …
(edit) @8554 [8554] 01/04/08 03:19:50 bitsweat pdate_all ignores scoped :order and :limit, so post.comments.update_all …
(edit) @8546 [8546] 01/03/08 21:05:12 david Moved the caching stores from ActionController::Caching::Fragments::* to …
(edit) @8534 [8534] 01/03/08 00:30:22 david Added by parameter to increment, decrement, and their bang varieties so …
(edit) @8531 [8531] 01/02/08 21:39:49 rick Optimize ActiveRecord::Base#exists? to use #select_all instead of #find. …
(edit) @8496 [8496] 12/28/07 03:58:01 bitsweat Use extract_options! rather than Hash test + pop. Closes #10628 [ssoroka]
(edit) @8487 [8487] 12/27/07 11:16:51 bitsweat Ruby 1.9 compat: don't modify iterator target within block
(edit) @8481 [8481] 12/22/07 11:26:03 bitsweat Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized …
(edit) @8455 [8455] 12/21/07 01:48:20 bitsweat Benchmark logs for any level below or equal to the one specified, rather …
(edit) @8433 [8433] 12/18/07 21:14:07 bitsweat Ruby 1.9 compat: move from the deprecated Base64 module to …
(edit) @8381 [8381] 12/13/07 19:51:44 marcel Remove references to nonexistent :joins documentation. Closes #10498
(edit) @8375 [8375] 12/11/07 01:53:54 bitsweat Base.exists? doesn't rescue exceptions to avoid hiding SQL errors. Closes …
(edit) @8367 [8367] 12/10/07 09:12:18 bitsweat Update destroy_all and delete_all documentation to better describe their …
(edit) @8362 [8362] 12/10/07 04:13:33 bitsweat Document Active Record exceptions. Closes #10444.
(edit) @8361 [8361] 12/10/07 03:34:05 bitsweat Remove unused ConnectionFailed exception
(edit) @8354 [8354] 12/10/07 01:48:14 bitsweat Axe outdated :ar_joins commentary
(edit) @8319 [8319] 12/06/07 00:01:11 david Fixed that the truncation of strings longer than 50 chars should use …
(edit) @8298 [8298] 12/05/07 17:37:18 marcel More complete documentation for find_by_sql. Closes #7912 [fearoffish]
(edit) @8297 [8297] 12/05/07 17:35:17 marcel Document API for exists?'s parameter and provide examples of usage. Closes …
(edit) @8296 [8296] 12/05/07 17:33:18 marcel Document API for create's attributes parameter and provide examples. …
(edit) @8295 [8295] 12/05/07 17:29:27 marcel Documentation for find incorrectly omits the :conditions option from …
(edit) @8293 [8293] 12/05/07 15:17:34 marcel Document options and add examples for update. Closes #7985 [fearoffish]
(edit) @8292 [8292] 12/05/07 15:15:56 marcel Document options and add examples for delete. Closes #7986 [fearoffish]
(edit) @8291 [8291] 12/05/07 15:14:40 marcel Document options and add examples for destroy. Closes #7988 [fearoffish]
(edit) @8290 [8290] 12/05/07 15:13:10 marcel Document options and add examples for update_all. Closes #7990
(edit) @8289 [8289] 12/05/07 15:06:45 marcel Document options for update_counters. Closes #8091 [fearoffish]
(edit) @8286 [8286] 12/05/07 14:55:54 marcel Add documentation for freeze and readonly related methods. Closes #8878
(edit) @8282 [8282] 12/05/07 14:28:05 marcel Give examples for what tables should be called for models inside a module …
(edit) @8280 [8280] 12/05/07 14:22:26 marcel Document automatically generated predicate methods for attributes. Closes …
(edit) @8260 [8260] 12/03/07 02:22:06 david Copy the cache too
(edit) @8259 [8259] 12/03/07 02:01:21 david Added ActiveRecord::Base#becomes to turn a record into one of another …
(edit) @8231 [8231] 11/28/07 20:13:17 bitsweat attr_protected and _accessible use sets of strings instead of arrays of …
(edit) @8230 [8230] 11/28/07 20:12:49 bitsweat attr_readonly uses a set of strings instead of an array of symbols …
(edit) @8120 [8120] 11/09/07 19:57:24 david Kill the whiny_protected_attributes setting and kill the exception raised. …
(edit) @8113 [8113] 11/08/07 03:37:16 marcel Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
(edit) @8109 [8109] 11/07/07 15:07:39 david Address shortcomings of changeset [8054] [protocool]
(edit) @8107 [8107] 11/06/07 23:50:23 marcel Enhance explanation with more examples for attr_accessible macro. Closes …
(edit) @8054 [8054] 10/29/07 21:39:52 bitsweat Introduce finder :joins with associations. Same :include syntax but with …
(edit) @8032 [8032] 10/26/07 04:07:39 marcel Add docs explaining how to protect all attributes using attr_accessible …
(edit) @8025 [8025] 10/26/07 03:20:14 marcel Use VALID_FIND_OPTIONS when resolving :find scoping rather than hard …
(edit) @7943 [7943] 10/16/07 08:08:08 bitsweat Qualified column names work in hash conditions, like :conditions => { …
(edit) @7932 [7932] 10/16/07 05:06:33 bitsweat Quote table names. Defaults to column quoting. Closes #4593.
(edit) @7908 [7908] 10/15/07 07:13:40 bitsweat Factor out checks for duplicable objects. Closes #9333.
(edit) @7826 [7826] 10/10/07 19:11:50 xal find_and_(initialize|create)_by methods can now properly initialize …
(edit) @7802 [7802] 10/08/07 06:21:38 nzkoz Make sure AR::Base#clone handles attr changes made in after_initialize …
(edit) @7777 [7777] 10/07/07 19:43:19 bitsweat Raise ProtectedAttributeAssignmentError in development and test …
(edit) @7753 [7753] 10/06/07 00:49:58 nzkoz Send the correct INSERT statement when dealing with objects with only …
(edit) @7749 [7749] 10/06/07 00:25:07 rick Fix that ActiveRecord would create attribute methods and override custom …
(edit) @7723 [7723] 10/03/07 05:31:36 nzkoz Cache the descends_from_activerecord? call to speed up query generation. …
(edit) @7693 [7693] 09/30/07 07:09:44 rick Add attr_readonly to specify columns that are skipped during a normal …
(edit) @7666 [7666] 09/28/07 14:18:47 david Fixed spelling errors (closes #9706) [tarmo/rmm5t]
(edit) @7561 [7561] 09/22/07 18:17:53 david Docfix (closes #8767) [kampers]
(edit) @7510 [7510] 09/18/07 10:04:11 xal Define dynamic finders as real methods after first usage. Close #9317
(edit) @7509 [7509] 09/18/07 06:43:05 bitsweat Deprecation: remove deprecated threaded_connections methods. Use …
(edit) @7473 [7473] 09/14/07 00:25:59 bitsweat Deprecation: removed Reloadable.
(edit) @7471 [7471] 09/13/07 23:13:34 bitsweat minor speedups + forward-compat syntax
(edit) @7469 [7469] 09/13/07 08:20:08 bitsweat minor speedup
(edit) @7380 [7380] 08/31/07 01:56:39 bitsweat Performance: absorb instantiate and initialize_with_callbacks into the …
(edit) @7355 [7355] 08/21/07 21:58:38 david Fixed that eager loading queries and with_scope should respect the :group …
(edit) @7315 [7315] 08/14/07 08:53:02 nzkoz Change the implementation of ActiveRecord's attribute reader and writer …
(edit) @7278 [7278] 08/06/07 00:18:50 nzkoz Let inspect on AR classes work when the table doesn't exist. Closes #9194
(edit) @7274 [7274] 08/05/07 00:57:43 nzkoz Performance enhancement for Base.exists?. CLoses #8769. [hasmanyjosh]
(edit) @7220 [7220] 07/24/07 16:48:57 david Refactored in use of extract_options! (closes #9079) [josh]
(edit) @7167 [7167] 07/07/07 02:42:42 nzkoz Move from select * to select tablename.* to avoid clobbering IDs. Closes …
(edit) @7133 [7133] 06/27/07 02:56:11 bitsweat Array attribute conditions work with proxied association collections. …
(edit) @7107 [7107] 06/23/07 17:52:50 david Docfix (closes #8096)
(edit) @7101 [7101] 06/23/07 17:34:41 david Docfix (closes #8674)
(edit) @7000 [7000] 06/11/07 08:06:07 bitsweat Remove deprecated quote methods, replaced by quote_value so quote can be …
(edit) @6998 [6998] 06/11/07 07:45:56 bitsweat Remove deprecated find_first and find_all.
(edit) @6995 [6995] 06/11/07 05:02:42 bitsweat Fix Base#inspect when not every attribute is present. Closes #8623.
(edit) @6913 [6913] 05/31/07 17:31:33 bitsweat Base.inspect handles Base itself and abstract_class? Don't use #<Foo ...> …
(edit) @6912 [6912] 05/31/07 17:15:56 bitsweat Fix an edge case with find with a list of ids, limit, and offset. Closes …
(edit) @6909 [6909] 05/30/07 21:40:55 bitsweat with_scope is protected. Closes #8524.
Note: See TracRevisionLog for help on using the revision log.