Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename test file so that the test suite matches it, implement `persisted?` ↵ | Marcelo Silveira | 2012-05-16 | 1 | -5/+10 |
| | | | | for SqlBypass as expected by tests and convert session_id to string before using on queries to get correct quotes on postgresql (avoid casting error). | ||||
* | %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other ↵ | Jon Leighton | 2012-04-27 | 1 | -1/+1 |
| | | | | things | ||||
* | test a subclass so that the removed method does not imact other tests | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | remove ActiveSupport::Base64 in favor of ::Base64 | Sergey Nartimov | 2012-01-02 | 1 | -4/+4 |
| | |||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -2/+2 |
| | |||||
* | Revert "Merge pull request #1163 from amatsuda/sexier_migration_31" | Aaron Patterson | 2011-11-17 | 1 | -4/+3 |
| | | | | | | | | | | This reverts commit 0e407a90413d8a19002b85508d811ccdf2190783, reversing changes made to 533a9f84b035756eedf9fdccf0c494dc9701ba72. Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/migration_test.rb | ||||
* | Merge pull request #1163 from amatsuda/sexier_migration_31 | Aaron Patterson | 2011-11-04 | 1 | -3/+4 |
|\ | | | | | Sexier migrations | ||||
| * | No "t." for the migration DSL! | Akira Matsuda | 2011-05-20 | 1 | -3/+4 |
| | | | | | | | | | | Now you can omit |t| block parameter and all the t. from your migration code, that means, the syntax looks more Rails-3-ish, like the routes DSL and ActionMailer DSL. Also, this change won't break any of your existing migration files, since the traditional syntax is still available. | ||||
* | | Merge pull request #2042 from SAP-Oxygen/master-sqlbypass-patch | Santiago Pastorino | 2011-07-12 | 1 | -7/+13 |
|\ \ | | | | | | | Fix for SqlBypass session store (for master) | ||||
| * | | Fix for SqlBypass session store | Joseph Wong | 2011-07-12 | 1 | -7/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two issues fixed: 1) connection_pool is not defined - needed by SessionStore#drop_table! and create_table! since c94651f 2) initialization of connection to the default of AR::Base.connection only occurred at the singleton level - the instance level method defined by cattr_accessor did not have this logic | ||||
* | | | Fixed session ID fixation for ActiveRecord::SessionStore | Joseph Wong | 2011-07-12 | 1 | -2/+6 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have found that Rails will take an invalid session ID specified by the client and materialize a session based on that session ID. This means that it is possible, among other things, for a client to use an arbitrarily weak session ID or for a client to resurrect a previous used session ID. In other words, we cannot guarantee that all session IDs are generated by the server and that they are (statistically) unique through time. The fix is to always generate a new session ID in #get_session if an existing session cannot be found under the incoming session ID. Also added new tests that make sure that an invalid session ID is never materialized into a new session, regardless of whether it comes in via a cookie or a URL parameter (when :cookie_only => false). | ||||
* / | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -9/+9 |
|/ | |||||
* | updated AR#create! to accept an options hash so the mass-assignment security ↵ | Josh Kalderimis | 2011-05-12 | 1 | -2/+2 |
| | | | | role can be passed in, also updated the Changelog to mention the change to some of the AR method signatures. | ||||
* | Puts ActiveRecord::SessionStore attributes in white list, fixes #483 | slainer68 | 2011-05-10 | 1 | -0/+2 |
| | |||||
* | almost fisted | Aaron Patterson | 2011-02-04 | 1 | -2/+2 |
| | |||||
* | share column cache among subclasses, only look up columns per AR::Base ↵ | Aaron Patterson | 2011-02-01 | 1 | -2/+2 |
| | | | | subclass once | ||||
* | avoid column lookup on subclasses, keep column info cached as table_name => ↵ | Aaron Patterson | 2011-02-01 | 1 | -0/+2 |
| | | | | column_list | ||||
* | Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b | José Valim | 2010-11-28 | 1 | -4/+4 |
| | |||||
* | Allow AR Session Store to be renewed | José Valim | 2010-11-11 | 1 | -0/+1 |
| | |||||
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 1 | -4/+4 |
| | | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Rely on Rack::Session stores API for more compatibility across the Ruby world. | José Valim | 2010-10-03 | 1 | -2/+5 |
| | |||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -2/+0 |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | ||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 1 | -0/+2 |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Replaced hardcoded SessionStore table creation SQL with calls to ↵ | Raimonds Simanovskis | 2010-08-16 | 1 | -8/+6 |
| | | | | | | ActiveRecord adapter migration methods Otherwise hardcoded table creation SQL was failing on Oracle database | ||||
* | remove already defined method to avoid warnings | Santiago Pastorino | 2010-08-15 | 1 | -0/+1 |
| | |||||
* | Revert "connection reader is defined later" | Santiago Pastorino | 2010-08-15 | 1 | -1/+1 |
| | | | | This reverts commit f4cce71d96c4aab898ae074174d93802fcb0b1cc. | ||||
* | connection reader is defined later | Santiago Pastorino | 2010-08-15 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Revert "Avoid uneeded queries in session stores if sid is not given." | José Valim | 2010-07-29 | 1 | -0/+1 |
| | | | | | | First step to merge Rails and Rack session stores. Rack always expects to receive the SID since it may have different behavior if the SID is nil. This reverts commit e210895ba95e498b9debbf43a3e5ae588bca81f0. | ||||
* | testing sqlbypass destroy. caching connection during destroy | Aaron Patterson | 2010-07-23 | 1 | -6/+7 |
| | |||||
* | brrrrr! freeze is not needed | Aaron Patterson | 2010-07-23 | 1 | -1/+1 |
| | |||||
* | fixing space error | Aaron Patterson | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | refactoring more methods to a class methods module | Aaron Patterson | 2010-07-22 | 1 | -20/+12 |
| | |||||
* | refactoring class methods to a module | Aaron Patterson | 2010-07-22 | 1 | -24/+18 |
| | |||||
* | Session data will exceed 255 bytes. Use TEXT. | Jeremy Kemper | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | Makes current adapter decide the syntax of PRIMARY KEY column definition | Santiago Pastorino | 2010-07-22 | 1 | -2/+2 |
| | |||||
* | This is a VARCHAR not a TEXT | Santiago Pastorino | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | MySQL can't index a TEXT column | Santiago Pastorino | 2010-07-22 | 1 | -2/+2 |
| | |||||
* | refactor to use instance methods and be kind to subclasses | Aaron Patterson | 2010-07-22 | 1 | -10/+11 |
| | |||||
* | testing loaded? method and reducing funcalls | Aaron Patterson | 2010-07-21 | 1 | -1/+1 |
| | |||||
* | testing new_record? and converting to an attribute | Aaron Patterson | 2010-07-21 | 1 | -5/+3 |
| | |||||
* | reducing function calls in the session store | Aaron Patterson | 2010-07-21 | 1 | -5/+5 |
| | |||||
* | readability is hip | Aaron Patterson | 2010-07-21 | 1 | -2/+4 |
| | |||||
* | starting sql bypass test, fixing create_table and drop_table! | Aaron Patterson | 2010-07-21 | 1 | -4/+4 |
| | |||||
* | initializing instance variables | Aaron Patterson | 2010-07-21 | 1 | -1/+6 |
| | |||||
* | adding tests for sessions and clearing up warnings | Aaron Patterson | 2010-07-21 | 1 | -3/+9 |
| | |||||
* | Avoid uneeded queries in session stores if sid is not given. | José Valim | 2010-07-18 | 1 | -1/+0 |
| | |||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -1/+1 |
| | |||||
* | Sessions should not be created until written to and session data should be ↵ | Michael Lovitt | 2010-06-23 | 1 | -0/+8 |
| | | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Adds title and proper formatting to docs. | Rizwan Reza | 2010-06-16 | 1 | -0/+8 |
| |