public
Rubygem
Fork of sam/dm-more
Description: Extras for DataMapper, including bridges to DataObjects::Migrations and Merb::DataMapper
Homepage: http://datamapper.org
Clone URL: git://github.com/dysinger/dm-more.git
Search Repo:
Merge branch 'master' of git@github.com:sam/dm-more
sam (author)
Thu May 08 16:11:10 -0700 2008
commit  29fdf7d769d37ccbdaf6187ab1749edf28a32dff
tree    34445e2c786c533e13bb5a8a324aa45b4b287d47
parent  fc6f4453adc66839f996acecff7e225718399510 parent  9e8910cc7c6abe103add3616340a72b7d75e312a
...
44
45
46
47
 
48
49
50
...
44
45
46
 
47
48
49
50
0
@@ -44,7 +44,7 @@
0
       # If none is found, generates a new session.
0
       def persist(session_id)
0
         if !session_id.blank?
0
- session = self[session_id]
0
+ session = self.first :session_id => session_id
0
         end
0
         unless session
0
           session = generate

Comments

    No one has commented yet.