merb

Using Merb for Facebook Application

Since Rails is not multithreaded (yet), it seems like a threaded web framework would be a better choice for a Facebook application. (reason being is cuz each Rails process can only handle one request at a time, and facebook actions tend to be slow, because there is a lot of network communication between your app and facebook) Has anyon...

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)? ...

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? ...

merb_auth_password_slice does not maintain the session

Having integrated merb_auth_password_slice as per the README, I can successfully login as redirect_after_login is being triggered, although session.authenticated? returns false. Just trying the basic auth strategy for now (password form), can't seem to get it working, any ideas? My init file: require 'dm-validations' dependencies "me...

Framework/Language for new web 2.0 sites (2008 and 2009)

I know I'll get a thousand "Depends on what you're trying to do" answers, but seriously, there really is no solid information about this online yet. Here are my assumptions - I think they're similar for alot of people right now: It is now October 2008. I want to start writing an application for January 2009. I am willing to use beta...

acts as taggable with merb?

Is there a acts as taggable solution out there for merb users already? ...

Ruby On Rails/Merb as a frontend for a billions of record 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 suppose to go with a distributed model and at the moment I looked at HBase with Hadoop Couchdb Problems with HBase solution as I see it -- ruby support is not very strong, a...

Admin Controllers in Merb

How does one do namespaced controllers in Merb, for instance to create an admin section to the site? In Rails one would use Admin::CategoriesController, is this similar in Merb or is this another recommended way of doing it? ...

Best way to list a Merb::Slices dependencies?

Hi, I'm creating a list of the Slices in my Merb app, like this: Merb::Slices.each_slice do |slice| I'd like to get the list of dependencies for each of this slice, any idea how to access it? I'm still reading merb code, solution might come soon ;) ...

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 have another sources of information ...

Should I learn Rails or Merb?

Background: After taking time to reflect on the answers to a question I asked just yesterday regarding which web-focussed language to learn for a beginner (link) I decided that I would most likely pursue learning Ruby/Rails (since I had already made it 1/3 of the way through a book on it about a year ago and felt like I was able to under...

Ruby Atom generator to use with merb

I want to provide feed in my merb application. After reading wikipedia, RSSvsAtom and seeing that StackOverflow uses it, I think I will use Atom. What library should I use? I have found rAtom that looks quite good. Are there better alternatives? Or does merb has anything built in to help me? UPDATE: maybe I should just do the news in p...

method redefined warning while running Merb 0.9.3

I get numerous "method redefined" warnings while running an application under Merb 0.9.3. Of course, I get this only when I run my script using the ruby -w option. Is there any way to get rid of the methods getting redefined (repeated loading of files) again and again? Has this been resolved in Merb 1? ...

invalid gem format

Installing Merb on Ruby Enterprise Edition (OS X) throws this error, any ideas? sudo gem install merb ERROR: Error installing merb: invalid gem format for /opt/ruby-enterprise-1.8.6-20090113/lib/ruby/gems/1.8/cache/ParseTree-3.0.2.gem Deleted the gem cache but the problem persisted. It seemed to manage to install some of the gems th...

Testing basic HTTP authenticated request in Merb

The Merb Open Source Book has a chapter on authentication. However, the testing an authenticated request section example only shows what you can do for forms based authentication. I have a web service that I want to test with HTTP basic authentication. How would I do that? ...

All I need is ActiveRecord and ActiveMailer, should I use Rails/Merb?

I have a small web application that is currently running on Sinatra. It only has two pages so I don't really need controllers or many views. I have included ActiveRecord to interact with a database and ActiveMailer to send and receive mail. Would it be worth it to use Rails, or Merb on a project as small as this? I find myself adding fe...

Merb having issues requiring gems

I have merb setup but when I try to run it I get issue with any gems I try to include, e.g. I have the following: require 'RMagick' The rmagick gem is installed, and doing the above in irb (after requiring rubygems works as expected) even putting require 'rubygems' before I require RMagick doesn't fix the issue. ...

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! ...

Merb & DataMapper - accessing database connection info?

I'm using Merb and DataMapper with a MySQL db. I want to access the database name, user, and password from a Rake task for my Merb app. I guess I could YAML.load() the the database.yml, but that seems ugly. Any ideas? ...

Are hundreds/thousands of tcp sockets reasonable with memcached?

I'm using Merb::Cache for storing txt/xml and have noticed that the longer I leave my merbs running the larger the amount of open tcp sockets I have open -- I believe this is causing some major performance problems. lsof | grep 11211 | wc -l 494 merb 27206 root 71u IPv4 13759908 TCP localhost.local...