similar to: new patch adding control_for :boolean to create a checkbox

Displaying 20 results from an estimated 11000 matches similar to: "new patch adding control_for :boolean to create a checkbox"

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
2008 Feb 05
1
Unknown method error with control_for
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!
2007 Jul 29
2
fcgi?
Hi, I''ve been looking for a light weight alternative to rails for a few small projects, and just came across merb, which looks perfect. The only issue is that merb seems to be tied to mongrel, and I have to deploy to our internal infrastructure which uses FastCGI. How difficult would it be for me to modify merb to support a fcgi interface (actually a rack interface - rack is
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 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 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 Mar 28
0
[recipe] How to get on Merb Edge
Hello, My name is Olle, and I am new here. I''d like to add some detail to Ez''s explanation in a previous email [1]. These are the steps I took to get Merb running Merb Edge (is that what you call it?). Start in the merb-root not in the dist-root. # Create dist/framework, plus script/merb stub rake merb:freeze cd dist rm -rf framework # Replace dist/framework with trunk
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 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 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
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:
2007 Nov 13
1
nitpicking :)
The http://merbivore.com/get_merb.html#trunk page mentions the 0.4.0 version, but 0.4.1 is out. Is this a part of the site which will be constantly updated as part of the release cycle? The roadmap on merb.devjavu.com has outstanding tickets for 0.4.0 and 0.4.1, yet both versions are out. Were those issues fixed, or should they be bumped forward? Yeah, this is really anal crap, I know. I would
2007 Aug 26
0
Routes patch w/ specs
The new routes system is available as a patch, with specs. There are a few specs that fail (6) having to do with mail and content negotiation. I could use some help figuring these ones out. Lots of things have changed, mostly in the dispatcher and controller classes. Let me know what you think, and then let''s get this patch applied.
2008 Jan 14
0
Making failing view specs easier to troubleshoot
I just had a problem that had me stumped for an hour. All of a sudden all of my view specs were failing, and I couldn''t get good troubleshooting information from the rspec output. The output from running `rake specs` was a bunch of HTML from app/views/exceptions/internal_server_error.html.erb, but there wasn''t enough info there to diagnose my problem. It just said
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 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:
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 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)