Category Archives: Merb

Posts about Merb, a light-weight web framework written in Ruby and in the spirit of Rails.

§ Living on the Edge of Merb

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.

§ Writing A Web Application In Merb Part II

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 [...]

§ Writing A Web Application In Merb Part I

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 [...]

§ Merb and its Generators

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 [...]

§ Errors I Got In Merb Within 10 Minutes Of Starting To Use It

$ 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) [...]