DataMapper Continuous Integration Server
DataMapper publishes a continuous integration server.
DataMapper publishes a continuous integration server.
A while ago I wrote that Merb reads in custom rake tasks in lib/tasks/*.rake. This doesn’t appear to be the case anymore, at least not the last few times I tried. The latest commits of Merb core have a Rakefile with the friendly reminder to put custom rake tasks at the bottom of it. I’m [...]
I’m not entirely sure what the status of this code is, but it seems to be working for me. I tried throwing it a little further upstream and got hit with 42 failed specs, so I’m content to use it as a spec helper for now.
In any event, yeah. There’s Hpricot goodness available for your [...]
I love Datamapper, but there are some aspects of it that throw me because they don’t work the way they should on first glance.
Foreign Constraints
Let’s make a few objects.
class Apple < DataMapper::Base property :name, :string end class Banana < DataMapper::Base belongs_to :apple, :class => ‘Apple’, :foreign_key => ‘a1′ belongs_to :apple, :class => ‘Apple’, :foreign_key [...]
I learned this the hard way.
class Main < Application def send # Do some stuff… end end
This breaks horribly, even if you’re not navigating to that exact controller action.
~ Request: /favicon.ico ~ Request: ~ Params: {“action”=>”index”, “controller”=>”main”} ~ Routed to: {:action=>”index”, :controller=>”main”} ~ wrong [...]