Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | always call `read_attribute` from the reader method | Aaron Patterson | 2012-02-08 | 1 | -14/+12 |
| | |||||
* | use the pg column to cast values | Aaron Patterson | 2012-02-08 | 1 | -1/+1 |
| | |||||
* | cache attribute if it is supposed to be cached | Aaron Patterson | 2012-02-07 | 1 | -1/+5 |
| | |||||
* | only unescape bytea after it has been read from the database | Aaron Patterson | 2012-02-07 | 2 | -6/+4 |
| | |||||
* | pgcolumn knows how to typecast binary columns | Aaron Patterson | 2012-02-07 | 1 | -0/+6 |
| | |||||
* | give each PG type a `type` method and decortate tz attributes | Aaron Patterson | 2012-02-07 | 5 | -18/+60 |
| | |||||
* | hstores can be typecast | Aaron Patterson | 2012-02-07 | 1 | -0/+10 |
| | |||||
* | columns are lazily typecast, so no more calls to `result_as_array` | Aaron Patterson | 2012-02-07 | 1 | -1/+1 |
| | |||||
* | taking column width in to account when fetching decimal fields | Aaron Patterson | 2012-02-07 | 2 | -2/+42 |
| | |||||
* | return early from typecasting if the value is nil | Aaron Patterson | 2012-02-07 | 1 | -1/+15 |
| | |||||
* | mapping more oids | Aaron Patterson | 2012-02-07 | 1 | -1/+7 |
| | |||||
* | postgresql correctly typecasts back to Ruby, so change assertions | Aaron Patterson | 2012-02-07 | 1 | -2/+4 |
| | |||||
* | many of the OIDs mapped and implemented | Aaron Patterson | 2012-02-07 | 2 | -1/+164 |
| | |||||
* | moving column types to an ivar on the result | Aaron Patterson | 2012-02-07 | 2 | -9/+10 |
| | |||||
* | copy over columns hash on reload | Aaron Patterson | 2012-02-07 | 1 | -0/+1 |
| | |||||
* | wrap and cache columns for typecasting | Aaron Patterson | 2012-02-07 | 3 | -5/+30 |
| | |||||
* | column_types hash is used for doing typecasting | Aaron Patterson | 2012-02-07 | 1 | -1/+21 |
| | |||||
* | column types are passed from the result set to the instantiated AR object | Aaron Patterson | 2012-02-07 | 5 | -5/+24 |
| | |||||
* | moved attribute translation to an object | Aaron Patterson | 2012-02-07 | 2 | -16/+38 |
| | |||||
* | moved most of the evald code in to regular ruby code | Aaron Patterson | 2012-02-07 | 3 | -17/+32 |
| | |||||
* | copy the columns hash to the active record instances, typecast using columns ↵ | Aaron Patterson | 2012-02-07 | 4 | -36/+66 |
| | | | | looked up on the instance | ||||
* | always flush all logs. fixes #4277 | Aaron Patterson | 2012-02-07 | 1 | -1/+1 |
| | |||||
* | no need to check for this constant | Xavier Noria | 2012-02-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4928 from rmm5t/fix_force_ssl_redirect_with_params_master | José Valim | 2012-02-07 | 4 | -0/+24 |
|\ | | | | | Fix force_ssl redirect with params | ||||
| * | Added unit test to cover changes to RouteSet.url_for | Ryan McGeary | 2012-02-07 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | ActionDispatch::Routing::RouteSet.url_for now handles passing params through to ActionDispatch::Http::Url.url_for Conflicts: actionpack/test/controller/base_test.rb | ||||
| * | Fixed force_ssl redirects to include original query params | Ryan McGeary | 2012-02-07 | 3 | -0/+8 |
|/ | | | | | | | | | | `ActionController.force_ssl` redirects http URLs to their https equivalent; however, when a URL contains a query string, the resulting redirect lacked the original query string. Conflicts: actionpack/lib/action_controller/metal/force_ssl.rb | ||||
* | Merge pull request #2490 from gsterndale/x_forwarded_for_order | José Valim | 2012-02-07 | 2 | -5/+5 |
|\ | | | | | The first IP address in the X-Forwarded-For header is the originating IP | ||||
| * | The first IP address in the X-Forwarded-For header is the originating IP | Greg Sterndale | 2012-02-07 | 2 | -5/+5 |
| | | |||||
* | | Fix that failed tests should exit with a nonzero error code. | Jeremy Kemper | 2012-02-07 | 2 | -31/+17 |
| | | | | | | | | | | | | Partially reverts 14c89e7285d4e7cd40a542fbc31d9345f60c3aa4. Hat tip to @tenderlove for paring down the TestTask! | ||||
* | | Merge pull request #2632 from gsterndale/replace_trusted_proxies | José Valim | 2012-02-07 | 2 | -6/+19 |
|\ \ | | | | | | | Trusted proxies are configurable | ||||
| * | | Trusted proxies is replaced with a Regexp or appended to with a String | Greg Sterndale | 2012-02-07 | 2 | -6/+19 |
| |/ | |||||
* | | Merge pull request #4926 from iblue/master | Xavier Noria | 2012-02-07 | 1 | -1/+2 |
|\ \ | | | | | | | Fixed documenation | ||||
| * | | Fixed the documenation for 'to_xml' | Markus Fenske | 2012-02-07 | 1 | -1/+2 |
| |/ | |||||
* | | Merge pull request #4918 from scottwb/fix-single-accept-with-q | José Valim | 2012-02-07 | 2 | -1/+9 |
|\ \ | |/ |/| | Fix MIME::Type.parse handling of single media with a q value | ||||
| * | Correctly handle single media with q value. Fixes #736. | Scott W. Bradley | 2012-02-06 | 1 | -1/+3 |
| | | |||||
| * | Failing test case that shows issue #736 should still be open. | Scott W. Bradley | 2012-02-06 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #4924 from rafaelfranca/fix-asset_tag | José Valim | 2012-02-07 | 2 | -16/+16 |
|\ \ | |/ |/| | Fix audio_tag and video_tag helpers | ||||
| * | Always use content_tag for audio/video tag | Rafael Mendonça França | 2012-02-07 | 2 | -16/+16 |
|/ | | | | Closes #4919 | ||||
* | adding a comment for myself | Aaron Patterson | 2012-02-06 | 2 | -8/+9 |
| | |||||
* | delegate attribute typecasting to the column | Aaron Patterson | 2012-02-06 | 2 | -16/+17 |
| | |||||
* | pg supports real booleans, so handle the case when `true` is returned | Aaron Patterson | 2012-02-06 | 1 | -2/+5 |
| | |||||
* | let automatic EXPLAIN ignore CACHE notifications | Xavier Noria | 2012-02-03 | 2 | -1/+52 |
| | |||||
* | Merge pull request #4905 from herimedia/to-infinity-and-beyond | Aaron Patterson | 2012-02-06 | 2 | -2/+20 |
|\ | | | | | Infinity should be a valid validates_length_of maximum | ||||
| * | To infinity… and beyond! | Niels Ganser | 2012-02-06 | 2 | -2/+20 |
| | | | | | | | | | | | | | | Allow infinite values for validates_length_of. Particularly useful for prettily defining an open ended range such as validates_length_of :human_stupidity, :within => 0..Float::INFINITY | ||||
* | | Merge pull request #4910 from ↵ | Aaron Patterson | 2012-02-06 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | sskirby/fixes_regression_in_postgres_template_support prevents the database.yml template option from being passed to PGConn | ||||
| * | | prevents the database.yml template option from being passed to PGConn | Sean Kirby | 2012-02-06 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #4908 from kennyj/fix_3864 | José Valim | 2012-02-06 | 2 | -1/+34 |
|\ \ | |/ |/| | Fix url_for method's behavior. GH #3684. | ||||
| * | Fix url_for method's behavior when it is called with :controller option ↵ | kennyj | 2012-02-07 | 2 | -1/+34 |
|/ | | | | | | which starts with "/" from multiple nested controller. Closes #3864 | ||||
* | Merge pull request #4900 from lest/patch-1 | José Valim | 2012-02-05 | 1 | -0/+2 |
|\ | | | | | allow mass-assign version attribute in AR::SchemaMigration | ||||
| * | allow mass-assign version attribute in AR::SchemaMigration | Sergey Nartimov | 2012-02-06 | 1 | -0/+2 |
| | |