From shayarnett at gmail.com Fri Feb 1 14:06:27 2008 From: shayarnett at gmail.com (Shay Arnett) Date: Fri, 1 Feb 2008 14:06:27 -0500 Subject: Helpers in 0.9 Message-ID: <86cad1660802011106p3fbf6a7dk1ccc611b9ff98ce5@mail.gmail.com> I would like to start moving the helpers over into 0.9, I figure that is something even I can do. But before I start I wanted to ask around and see if these will be staying in merb-core, or if they should be moved off to -more. I want to start with the url helper and then get the js and css helpers. I think these should stay in core personally. After that I will probably try and get merb_helpers working, which I am assuming will be moved to -more or stay a standalone gem. Shay Arnett From cmcknight at pheonic.com Tue Feb 5 14:30:16 2008 From: cmcknight at pheonic.com (Charles McKnight) Date: Tue, 05 Feb 2008 11:30:16 -0800 Subject: Unknown method error with control_for Message-ID: <47A8B948.1010107@pheonic.com> Is there a trick to using control_for in forms? I've been trying to make a simple form with a couple of text fields and I keep getting a unknown method error. Thanks! From jimfreeze at gmail.com Wed Feb 6 01:17:34 2008 From: jimfreeze at gmail.com (Jim Freeze) Date: Wed, 6 Feb 2008 00:17:34 -0600 Subject: Unknown method error with control_for In-Reply-To: <47A8B948.1010107@pheonic.com> References: <47A8B948.1010107@pheonic.com> Message-ID: <0E0027E8-32C7-43F2-AC5C-50586BDE89D3@gmail.com> On Feb 5, 2008, at 1:30 PM, Charles McKnight wrote: > Is there a trick to using control_for in forms? I've been trying to > make a simple form with a couple of text fields and I keep getting a > unknown method error. There is a patch that never made it in for some reason. % svn diff Index: lib/merb_helpers/form_helpers.rb =================================================================== --- lib/merb_helpers/form_helpers.rb (revision 1339) +++ lib/merb_helpers/form_helpers.rb (working copy) @@ -575,7 +575,7 @@ end def errorify_field(attrs, col) - attrs.add_html_class!("error") if @_obj.respond_to?(:errors) && @_obj.errors.on(col) + attrs.add_html_class!("error") if @_obj.respond_to?(:errors) && !@_obj.errors.on(col).empty? end def set_multipart_attribute!(attrs = {}) > > > Thanks! > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-devel From mike at manicdev.com Thu Feb 7 11:50:15 2008 From: mike at manicdev.com (Michael Irwin) Date: Thu, 7 Feb 2008 16:50:15 +0000 Subject: Catching non-Merb::ControllerExceptions Exceptions Message-ID: <2afc99be0802070850m1019776fgde8df667bdc4fc17@mail.gmail.com> Is there an agreed upon method for handling exceptions thrown by something outside of Merb? For example, DataMapper now throws a DataMapper::ObjectNotFoundError when a record isn't found in the db. I'd like to catch these exceptions and raise a C:E:NotFound exception instead, but without having to wrap a lot of code in begin/rescue/end blocks. Thanks, Mike Irwin From mike at manicdev.com Thu Feb 7 11:58:56 2008 From: mike at manicdev.com (Michael Irwin) Date: Thu, 7 Feb 2008 16:58:56 +0000 Subject: Catching non-Merb::ControllerExceptions Exceptions In-Reply-To: <2afc99be0802070850m1019776fgde8df667bdc4fc17@mail.gmail.com> References: <2afc99be0802070850m1019776fgde8df667bdc4fc17@mail.gmail.com> Message-ID: <2afc99be0802070858t1fdecd50n64715f588109f43f@mail.gmail.com> BTW, I'm looking for something like Rails' rescue_from method. On Feb 7, 2008 4:50 PM, Michael Irwin wrote: > Is there an agreed upon method for handling exceptions thrown by > something outside of Merb? For example, DataMapper now throws a > DataMapper::ObjectNotFoundError when a record isn't found in the db. > I'd like to catch these exceptions and raise a C:E:NotFound exception > instead, but without having to wrap a lot of code in begin/rescue/end > blocks. > > Thanks, > > Mike Irwin > From mike at manicdev.com Thu Feb 7 16:42:53 2008 From: mike at manicdev.com (Michael Irwin) Date: Thu, 7 Feb 2008 21:42:53 +0000 Subject: Catching non-Merb::ControllerExceptions Exceptions In-Reply-To: <26f68ef60802070911p7b49eb9bqc9d0e51dcaebdf60@mail.gmail.com> References: <2afc99be0802070850m1019776fgde8df667bdc4fc17@mail.gmail.com> <2afc99be0802070858t1fdecd50n64715f588109f43f@mail.gmail.com> <26f68ef60802070911p7b49eb9bqc9d0e51dcaebdf60@mail.gmail.com> Message-ID: <2afc99be0802071342g307b4f4i7cccc8d69c1f1ae4@mail.gmail.com> I had tried using params[:exception] in the internal_server_error method but it just returns Merb::ControllerExceptions::InternalServerError. On Feb 7, 2008 5:11 PM, Chris Farmiloe wrote: > > without looking into it too much..... I guess you could either > > use a filter to wrap all actions, rescue and re-raise the required > exceptions as custom controller-exceptions. > > or > > use the internal_server_error exception action in your exceptions > controller, inspect the exception in params[:exception] and redirect it to a > more suitable action. > > > > I've been thinking about making the exception catching more generic in one > of my apps, I'll post back if I find it was a good move. > > > > On 07/02/2008, Michael Irwin wrote: > > > > > > > > BTW, I'm looking for something like Rails' rescue_from method. > > > > > > On Feb 7, 2008 4:50 PM, Michael Irwin wrote: > > > Is there an agreed upon method for handling exceptions thrown by > > > something outside of Merb? For example, DataMapper now throws a > > > DataMapper::ObjectNotFoundError when a record isn't found in the db. > > > I'd like to catch these exceptions and raise a C:E:NotFound exception > > > instead, but without having to wrap a lot of code in begin/rescue/end > > > blocks. > > > > > > Thanks, > > > > > > Mike Irwin > > > > > _______________________________________________ > > Merb-devel mailing list > > Merb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/merb-devel > > > > > > -- > > > > > Chris Farmiloe > > > web: www.oxdi.eu > direct: 01273 782909 > skype: chrisfarms From merb at dusty.name Thu Feb 7 17:38:58 2008 From: merb at dusty.name (Dusty Doris) Date: Thu, 7 Feb 2008 17:38:58 -0500 Subject: geokit on merb Message-ID: I converted the rails geokit plugin to a merb plugin today. Anyone interested in testing it out? It seems to be working great for me. If so, where should I put it? I don't have a blog up or anything right now. Been meaning to do that, but haven't had the time. -Dusty Doris From merb at dusty.name Fri Feb 8 00:16:38 2008 From: merb at dusty.name (Dusty Doris) Date: Fri, 8 Feb 2008 00:16:38 -0500 Subject: geokit on merb In-Reply-To: References: Message-ID: Thanks to everyone that replied to me today about the merb_geokit plugin. I can see that there are a few people out there besides me that would like to use it. I went ahead and put the code up on a project page on google. http://code.google.com/p/merb-geokit/ I still have to write specs for it. I'd also like to port over that acts_as_mappable portion to work with Sequel as I really like that ORM. But, that will have to come with time as I'm pretty committed to activerecord in the project I'm using this on. Perhaps when sequel's new model relationships are done. They look pretty neat right now in trunk. Anyway, this looked like it was a pretty easy port, but I could have missed something. So, let me know if you find bugs. Dusty Doris From biot023 at gmail.com Fri Feb 8 08:19:58 2008 From: biot023 at gmail.com (doug livesey) Date: Fri, 8 Feb 2008 13:19:58 +0000 Subject: Hello to the list Message-ID: <50873a360802080519x3d49df11s2e0798c8406ec9b8@mail.gmail.com> Just a quick email to say hello to the list (& get it into my contacts!). My name is Doug, I'm UK based, and I'm just starting to learn Merb. I've been using Ruby & Rails for about 3 years, and so far really like Merb's approach. So hello again! Doug. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080208/315c16fe/attachment.html From ivey at gweezlebur.com Fri Feb 8 09:17:01 2008 From: ivey at gweezlebur.com (Michael D. Ivey) Date: Fri, 8 Feb 2008 08:17:01 -0600 Subject: Hello to the list In-Reply-To: <50873a360802080519x3d49df11s2e0798c8406ec9b8@mail.gmail.com> References: <50873a360802080519x3d49df11s2e0798c8406ec9b8@mail.gmail.com> Message-ID: <10C240AE-E2D4-4433-A759-F73D0930624E@gweezlebur.com> Hi Doug! Welcome to Merb. We're getting all prepped to kick 0.9 out the door, so be sure and pull the github repositories and try it out. From merb at dusty.name Sat Feb 9 11:54:31 2008 From: merb at dusty.name (Dusty Doris) Date: Sat, 9 Feb 2008 11:54:31 -0500 Subject: merb annotate models Message-ID: I like using the annotate models plugin in rails, so I ported it to merb. http://code.google.com/p/merb-annotate-models/ Simply adds a raketask to run it. It only works on activerecord right now, this was a direct port. -Dusty Doris From farrel.lifson at gmail.com Sun Feb 10 17:24:39 2008 From: farrel.lifson at gmail.com (Farrel Lifson) Date: Mon, 11 Feb 2008 00:24:39 +0200 Subject: Testing uses the development environment Message-ID: I'm running Merb 0.5.3 with Test::Unit. When I run 'rake test' it seems to be using the development environment as shown by the output here: (in /home/farrel/Projects/blue_mars) /usr/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE Sun, 10 Feb 2008 22:20:01 GMT: Connecting to the 'blue_mars_dev' database on 'localhost' using 'postgres' ... /usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/unit/organisation_test.rb" "test/unit/user_test.rb" /usr/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE Started merb_init.rb ... Sun, 10 Feb 2008 22:20:02 GMT: Connecting to the 'blue_mars_dev' database on 'localhost' using 'postgres' ... Loading Application... Compiling routes.. Loaded DEVELOPMENT Environment... Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader Started ... Finished in 0.019958 seconds. I also noticed that the database is not wiped between test runs and old test data remains present in the database. I could not find anything in the Rake tasks which cleared the test databases. Am I running on old code that is causing these two issues or am I missing something else? Farrel From sergio.soujava at gmail.com Sat Feb 16 22:04:00 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Sun, 17 Feb 2008 00:04:00 -0300 Subject: Routing to a controller inside lib directory Message-ID: Hi, I am creating a web framework for Merb. I would like to route all requests to the framework controller that will be inside the lib directory. How can I do that? And also, can someone tell me what should I do to be able to find that info by myself instead of bugging you guys here? Thanks very much! -Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080217/0fed8dfa/attachment.html From sergio.soujava at gmail.com Mon Feb 18 07:07:47 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Mon, 18 Feb 2008 09:07:47 -0300 Subject: Routing to a controller inside lib directory In-Reply-To: <50873a360802180244y10cdf241ic80f51551f18ca1b@mail.gmail.com> References: <50873a360802180244y10cdf241ic80f51551f18ca1b@mail.gmail.com> Message-ID: Thanks Doug! I actually found the answer myself, after some source code exploration. The lib directory is in the load path, so controllers inside there will be loaded as well. The stuff in the ruby world is all poorly documented. The source code API docs does not help either. This makes it very difficult to get started. Thanks for your help! -Sergio On Feb 18, 2008 7:44 AM, doug livesey wrote: > Hi -- I'm not as far into Merb as you, so I can't advise on the > technicalities, but I can help with the searching for advice. > http://www.merbforums.org/ > > Also -- there's an IRC channel at freenode that I connected to, but I'm a > total Ircle newbie & can't find it again. > & Peepcode have a new pdf on Merb out that should be worth a butcher's. > > > On 17/02/2008, Sergio Oliveira < > sergio.soujava at gmail.com> wrote: > > > Hi, > > > > I am creating a web framework for Merb. I would like to route all > > requests to the framework controller that will be inside the lib directory. > > > > How can I do that? And also, can someone tell me what should I do to be > > able to find that info by myself instead of bugging you guys here? > > > > Thanks very much! > > > > -Sergio > > > > _______________________________________________ > > Merb-devel mailing list > > Merb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/merb-devel > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080218/ed1fb4cd/attachment.html From sergio.soujava at gmail.com Mon Feb 18 07:08:29 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Mon, 18 Feb 2008 09:08:29 -0300 Subject: Invalidating a merb session Message-ID: This is a very simple question with no easy answer anywhere. :-( :-( :-( -Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080218/31cdd156/attachment.html From j.nagash at gmail.com Mon Feb 18 08:10:59 2008 From: j.nagash at gmail.com (Justin "nagash" Jones) Date: Mon, 18 Feb 2008 22:10:59 +0900 Subject: Invalidating a merb session In-Reply-To: References: Message-ID: request.session.delete ? Looking at the source anyways, seems like it would work. On Feb 18, 2008 9:08 PM, Sergio Oliveira wrote: > > This is a very simple question with no easy answer anywhere. :-( :-( :-( > > -Sergio > > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080218/fabc7853/attachment.html From sergio.soujava at gmail.com Mon Feb 18 16:54:22 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Mon, 18 Feb 2008 18:54:22 -0300 Subject: Calling a controller inside a module Message-ID: I tryied everything: :controller => 'MyModule::Core::Controller' require 'MyModule/core/controller' include MyModule::Core But nothing works !!! Question is very simple: How to call a controller that belongs to a Module inside the router.rb file? This cannot be that difficult! Thanks! -Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080218/745a9497/attachment.html From ez at engineyard.com Mon Feb 18 17:00:51 2008 From: ez at engineyard.com (Ezra Zygmuntowicz) Date: Mon, 18 Feb 2008 14:00:51 -0800 Subject: Calling a controller inside a module In-Reply-To: References: Message-ID: <9C454BD7-8154-4C18-BA40-A5C3010728E2@engineyard.com> :controller => /my_module/core/controller' Cheers- -Ezra On Feb 18, 2008, at 1:54 PM, Sergio Oliveira wrote: > > I tryied everything: > > :controller => 'MyModule::Core::Controller' > > require 'MyModule/core/controller' > > include MyModule::Core > > But nothing works !!! > > Question is very simple: > > How to call a controller that belongs to a Module inside the > router.rb file? > > This cannot be that difficult! > > Thanks! > > -Sergio > > > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-devel - Ezra Zygmuntowicz -- Founder & Software Architect -- ezra at engineyard.com -- EngineYard.com From sergio.soujava at gmail.com Mon Feb 18 18:59:01 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Mon, 18 Feb 2008 20:59:01 -0300 Subject: Calling a controller inside a module In-Reply-To: <9C454BD7-8154-4C18-BA40-A5C3010728E2@engineyard.com> References: <9C454BD7-8154-4C18-BA40-A5C3010728E2@engineyard.com> Message-ID: That did not work, Ezra! Being very objective: I am building a web framework to run inside Merb, so I want the main controller to be the framework controller. module Menta module Core class Controller < Application def sayHello @hi = "Hello there!" render :layout => :none end end end end This is inside lib/Menta/core/controller.rb Inside route.rb I tried everything: :controller => 'Menta::Core:Controller' :controller => 'menta/core/controller' :controller => 'menta/core/Controller' include Menta::Core Nothing will work, please advice! Thank you very much! -Sergio On Feb 18, 2008 7:00 PM, Ezra Zygmuntowicz wrote: > > :controller => /my_module/core/controller' > > Cheers- > -Ezra > > > > On Feb 18, 2008, at 1:54 PM, Sergio Oliveira wrote: > > > > > I tryied everything: > > > > :controller => 'MyModule::Core::Controller' > > > > require 'MyModule/core/controller' > > > > include MyModule::Core > > > > But nothing works !!! > > > > Question is very simple: > > > > How to call a controller that belongs to a Module inside the > > router.rb file? > > > > This cannot be that difficult! > > > > Thanks! > > > > -Sergio > > > > > > _______________________________________________ > > Merb-devel mailing list > > Merb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/merb-devel > > - Ezra Zygmuntowicz > -- Founder & Software Architect > -- ezra at engineyard.com > -- EngineYard.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080218/14ea2882/attachment.html From sergio.soujava at gmail.com Mon Feb 18 19:23:45 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Mon, 18 Feb 2008 21:23:45 -0300 Subject: Calling a controller inside a module In-Reply-To: References: <9C454BD7-8154-4C18-BA40-A5C3010728E2@engineyard.com> Message-ID: Sorry, it actually works like: r.match(/\.mtw/).to(:controller => 'menta/core/Controller', :action =>'service') Thanks and sorry for anything! -Sergio On Feb 18, 2008 8:59 PM, Sergio Oliveira wrote: > That did not work, Ezra! > > Being very objective: I am building a web framework to run inside Merb, so > I want the main controller to be the framework controller. > > module Menta > module Core > > class Controller < Application > > def sayHello > @hi = "Hello there!" > render :layout => :none > end > end > > end > end > > This is inside lib/Menta/core/controller.rb > > Inside route.rb I tried everything: > > :controller => 'Menta::Core:Controller' > > :controller => 'menta/core/controller' > > :controller => 'menta/core/Controller' > > include Menta::Core > > Nothing will work, please advice! > > Thank you very much! > > -Sergio > > > > On Feb 18, 2008 7:00 PM, Ezra Zygmuntowicz wrote: > > > > > :controller => /my_module/core/controller' > > > > Cheers- > > -Ezra > > > > > > > > On Feb 18, 2008, at 1:54 PM, Sergio Oliveira wrote: > > > > > > > > I tryied everything: > > > > > > :controller => 'MyModule::Core::Controller' > > > > > > require 'MyModule/core/controller' > > > > > > include MyModule::Core > > > > > > But nothing works !!! > > > > > > Question is very simple: > > > > > > How to call a controller that belongs to a Module inside the > > > router.rb file? > > > > > > This cannot be that difficult! > > > > > > Thanks! > > > > > > -Sergio > > > > > > > > > _______________________________________________ > > > Merb-devel mailing list > > > Merb-devel at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/merb-devel > > > > - Ezra Zygmuntowicz > > -- Founder & Software Architect > > -- ezra at engineyard.com > > -- EngineYard.com > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080218/df471f19/attachment-0001.html From merb at dusty.name Tue Feb 19 13:11:24 2008 From: merb at dusty.name (Dusty Doris) Date: Tue, 19 Feb 2008 13:11:24 -0500 Subject: adding action to a resource Message-ID: This question is for merb-core 0.9 What is the best way to add an action to a single resource? Suppose I have an account resource for the current_user and I wanted to add an activate method to it. Would it require something like this? r.resource :account do |a| a.match('/activate').to(:action => 'activate') end Or, is there a quicker way to do it? Also, is there any way to get a named_route out of that? So, I could have something like :activate_account? Or, should I be pulling that out into its own resource? Any suggestions? Thanks Dusty Doris From sergio.soujava at gmail.com Sat Feb 23 12:48:48 2008 From: sergio.soujava at gmail.com (Sergio Oliveira) Date: Sat, 23 Feb 2008 14:48:48 -0300 Subject: MentaOnRuby Message-ID: I bugged you guys with some crazy questions, but finally the 0.3b release of MentaOnRuby is available. MentaOnRuby is a port of the Mentawai Framework to Ruby on top of Merb. More info: http://blogs.mentaframework.org/posts/list/15.page http://www.mentaframework.org/ I hope that people will help and it will grow. Thanks to the Merb team! -Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080223/8d17bfda/attachment.html From biot023 at gmail.com Thu Feb 28 12:20:37 2008 From: biot023 at gmail.com (doug livesey) Date: Thu, 28 Feb 2008 17:20:37 +0000 Subject: An error using merb command with test environment Message-ID: <50873a360802280920p1818cf46qd15cad2d0c443e8e@mail.gmail.com> Hi -- when I try to use the 'merb' command with the test environment in any way, I get the following error: Connecting to database... /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- merb-test (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.0/lib/merb-core/core_ext/kernel.rb:26:in `dependency' from /usr/local/lib/ruby/gems/1.8/gems/merb_rspec-0.9.0 /lib/merb_rspec.rb:8 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require' from /Users/douglasjohnlivesey/work/merb/imogen/config/init.rb:31 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.0/lib/merb-core/bootloader.rb:145:in `run' from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.0/lib/merb-core/bootloader.rb:27:in `run' from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.0/lib/merb-core/server.rb:42:in `start' from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.0/lib/merb-core.rb:39:in `start' from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.0/bin/merb:3 from /usr/local/bin/merb:16:in `load' from /usr/local/bin/merb:16 Can anyone advise on what I might be getting wrong, here? I can run the same command with the production and development environments. Cheers, Doug. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080228/ca4b1461/attachment.html From justinwr at gmail.com Thu Feb 28 12:29:01 2008 From: justinwr at gmail.com (Justin Reagor) Date: Thu, 28 Feb 2008 12:29:01 -0500 Subject: An error using merb command with test environment In-Reply-To: <50873a360802280920p1818cf46qd15cad2d0c443e8e@mail.gmail.com> References: <50873a360802280920p1818cf46qd15cad2d0c443e8e@mail.gmail.com> Message-ID: <6B7577B0-3BB6-4EA8-B645-577598FB03F7@gmail.com> It seems like you need "merb-test" gem... do you have it installed? :: Justin Reagor aka cheapRoc :: justinwr at gmail.com On Feb 28, 2008, at 12:20 PM, doug livesey wrote: > merb-test -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080228/5c7eaedd/attachment.html From z4k4ri4 at gmail.com Fri Feb 29 04:15:35 2008 From: z4k4ri4 at gmail.com (Zakaria) Date: Fri, 29 Feb 2008 16:15:35 +0700 Subject: Skip Rails goes direct to Merb, what book necessary? Message-ID: <837f1cb0802290115y6cf5ece9oed417e95a2f2a74a@mail.gmail.com> Hi, While I've been known and used ruby since the first pick axe book reviewed in slashdot, I somehow missed the rails bandwagon. Partly because the plural model madness and at that time my client web server doesn't support ruby. Now the opportunity comes, and I want to use merb instead of rails. So for people like me that want to learn Merb quickly, is there any book about Merb? I doubt it, given the newness of framework. Or should just read rails book and try to map the concept to merb? If it is then what book? Thanks, -- Zakaria z4k4ri4 at gmail.com Yahoo!: z4k4ri4 http://zakaria.is-a-geek.org http://pemula.linux.or.id From rob at stinkyink.com Fri Feb 29 04:41:34 2008 From: rob at stinkyink.com (Robert Williams) Date: Fri, 29 Feb 2008 09:41:34 +0000 Subject: Skip Rails goes direct to Merb, what book necessary? In-Reply-To: <837f1cb0802290115y6cf5ece9oed417e95a2f2a74a@mail.gmail.com> References: <837f1cb0802290115y6cf5ece9oed417e95a2f2a74a@mail.gmail.com> Message-ID: <47C7D34E.8020503@stinkyink.com> Hi Zakaria, Peepcode have just released a guide to using merb at http://peepcode.com/products/meet-merb-pdf-draft Rob. Zakaria wrote: > Hi, > > While I've been known and used ruby since the first pick axe book > reviewed in slashdot, > I somehow missed the rails bandwagon. Partly because the plural model madness > and at that time my client web server doesn't support ruby. > Now the opportunity comes, and I want to use merb instead of rails. > > So for people like me that want to learn Merb quickly, is there any > book about Merb? > I doubt it, given the newness of framework. > Or should just read rails book and try to map the concept to merb? > If it is then what book? > > Thanks, > > > -- Zakaria > z4k4ri4 at gmail.com Yahoo!: z4k4ri4 > http://zakaria.is-a-geek.org > http://pemula.linux.or.id > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-devel > From jed.hurt at gmail.com Fri Feb 29 14:07:26 2008 From: jed.hurt at gmail.com (Jed Hurt) Date: Fri, 29 Feb 2008 12:07:26 -0700 Subject: datamapper and sequel Message-ID: I seem to remember sequel being the merb community's first love; then a sudden shift to datamapper. What prompted the shift to datamapper? What are the merits of each ORM? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080229/fe4fd6ff/attachment.html