I figured I needed a place to link to for any Ruby/Ruby On Rails code I end up releasing. This seems like as good a place as any.
FixPgTimeStamp Plugin
This simple plugin fixes a problem with Postgres & Rails in production that messes up your created_at time stamps.
To use it all you have to do is download it and put it in the vendor/plugins directory of your rails app and everything should just work.
Plugin Way
Ok so I have an svn server up for this now - so if you want
script/plugin install http://source.economysizegeek.com/svnroot/rails/pluginsfix_pg_timestamp
If you would prefer to keep up using an externals setting
script/plugin install -x http://source.economysizegeek.com/svnroot/rails/plugins/fix_pg_timestamp
then you can also say
script/plugin list –source=http://source.economysizegeek.com/svnroot/rails/plugins/
This will list all the plugins hosted here.
Warning!
If you are on Windows and your rails app is in a path that has a space in it - this won’t work :(. They know about the problem and will hopefully fix it eventually.
Code
License: MIT
Leave a Reply
Moderation Active: Old stuff here... Therefore your comment on this post will be moderated (i.e. don't submit twice !)