aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_postgresql.md
Commit message (Collapse)AuthorAgeFilesLines
* update supported version of PostgreSQL in docs [ci skip]yuuji.yaginuma2016-02-031-1/+1
| | | | Follow up to #23434
* Explain how HStore columns can be queried [ci skip]Prathamesh Sonpatki2016-01-181-0/+4
| | | | - Fixes #22876.
* Introduce ApplicationRecord, an Active Record layer supertypeGenadi Samokovarov2015-12-161-15/+15
| | | | | | | | | | | | | | | | It's pretty common for folks to monkey patch `ActiveRecord::Base` to work around an issue or introduce extra functionality. Instead of shoving even more stuff in `ActiveRecord::Base`, `ApplicationRecord` can hold all those custom work the apps may need. Now, we don't wanna encourage all of the application models to inherit from `ActiveRecord::Base`, but we can encourage all the models that do, to inherit from `ApplicationRecord`. Newly generated applications have `app/models/application_record.rb` present by default. The model generators are smart enough to recognize that newly generated models have to inherit from `ApplicationRecord`, but only if it's present.
* Fix formatting of ActiveRecord PostgreSQL guide.Christian Wesselhoeft2015-10-131-4/+6
|
* Merge pull request #20981 from dkoprov/ar_postgres_enum_docs_additionSean Griffin2015-10-041-5/+41
|\ | | | | Add more info on working with postgres ENUM type
| * adds more info on working with postgres ENUM typeDmitry Koprov2015-07-231-5/+41
| |
* | use uuid method to define the UUID type [ci skip]yuuji.yaginuma2015-08-081-1/+1
|/
* pg guide, explain the state of using UUID primary keys. Closes #20518.Yves Senn2015-06-151-3/+9
| | | | | | | [ci skip] The PostgreSQL 9.4 docs suggest to use `pgcrypto`. Howerver `create_table id: :uuid` will still default to `uuid_generate_v4()`
* [ci skip] update ruby doc links; for rails next version ruby 2.2+ will be ↵Gaurav Sharma2015-05-201-2/+2
| | | | supported only
* Updated postgresql documentation link to use latest version [ci skip]Ronak Jangir2015-05-201-19/+19
|
* Merge pull request #19868 from createdbypete/guides-postgres-uuid-pgcryptoYves Senn2015-05-051-6/+9
|\ | | | | | | | | | | Provide mention of pgcrypto extension for Postgres UUID support [ci skip]
| * Provide mention of pgcrypto extension for uuidsPeter Rhoades2015-05-041-6/+9
|/ | | | | | | | | From the Postgresql 9.4+ docs > If you only need randomly-generated (version 4) UUIDs, consider using the gen_random_uuid() function from the pgcrypto module instead. [ci skip]
* Merge pull request #19806 from vircung/masterYves Senn2015-04-181-0/+23
|\ | | | | | | Improve documentation for uuid [ci skip]
| * Improve documentation [ci skip]Jacek Nakonieczny2015-04-181-0/+25
|/ | | | Add information about usage `uuid` type with `reference`
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* [ci skip] add `enable_extension` to PostgreSQL hstore exampleyuuji.yaginuma2014-12-071-0/+3
|
* [ci skip] correct example output and filename in pg guideyuuji.yaginuma2014-11-221-2/+2
|
* _will_change! method is not needed any more [ci skip]Roberto Miranda2014-11-201-5/+0
| | | ref #15674
* use correct operator in query based on JSON documentviditn912014-09-031-1/+2
|
* pg guide, use the term `database views` to be specific. [ci skip]Yves Senn2014-06-141-3/+3
|
* pg guide, minor copy editsYves Senn2014-06-131-2/+4
|
* pg guide, add index to PostgreSQL array example. [ci skip]Yves Senn2014-06-091-1/+3
|
* [ci skip] Make last note show up in postgresql guide.Juanito Fatas2014-05-291-1/+1
|
* pg guide, move introductory sentences into main content. [ci skip]Yves Senn2014-05-191-7/+7
| | | | This is a reaction to https://github.com/rails/rails/commit/7ca75f3789e316b6f3dc1f8000ec4f85c8ba32ea#commitcomment-6303828
* A tiny pass through the PostgreSQL guide [ci skip]Robin Dupret2014-05-181-3/+4
|
* typo: resulution -> resolution [ci skip]Godfrey Chan2014-05-121-1/+1
|
* pg guide, PostgreSQL legacy table view example. [ci skip]Yves Senn2014-05-111-0/+59
|
* pg guide, inet code example. [ci skip]Yves Senn2014-05-081-3/+29
|
* [ci skip] Add feature section and normalize prologue with other guides.Juanito Fatas2014-05-071-3/+12
| | | | | | Also change Json => JSON. Fill Ruby's Range & IPAddr link.
* pg guides, some stylistic changes [ci skip]Yves Senn2014-05-061-20/+21
|
* pg guide, advanced features [ci skip]Yves Senn2014-05-061-18/+46
|
* pg guide, datatypes and examples. [ci skip]Yves Senn2014-05-061-0/+309