similar to: merb_has_flash 0.0.1 - Rails-style flash

Displaying 20 results from an estimated 12000 matches similar to: "merb_has_flash 0.0.1 - Rails-style flash"

2007 Oct 16
6
respond_to API
I''ll probably do my respond_to API rewrite, as discussed here: http://rubyforge.org/pipermail/merb-devel/2007-September/000275.html sometime this week, unless someone has come up with a better API. I''ll also work in http://merb.devjavu.com/ticket/227 at the same time. Any serious objections?
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps directory structure and config concepts and see what other people are feeling... the app dir: mvc/application is layed out as expected....maybe without the mailer by default (another discussion) the config dir: I really think that it''s confusing to have such a mixture of ways to configure some
2007 Aug 12
2
[PATCH] merb-rakefile-more-dist-byebye.diff
In rev 410, "rake db:migrate" doesn''t run because the Rake tasks are still looking for dist/ This patch removes all the references to dist/ that I could find. Ez, consider this a full copyright transfer from me to you on this and future patches; I''ll sign something official if you need it. -------------- next part -------------- A non-text attachment was
2007 Dec 07
4
mrblog rake task fails
Hi all, I''m trying to run the mrblog sample application but somehow the rake task fails: -- Los-Angeles:~/Projects/mrblog Ulf$ rake db:schema:load --trace (in /Users/Ulf/Projects/mrblog) rake aborted! Don''t know how to build task ''db:schema:load'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]''
2007 Nov 16
9
Challenge
The original: http://pastie.textmate.org/private/lqvrlyyvkv2kbugoxtiz6w Send your submissions to me by email or on #merb. I''ll blog it, and pick a winner. The winner does not mean it makes it into Merb, just means I personally like it best. But it might make it into Merb. # Scenario: # You have a simple application that lists all the monkeys at the zoo. # Every monkey has a
2007 Sep 20
11
Proposed API change for respond_to
Ez (or someone) asked on #merb tonight whether respond_to was the right API for what it does. After some discussion and pasties, I offer the following proposed API for content negotiation and response format selection: First, what does respond_to do right now? I see at as performing 3 distinct operations: 1. parse params[:format] and the accepts header to find out what format the
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other than Erubis are not loaded automatically (Haml, XMLBuilder). Either this should be fixed, or the documentation should be updated to instruct people how to use non-Erb template engines. Apparently the solution is to do something like this in merb_init.rb: ::Merb::AbstractController.register_engine
2008 Mar 13
1
Merb Projects and Autotest
Hi! I''m rather new to Merb, but I thought I''d give it a shot. I found that autotest wasn''t running my specs when my models were changing. Maybe this is because of how I have set up Merb, but in the even that it''s not just me, I''ve adapted Autotest''s mappings for Rails and have attached my efforts to this email. Unfortunately, you need to
2007 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding running merb from SVN: http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html In a merb application, is there something comparable to having rails in the vendor/ folder of a rails app? Thanks, Duane Johnson (canadaduane)
2006 Dec 23
1
Generating a merb app skeleton...
I have just started playing with merb. I think this framework has great potential so ATTA BOYS are in order !! Perhaps I missed something in the readme file, but how do I generate a default app in merb. I was looking for something like the cmd below to generate the app hierarchy ?? > merb myapp -Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Mar 13
2
Reloading lib files
Hi, I have some Ruby modules inside my merb application /lib directory. Problem is: Every time I make a change in these files I have to restart Merb. This becomes impossible after 1000 restarts in 10 minutes. Can anybody say some magic words to save me? Thanks, -Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Aug 07
1
Upload progress and drb
Hi, Sorry if this is a stupid question! I used to have a site running on Merb 0.1.0. When running as a cluster, it would automatically start a drb process to co-ordinate the upload progress monitoring. Since uploading to 0.3.7 (a bit of a jump!), the drb process hasn''t started automatically. I seem to start one if I run merb -s 32323 manually, but when I do check on a file
2007 Sep 21
3
merb 0.4.0 - redirect problems
I had redirects working just the other day... before I upgraded to the latest release. Can somebody please chime in as to why this simple redirect is throwing an error? Controller: ----------------------- def do redirect "http://www.ebay.com" end Error Output: ------------------------- Internal server error 500 uninitialized constant Merb::ControllerMixin::MovedTemporarily in
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi, I have the following setup: class Fred < Application class InvalidKey < Merb::ControllerExceptions::Unauthorized; end def blee raise InvalidKey unless key end end I have added a view exception template in views/exceptions/invalid_key.html.erb but I am not seeing the exception page being rendered ?? The request seems to correctly go to
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing it as a gem? I don''t mean freezing it into a merb app, but checking out merb and being able to run it without installing the gem first. The reason I ask is that I''m working on some debugging stuff and it''d be helpful to be able to modify the source code, run it, modify, run, and so on. (And yes,
2007 Sep 05
1
Official Plugins - What should they be
There''s been a lot of discussion on the #merb channel lately about official plugins. I''m starting this thread and hoping to get some discussion as to what these official plugins should be, at least in the lead-up to revision 1.0 So far as I have seen on the #merb these are: ORM''s merb_active_record merb_sequel merb_datamapper and merb_form_controls - there is a
2007 Jan 02
1
Caching...
Hi, I am just starting playing with merb and was wondering if there is any caching strategy available. I was planning on using the action caching plugin but I am quiet sure what is the merb plan with dealing with plugins... Any idea or suggestions ? Regards, Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Apr 22
1
''dependencies'' and RedCloth
Hey gang. Jed noticed an issue with the ''dependency''/''dependencies'' macro the other day when working on the Collective wiki. Namely, if you make RedCloth a dependency Merb gets a little cranky. I think I have this figured out when doing some mods to Collective today too. However, before I go trying to fix this in Merb, I wanted to run this by the community.
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there I just started my first Merb app and I''m running into some weird things in Specs. When I do: describe "create action" do it "should create a new project" do project_params = {:name => ''bekkunin''} Project.should_receive(:create).with(project_params) controller, action = post(''/projects'', :project
2007 Jul 13
1
Regexp Question - Merb::Router
Hi, I''m looking through the Merb::Routing code and I''ve found a regexp that I can''t figure out how it works. Merb::Router::SECTION_REGEXP #=> /(?::([a-z*_]+))/ It takes a route definition string, like "/products/:model/:id" and extracts the "model" string on the first pass, and later the "id" string. Can anyone shed some light on