Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Remove deprecated `#insert_sql`, `#update_sql`, and `#delete_sql` | Ryuta Kamizono | 2016-12-30 | 1 | -6/+0 |
| | |||||
* | Merge pull request #26002 from ↵ | Rafael França | 2016-08-17 | 1 | -0/+7 |
|\ | | | | | | | | | kamipo/sql_for_insert_should_be_called_inside_exec_insert `sql_for_insert` should be called inside `exec_insert` | ||||
| * | `sql_for_insert` should be called inside `exec_insert` | Ryuta Kamizono | 2016-08-06 | 1 | -0/+7 |
| | | | | | | | | | | `exec_insert` cannot return last inserted id if `use_insert_returning?` is true. `sql_for_insert` should be called inside `exec_insert`. | ||||
* | | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -9/+9 |
|/ | |||||
* | Deprecate `{insert|update|delete}_sql` in `DatabaseStatements` | Ryuta Kamizono | 2016-03-02 | 1 | -0/+6 |
| | | | | | Originally, `{insert|update|delete}_sql` is protected methods. We can use the `{insert|update|delete}` public methods instead. | ||||
* | Fix `connection#create` in PG adapter | Ryuta Kamizono | 2016-01-05 | 1 | -3/+12 |
| | | | | | | Originally `connection#create` had aliased to `connection#insert` in PG adapter. But it was broken by #7447. Re-alias `create` to `insert` for fixing it. | ||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. | ||||
* | Oracle needs sequence value for primary key in INSERT statement | Raimonds Simanovskis | 2009-08-06 | 1 | -1/+8 |
| | |||||
* | PostgreSQL: insert looks up pk and sequence name if not given. [#384 ↵ | Jeremy Kemper | 2008-06-10 | 1 | -0/+12 |
state:resolved] |