Merb, short for "Mongrel+Erb", is a model-view-controller web framework written in Ruby. Merb adopts an approach that focuses on essential core functionality, leaving most functionality to plugins.
Questions tagged [merb]
72 questions
19
votes
3 answers
In Rails 3, how does one render HTML within a JSON response?
I'm porting an application from Merb 1.1 / 1.8.7 to Rails 3 (beta) / 1.9.1 that uses JSON responses containing HTML fragments, e.g., a JSON container specifying an update, on a user record, and the updated user row looks like . In Merb, since…

ylg
- 481
- 1
- 4
- 7
7
votes
1 answer
What's the most commonly used unit testing framework for different types of Ruby applications?
Are the same unit testing frameworks used for different web frameworks - Rails, Merb, Sinatra, Ramaze and desktop frameworks - Shoes?
And what is the most widely used unit testing framework that would work with all of the various web and desktop…

Big Pete Taylor
- 135
- 1
- 6
6
votes
5 answers
Starting with Ruby 1.9.x, Rails 3, and/or Merb
I need to spend some serious time reading about changes in Ruby 1.9.1 and upcoming Rails 3/Merb. Can people suggest any articles to read?
Not really looking for one answer, just kinda looking for a compilation of resources people are using to keep…

Lukas
- 3,175
- 2
- 25
- 34
5
votes
3 answers
What are scenarios in which one would use Sinatra or Merb?
I am learning Rails and have very little idea about Sinatra & Merb. I was wondering are the situations where you would use Merb/Sinatra.
Thanks for your feedback!

tundal45
- 193
- 3
- 14
- 33
5
votes
1 answer
Ruby Datamapper table inheritance with associations
I started learning Datamapper and what I liked about it was that I can write my models with real inheritance.
Now I wonder, if it is possible to be more advanced about this:
class Event
include DataMapper::Resource
property :id, Serial
…

Debilski
- 66,976
- 12
- 110
- 133
4
votes
5 answers
Ruby On Rails/Merb as a frontend for a billions of records app
I am looking for a backend solution for an application written in Ruby on Rails or Merb to handle data with several billions of records. I have a feeling that I'm supposed to go with a distributed model and at the moment I looked at
HBase with…

dimus
- 8,712
- 10
- 45
- 56
4
votes
2 answers
Destroying nested resources in restful way
I'm looking for help destroying a nested resource in Merb. My current method seems near correct, but the controller raise an InternalServerError during the destruction of the nested object.
Here comes all the details concerning the request, don't…

Alex
- 26,406
- 5
- 30
- 36
4
votes
3 answers
How many Ruby threads is too many?
I'm coding a Merb application which uses a combination of SimpleDB and Tokyo Tyrant for storage. For both of these data stores I'm implementing IN (list) type-functionality by spinning up a thread for each value in list and then merging the result…

Mark Rendle
- 9,274
- 1
- 32
- 58
4
votes
7 answers
is it time to try merb?
With Merb 1.0 rapidly approaching, I would like to know what Merb/Rails users recommend?
Is it time to try Merb? What was downside for you when you switched to Merb from Rails?

dimus
- 8,712
- 10
- 45
- 56
3
votes
2 answers
Caching best practiced in Merb
Im a beginner in Merb, so want to know, what is the best practices to cache data?
For example i have a page that shows list of books, that changes not really often, so im looking for a way to cache the data. There can be 2 choices: cache data from…

Dan Sosedoff
- 2,869
- 5
- 28
- 34
3
votes
1 answer
Multi tenancy with Merb, DataMapper and CouchDB (or MongoDB)
Does Anyone know to achieve, or have any resources about, muti tenancy involving these technologies?
Additionally, is it recommendable to store sensitive data in a relational database and other kinds of data in NoSQL databases?
Thanks in advance.

Carlos Melo
- 3,052
- 3
- 37
- 45
3
votes
1 answer
No such file to load -- spec in merb
I have created an app in merb. My Gemfile has
gem "rspec", :require => "spec"
If I run the rake -T or rake routes, my rake task is aborted with the above error.
If the gem is not mentioned in the Gemfile then the error is
rake aborted!
no such file…

Prasad Surase
- 6,486
- 6
- 39
- 58
3
votes
5 answers
Is the documentation of Merb as poor as it seems?
I've read only good things about Merb, but the documentation on the website is basically the api reference, and right now there is no books already published.
Any resources about Merb?
I guess that I'll start to read the code, but it'd be nice to…
seiju
3
votes
2 answers
RFC2616 : Do I really need to set WWW_Authenticate when returning 401?
According to RFC2616 if I return 401 in response to a request to my (Ruby) server, I "MUST include a WWW-Authenticate header field." Is this really true? Not setting the header seems to have no negative impact. I'm using Merb as a web framework and…

Chris McCauley
- 25,824
- 8
- 48
- 65
3
votes
2 answers
What can I expect as the core stack for Rails 3.0 and what will I need to include now as a plugin
So Rails and Merb are sort of merging in Rails 3.0? Thats how its been described to me anyway. This means that a lot of what made Rails, Rails will now be moved to plug-ins so that it can be more lightweight. HOwever, what are those plug-ins going…

aarona
- 35,986
- 41
- 138
- 186