absolute_url generates a full URL with route parameters.
Merb.testing? added, for an easy way to determine if Merb is running in its testing environment in rake tasks and the like.
The Ebb adapter was updated to work with Ebb 0.1.
More Thoughts on Our Design
As good as it is that we’ve started to play around with the model behind our web application, I feel I was flailing a little bit too much in the original article—jumping all over the place from idea to implementation. Reading over it again we get a good idea of what [...]
Testing different web frameworks is a great way to not only gain knowledge about that particular framework, but to quickly (as most of the Ruby web frameworks are focused on rapid development) implement ideas you’ve had kicking around for a while. This is what I’ll be doing over the next couple weeks, with the latest [...]
It’s slowly starting to appear that what Merb needs is to test the correctness of its generators, to ensure that no exceptions are raised during the generation process, as well as to ensure that all the files they create are accurately named and contain allowed Ruby syntax. How on earth you’d test this sort of [...]
$ rake
(in /home/…/Documents/Projects/Merb/Blog)
Connecting to database…
Fri, 04 Jan 2008 05:43:52 GMT: loading gem ‘merb_datamapper’ from config/dependencies.rb:13 …
rake aborted!
Don’t know how to build task ‘default’
And…
$ rake dm:db:automigrate
(in /home/…/Documents/Projects/Merb/Blog)
Connecting to database…
Fri, 04 Jan 2008 05:44:33 GMT: loading gem ‘merb_datamapper’ from config/dependencies.rb:13 …
Started merb_init.rb …
Loading Application…
Compiling routes..
Loaded DEVELOPMENT Environment…
rake aborted!
Your query failed.
Incorrect table name ‘data_mapper/bases’
CREATE TABLE `data_mapper/bases` (`id` int(11) [...]