Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use hash[:Post][1] style identity maps for each table. | Emilio Tagua | 2010-11-19 | 3 | -9/+20 |
| | |||||
* | IdentityMap is enabled by default. | Emilio Tagua | 2010-11-19 | 1 | -2/+4 |
| | |||||
* | Add docs to Identity Map. | Emilio Tagua | 2010-11-19 | 1 | -0/+13 |
| | |||||
* | Added config syntax to enable/disable identity map: ↵ | Emilio Tagua | 2010-11-19 | 2 | -0/+2 |
| | | | | config.active_record.identity_map = true | ||||
* | Reeject attributes even if association is loaded | Marcin Raczkowski | 2010-11-19 | 1 | -1/+0 |
| | |||||
* | Test reorganization | Marcin Raczkowski | 2010-11-19 | 1 | -3/+5 |
| | |||||
* | Separated initialization | Marcin Raczkowski | 2010-11-19 | 2 | -24/+20 |
| | |||||
* | Set Identity Map disabled by default. Enable it for testing. | Emilio Tagua | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | Use strings primary keys in identity map keys to avoid problems with casting ↵ | Emilio Tagua | 2010-11-19 | 1 | -3/+3 |
| | | | | and also allow strings primary keys. | ||||
* | implicit_readonly is not set until records are loaded, just check ↵ | Emilio Tagua | 2010-11-19 | 1 | -3/+2 |
| | | | | readonly_value and then set readonly status. | ||||
* | Don't use identity map if loading readonly records, this will prevent ↵ | Emilio Tagua | 2010-11-19 | 1 | -2/+9 |
| | | | | changing readonly status on already loaded records. | ||||
* | Remove associated object from identity map when reloading. | Emilio Tagua | 2010-11-19 | 1 | -0/+1 |
| | |||||
* | Associated objects are assigned from identity map if enabled and contains ↵ | Emilio Tagua | 2010-11-19 | 1 | -2/+5 |
| | | | | associated object. | ||||
* | Remove objects from identity map if save! failed, otherwise finding again ↵ | Emilio Tagua | 2010-11-19 | 1 | -0/+3 |
| | | | | the same record will have invalid attributes. | ||||
* | Remove objects from identity map if save failed, otherwise finding again the ↵ | Emilio Tagua | 2010-11-19 | 1 | -0/+2 |
| | | | | same record will have invalid attributes. | ||||
* | Use yield instead block argument. | Emilio Tagua | 2010-11-19 | 1 | -4/+4 |
| | |||||
* | Disable identity map when loading associated records from habtm. | Emilio Tagua | 2010-11-19 | 1 | -2/+4 |
| | |||||
* | Prevent pushing duplicated records when using identity map. | Emilio Tagua | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | Remove associated records from identity map if any raised an unexpected ↵ | Emilio Tagua | 2010-11-19 | 1 | -14/+19 |
| | | | | exception. | ||||
* | Use identity mapper only if enabled. | Emilio Tagua | 2010-11-19 | 1 | -3/+3 |
| | |||||
* | Remove object from identity map if transaction failed. | Emilio Tagua | 2010-11-19 | 1 | -0/+1 |
| | |||||
* | IdentityMap - Fixes problem with dirty attributes | Marcin Raczkowski | 2010-11-19 | 1 | -1/+2 |
| | |||||
* | Looping prevention for autosave relations on validation and creation | Marcin Raczkowski | 2010-11-19 | 1 | -3/+20 |
| | |||||
* | IdentityMap - adding and removing of records on create/update | Marcin Raczkowski | 2010-11-19 | 2 | -5/+43 |
| | |||||
* | IdentityMap - misc fixes | Marcin Raczkowski | 2010-11-19 | 2 | -1/+4 |
| | | | | | | - Added IdentityMap to be included into AR::Base - Fixed bug with Mysql namespace missing when running tests only for sqlite - Added sqlite as default connection | ||||
* | IdentityMap - Tests for IM | Marcin Raczkowski | 2010-11-19 | 1 | -0/+7 |
| | |||||
* | IdentityMap - Adding Weakling and IM Base as concern | Marcin Raczkowski | 2010-11-19 | 2 | -0/+66 |
| | |||||
* | adding documentation for reversible migrations | Aaron Patterson | 2010-11-19 | 2 | -1/+43 |
| | |||||
* | invertable migrations are working | Aaron Patterson | 2010-11-19 | 2 | -2/+20 |
| | |||||
* | command recorder will record commands sent to a delegate object | Aaron Patterson | 2010-11-19 | 1 | -3/+13 |
| | |||||
* | updating documentation | Aaron Patterson | 2010-11-19 | 1 | -1/+7 |
| | |||||
* | IrreversibleMigration is raised if we cannot invert the command | Aaron Patterson | 2010-11-19 | 1 | -1/+5 |
| | |||||
* | commands are reversed | Aaron Patterson | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | add and remove timestamps can be inverted | Aaron Patterson | 2010-11-19 | 1 | -0/+8 |
| | |||||
* | inverting add_index | Aaron Patterson | 2010-11-19 | 1 | -0/+5 |
| | |||||
* | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 2 | -0/+50 |
| | |||||
* | this return value is not used, so stop returning it | Aaron Patterson | 2010-11-19 | 1 | -4/+1 |
| | |||||
* | instantiate the delegate object after initialize is defined so that our ↵ | Aaron Patterson | 2010-11-19 | 1 | -3/+4 |
| | | | | initialize method actually gets called | ||||
* | connection is set from the connection pool during migrations | Aaron Patterson | 2010-11-18 | 1 | -4/+10 |
| | |||||
* | removing space errors | Aaron Patterson | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 2 | -5/+26 |
| | | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records | ||||
* | group can be done by left side only | Aaron Patterson | 2010-11-17 | 1 | -6/+3 |
| | |||||
* | collapsing same table / column WHERE clauses to be OR [#4598 state:resolved] | Aaron Patterson | 2010-11-17 | 1 | -4/+25 |
| | |||||
* | use shorter form for sql literals | Aaron Patterson | 2010-11-17 | 1 | -1/+1 |
| | |||||
* | replace and with && as per rails coding convention | Neeraj Singh | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | remove the rescue block by returning a not asking Base for lookup_ancestors. ↵ | Neeraj Singh | 2010-11-17 | 1 | -5/+2 |
| | | | | It was also marked for later optimization. | ||||
* | adding an initialize with name and version defaults | Aaron Patterson | 2010-11-17 | 1 | -4/+5 |
| | |||||
* | updating generators | Aaron Patterson | 2010-11-17 | 3 | -6/+6 |
| | |||||
* | fixing more documentation | Aaron Patterson | 2010-11-17 | 1 | -3/+3 |
| | |||||
* | fixing documentation, removing unused AS files | Aaron Patterson | 2010-11-17 | 1 | -15/+12 |
| |