- 28 7月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
This require makes the dependency even more clear. In particular we are eager loading the session store but that does not work if AR is used outside Rails, this patch is preliminary work in fixing #7160.
-
- 15 7月, 2012 2 次提交
- 16 5月, 2012 1 次提交
-
-
由 Marcelo Silveira 提交于
Rename test file so that the test suite matches it, implement `persisted?` 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).
-
- 27 4月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
-
- 06 1月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 03 1月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 20 11月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 18 11月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
This reverts commit 0e407a90, reversing changes made to 533a9f84. Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/migration_test.rb
-
- 13 7月, 2011 2 次提交
-
-
由 Joseph Wong 提交于
Two issues fixed: 1) connection_pool is not defined - needed by SessionStore#drop_table! and create_table! since c94651f8 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
-
由 Joseph Wong 提交于
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).
-
- 24 5月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
-
- 20 5月, 2011 1 次提交
-
-
由 Akira Matsuda 提交于
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.
-
- 12 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
updated AR#create! to accept an options hash so the mass-assignment security role can be passed in, also updated the Changelog to mention the change to some of the AR method signatures.
-
- 10 5月, 2011 1 次提交
-
-
由 slainer68 提交于
-
- 05 2月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 02 2月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 28 11月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 11 11月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 09 11月, 2010 1 次提交
-
-
由 David Chelimsky 提交于
- 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: NSantiago Pastorino <santiago@wyeworks.com>
-
- 04 10月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 03 9月, 2010 1 次提交
-
-
由 José Valim 提交于
Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b3.
-
- 02 9月, 2010 1 次提交
-
-
由 Łukasz Strzałkowski 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 17 8月, 2010 1 次提交
-
-
由 Raimonds Simanovskis 提交于
Replaced hardcoded SessionStore table creation SQL with calls to ActiveRecord adapter migration methods Otherwise hardcoded table creation SQL was failing on Oracle database
-
- 15 8月, 2010 3 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
This reverts commit f4cce71d.
-
由 Santiago Pastorino 提交于
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 29 7月, 2010 1 次提交
-
-
由 José Valim 提交于
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 e210895b.
-
- 23 7月, 2010 9 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Jeremy Kemper 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-