similar to: [recipe] How to get on Merb Edge

Displaying 20 results from an estimated 3000 matches similar to: "[recipe] How to get on Merb Edge"

2007 Oct 24
1
Status of Merb on JRuby
I''ve submitted a few patches on Trac to help get Merb running under JRuby [0][1][2][3][4]. It''d be cool if any of you committers could find the time to look them over and apply/reject them. They''re mostly tiny, so it shouldn''t be too onerous. With all of these patches applied, there are still 3 spec failures. One is in the spec ''a merb mailer
2007 Dec 13
1
Merb::RenderMixin#set_status refers to non-existent RESPONSE_CODES constant
#set_status http://merb.devjavu.com/browser/trunk/lib/merb/mixins/render.rb#L270 refers to a non-existent constant. I tried, while creating #359, to make things OK, but I failed. I started by using STATUS_CODES instead, then used #[] instead of calling a method named STATUS_CODES, then I found out that during the call to #inherited
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 Oct 17
4
Merb, Mongrel+Erb
Hey there folks- I''m happy to announce the first useable release of my new pocket- framework Merb. Merb is a mongrel handler with built in controller and view templating with erb. It has a nice routing system similar to rails but much simpler. It uses some of the code from the camping handler and the rails handler and then some of its own secret sauce to form imho a nice fast
2007 Apr 11
0
Sessions migration...
Hi Ezra, and list, Is there something fishy with the Merb-included migration? I ran it, and MySQL complained. I removed this line, by commenting it out: # t.column :id, :integer, :null => false (Since Rails migrations that create tables always create an auto- increment as primary key, but they do use the NULL thing, so when you pass in a null, things happen "the
2007 Dec 13
0
constants_rewrite branch, Merb.root and Dir.pwd?
Hello Guys, Doing some svn up and some looking at the code in the repo, found that MERB_ROOT and the replacement Merb.root constant based heavily on Dir.pwd (on trunk: http://merb.devjavu.com/browser/trunk/lib/merb.rb#L89) Dir.pwd present a problem when you try to run something "outside" the root of your app, let say inside app directory it will wrongly assing MERB_ROOT to Dir.pwd and
2006 Dec 26
0
[PATCH] Fastthread 0.5.3.1 with merb edge (124)
I checked out the latest merb ''trunk'' and after installing it as a gem... (fresh install) I got the dreaded "fastthread not loaded: fastthread must be required before thread" error when starting up an instance of merb. Even without dRB. So I patched the merb.rb file to include fastthread before anything else if it''s installed. Check it. Merry Christmas!
2007 Sep 04
1
Couple of questions for Merb 0.4
All, I have just updated to the latest release of merb 0.4 and I am wondering how I can get my controller changes to reload without bouncing the server ? I am running in dev mode but my changes to my merb controller don''t seem to get picked up on new requests. Also say I have a controller that needs to render an alternate xml format ie something like:
2007 Jul 29
7
Merb test harness
Ezra, * test harness in new generated merb apps with helpers for testing merb without starting a server. * pin down plugin arch Seems to me that these two tasks go together unless you want to have rspec built in Merb. Regarding the test harness, my understanding is that: - a developer should be able to easily write specs against a merb application. - a developer should not need to start a merb
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 Sep 19
4
Ticket #190 (friendlier way to add / register a mime type)
Following up on #190 [1], I''ve just added a simple patch that allows the manipulation of the TYPES hash from within the Merb module. Use like: Merb.add_mime_type(:png,%w[image/png]) Merb.remove_mime_type(:png) It specifically disallows the removal of the :all MimeType, since content negotiation relies on it. I''m not super wonderful at API design, so comments and
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion repository, rather than first installing it as a gem? I can do the following if I already have an old gem lying around: merb -g testapp # using an old gem cd testapp rake merb:freeze_from_svn Unfortunately, that means I''m using an old version of the generator. So for example, when I just tried this,
2007 Jul 27
1
need help with Merb?
Ezra, I''m sure you are really busy and can''t spend too much working on Merb. Please let us know how we can help you. If the plugin architecture is stable, would you be interested in some of us porting few rails plugins over (such as attachment_fu) ? Or is there anything else we could do during our free hacking time? Thanks, -Matt -------------- next part -------------- An
2007 Jul 18
2
Hash.from_xml
Hi, I''ve started looking at ticket 90<http://merb.devjavu.com/projects/merb/ticket/90>and there are a couple of situations that the current implementation doesn''t cater for. 1. Tag Attributes are wiped out. - <tag1 attr1=''1''>Content</tag1> #=> { "tag1" => "Content" } - I think it should return -
2007 Dec 19
4
Questions on writing plugin for merb
Hey all, I am looking to write a plugin for merb and have a few queries about how to best go about it. I have a few questions (sorry if some are very merb newbie ones): - It seems all the plugins are gems; I can just add dependencies (my plugin will require soap4r) as per any usual gem spec? - If I want my plugin to add some new generate functionality? Is this possible? If so, are there
2007 Sep 28
0
Any problems with devjavu.com?
Hi all, apologies if this isn''t the right place to ask. merb.devjavu.com seems to be down for me everyday between 11:00am UTC and 5:00pm UTC. Anyone outside the US seeing this problem? Btw, merb is just... beautiful. Cheers, David
2007 Dec 13
2
Distributing a Merb application as a Gem
Hi all, I will distribute a Merb application as a gem. All the pieces are in place, except one: when daemonizing, the PID files are put in the default log/ location, instead of the place I defined. I looked through the code, and it seems possible to change the location of the log files, but the paths are hard-coded. I would have to abstract these away. Am I approaching this the right
2007 Nov 08
1
Back to ruby2ruby?
Hello guys. I missed a lot of the development before 0.4 got out (btw, excellent work!). I checkout last night the merb-trunk code and run the specs, found that everything passes with 1 pending, but no errors or failures about missing ruby2ruby. There is a ticket (#274)[1] that discuss this, but I remember we discussed this back in September about depending on RubyInline... Also, the merb gem
2007 Aug 06
0
new patch adding control_for :boolean to create a checkbox
I''m sorry I didn''t have time working on the tests/models generator but here is a tiny patch I wrote to help you creating form check boxes. http://merb.devjavu.com/projects/merb/ticket/114 -Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070805/e42cd930/attachment.html
2007 Mar 13
0
Specs for Ticket 21
I''ve submitted some specs for the problem I found with parsing multipart forms. http://merb.devjavu.com/projects/merb/ticket/21 It looks like the problem is broader than I thought before. The multipart form parsing only takes the last field in the form, the others get thrown away. Luke -------------- next part -------------- An HTML attachment was scrubbed... URL: