|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
PStore testI see the following test in associations_test.rb in AR: http://github.com/rails/rails/blob/2-3-stable/activerecord/test/cases/associations_test.rb#L68-87
But I don't actually see the code that it's covering. There is nowhere in the Rails 2.3 source that I can see require 'pstore' or PStore.new outside of this context. There are mentions in the changelog but nothing that says "this has gone away".
Is it just something that was just forgotten about? -- Ryan Bigg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@... To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: PStore testOn Nov 5, 2009, at 6:18 PM, Ryan Bigg wrote: > I see the following test in associations_test.rb in AR: http://github.com/rails/rails/blob/2-3-stable/activerecord/test/cases/associations_test.rb#L68-87 > > But I don't actually see the code that it's covering. There is > nowhere in the Rails 2.3 source that I can see require 'pstore' or > PStore.new outside of this context. There are mentions in the > changelog but nothing that says "this has gone away". > > Is it just something that was just forgotten about? Here's the doc for PStore: http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/classes/PStore.html The default session store used to be CGI::Session::PStore; I'm assuming this is testing that AR objects can be stored there. Looks like it went away in the transition from 2.2 to 2.3, in favor of Rack session stuff. --Matt Jones --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@... To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |