public
Description: Uber lightweight Merb blogging engine. Make sure you check out the feather-plugins repo as well!
Homepage:
Clone URL: git://github.com/mleung/feather.git
Click here to lend your support to: feather and make a donation at www.pledgie.com !
Using .config instead of .full_config, as full_config was occasionally returning 
a hash of strings instead of a hash of symbols, whereas .config seems to not 
exhibit this behaviour.
fujin (author)
Wed Jul 16 19:14:53 -0700 2008
edraper (committer)
Fri Jul 18 12:55:55 -0700 2008
commit  2169ebf4bf96c9a3c715fc37b7a98041ee483223
tree    6f133bd6c41545444cb50699747b03ffbed70751
parent  75283c3122f0490e32ac5ad93780d6e9f27f7e33
...
145
146
147
148
 
149
150
151
...
145
146
147
 
148
149
150
151
0
@@ -145,7 +145,7 @@ class Article
0
 
0
     private 
0
       def specific_date_function
0
-        if Merb::Orms::DataMapper.full_config[Merb.environment.to_s]["adapter"] == "sqlite3"
0
+        if Merb::Orms::DataMapper.config[:adapter] == "sqlite3"
0
           "strftime('%Y', published_at) as year, strftime('%m', published_at) as month"
0
         else
0
           "extract(year from published_at) as year, extract(month from published_at) as month"

Comments