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
0
votes
2 answers
acts as taggable with merb?
Is there a acts as taggable solution out there for merb users already?

gregf
- 1,091
- 1
- 11
- 20
0
votes
1 answer
Autocomplete with Vim and Rails Datamapper
Is there a way that I can have auto completion in Vim after I load a model from the database?
So for example if I have a model of type Foo with an instance method of type bar and do the following
foo = Foo.first(:param=>'x')
foo.b
should show me…

Ramiro
- 470
- 1
- 4
- 6
0
votes
1 answer
undefined method merge
merb datamapper seems to be broken.
$ merb
Loading init file from /home/kristian/workspace/ruby/nightly/config/init.rb
Loading /home/kristian/workspace/ruby/nightly/config/environments/development.rb
:size option is deprecated, use String with…

kristian nissen
- 2,809
- 5
- 44
- 68
0
votes
1 answer
Adding a flash after authentication with merb-auth
What's the best way to add a flash message, for successful or unsuccessful login when using the merb-auth slice (Other than overriding sessions create)?

MatthewFord
- 2,918
- 2
- 21
- 32
0
votes
1 answer
Merb Router: how to return a 406 error
Is it possible to have the router return an error code (or an entire rack response) in response to a matched route?
E.g. I have move from WordPress to a home grown blogging solution. Search engines are hitting URLs like '/?tag=ruby' that need to…

John F. Miller
- 26,961
- 10
- 71
- 121
0
votes
1 answer
Merb authentication question
My application has user part and /admin part. There are 2 models Account (like a customer) and Admin, and I should authenticate account and admin separately. Admins should not access account's part and accounts should not access admin area. Is there…

Sam
- 428
- 1
- 4
- 11
0
votes
1 answer
Testing authenticated file uploads in merb
This is something that has been driving me mad over the past few days. I have an action which allows authenticated users to upload assets to the site. I know that the controller action is correct as I can run through the process manually however I…

roo
- 7,106
- 8
- 39
- 45
0
votes
1 answer
text search to distinguish rails projects from other types of ruby web applications - merb/sinatra/ramaze
If I want to perform a search on a directory that contains thousands of different ruby web applications and I want to find only those directories that contain rails projects, what text would I need to look for within each directory to uniquely…
0
votes
2 answers
merb cannot load dm-mysql-adapter
Would you help me on this issue?
gem list shows that dm-mysql-adapter has been installed, but merb cannot load it.
I just want to start a simple merb application generated by merb-gen.
Loading init file from ./config/init.rb
Loading…

Hardbone
- 327
- 1
- 3
- 16
0
votes
2 answers
Controlling Merb authentication errors
Hey there, im a little bit confused about handling invalid user authentication request, at login controller. So, i already have modified login view, but cant figure out where to put the exception handling block. It should work like this: you login -…

Dan Sosedoff
- 2,869
- 5
- 28
- 34
0
votes
1 answer
Rails development with v3 merb merger in mind
I'm in the preliminary stages of designing a new web application, and have yet to begin any sort of implementation. The application models a fairly complex domain, and I'd feel more comfortable using tools such as the ruby DataMapper ORM (having…

Bayard Randel
- 9,930
- 3
- 42
- 46
-1
votes
1 answer
Problem loading activemerchant using Bundler
I am using Merb. I can't seem to get activemerchant to load using Bundler. All my other gems load fine.
In my Gemfile I am using:
gem 'activemerchant', :require => 'active_merchant'
Here is the relevant error:
uninitialized constant…

m7d
- 736
- 6
- 18