... | @@ -5,9 +5,9 @@ |
... | @@ -5,9 +5,9 @@ |
|
* [TODO](https://github.com/crashtech/torque-postgresql/blob/master/TODO.md)
|
|
* [TODO](https://github.com/crashtech/torque-postgresql/blob/master/TODO.md)
|
|
|
|
|
|
# Description
|
|
# Description
|
|
`torque-postgresql` is a plugin that enhances Ruby on Rails enabling easy access to existing PostgreSQL advanced resources, such as data types and queries statements. Its features are designed to be as similar to Rails architecture and they work as smoothly as possible.
|
|
`torque-postgresql` is a plugin that enhances Ruby on Rails enabling easy access to existing PostgreSQL advanced resources, such as data types and query statements. Its features are designed to be similar to Rails architecture and work as smoothly as possible.
|
|
|
|
|
|
100% plug-and-play, with optional configurations, so that can be adapted to your project's design pattern.
|
|
100% plug-and-play, with optional configurations, so that it can be adapted to your project's design pattern.
|
|
|
|
|
|
# Installation
|
|
# Installation
|
|
|
|
|
... | @@ -39,29 +39,30 @@ These are the currently available features: |
... | @@ -39,29 +39,30 @@ These are the currently available features: |
|
|
|
|
|
## Datatypes
|
|
## Datatypes
|
|
|
|
|
|
|
|
* [Box](https://github.com/crashtech/torque-postgresql/wiki/Box)
|
|
|
|
* [Circle](https://github.com/crashtech/torque-postgresql/wiki/Circle)
|
|
|
|
* [Date/Time Range](https://github.com/crashtech/torque-postgresql/wiki/Date-Time-Range)
|
|
* [Enum](https://github.com/crashtech/torque-postgresql/wiki/Enum)
|
|
* [Enum](https://github.com/crashtech/torque-postgresql/wiki/Enum)
|
|
* [EnumSet](https://github.com/crashtech/torque-postgresql/wiki/Enum-Set)
|
|
* [EnumSet](https://github.com/crashtech/torque-postgresql/wiki/Enum-Set)
|
|
* [Interval](https://github.com/crashtech/torque-postgresql/wiki/Interval)
|
|
* [Interval](https://github.com/crashtech/torque-postgresql/wiki/Interval)
|
|
* [Date/Time Range](https://github.com/crashtech/torque-postgresql/wiki/Date-Time-Range)
|
|
|
|
* [Box](https://github.com/crashtech/torque-postgresql/wiki/Box)
|
|
|
|
* [Circle](https://github.com/crashtech/torque-postgresql/wiki/Circle)
|
|
|
|
* [Line](https://github.com/crashtech/torque-postgresql/wiki/Line)
|
|
* [Line](https://github.com/crashtech/torque-postgresql/wiki/Line)
|
|
* [Segment](https://github.com/crashtech/torque-postgresql/wiki/Segment)
|
|
* [Segment](https://github.com/crashtech/torque-postgresql/wiki/Segment)
|
|
|
|
|
|
## Querying
|
|
## Querying
|
|
|
|
|
|
* [Arel](https://github.com/crashtech/torque-postgresql/wiki/Arel)
|
|
* [Arel](https://github.com/crashtech/torque-postgresql/wiki/Arel)
|
|
* [Has Many](https://github.com/crashtech/torque-postgresql/wiki/Has-Many)
|
|
* [Auxiliary Statements](https://github.com/crashtech/torque-postgresql/wiki/Auxiliary-Statements)
|
|
* [Belongs to Many](https://github.com/crashtech/torque-postgresql/wiki/Belongs-to-Many)
|
|
* [Belongs to Many](https://github.com/crashtech/torque-postgresql/wiki/Belongs-to-Many)
|
|
* [Dynamic Attributes](https://github.com/crashtech/torque-postgresql/wiki/Dynamic-Attributes)
|
|
|
|
* [Distinct On](https://github.com/crashtech/torque-postgresql/wiki/Distinct-On)
|
|
* [Distinct On](https://github.com/crashtech/torque-postgresql/wiki/Distinct-On)
|
|
* [Insert All](https://github.com/crashtech/torque-postgresql/wiki/Insert-All)
|
|
* [Dynamic Attributes](https://github.com/crashtech/torque-postgresql/wiki/Dynamic-Attributes)
|
|
* [Auxiliary Statements](https://github.com/crashtech/torque-postgresql/wiki/Auxiliary-Statements)
|
|
* [Has Many](https://github.com/crashtech/torque-postgresql/wiki/Has-Many)
|
|
* [Inherited Tables](https://github.com/crashtech/torque-postgresql/wiki/Inherited-Tables)
|
|
* [Inherited Tables](https://github.com/crashtech/torque-postgresql/wiki/Inherited-Tables)
|
|
|
|
* [Insert All](https://github.com/crashtech/torque-postgresql/wiki/Insert-All)
|
|
|
|
* [Multiple Schemas](https://github.com/crashtech/torque-postgresql/wiki/Multiple-Schemas)
|
|
|
|
|
|
# How to Contribute
|
|
# How to Contribute
|
|
|
|
|
|
To start, simply fork the project, create a `.env` file following this example:
|
|
To start, fork the project, and create a `.env` file following this example:
|
|
|
|
|
|
```
|
|
```
|
|
DATABASE_URL="postgres://USER:PASSWORD@localhost/DATABASE"
|
|
DATABASE_URL="postgres://USER:PASSWORD@localhost/DATABASE"
|
... | | ... | |