Displaying 20 results from an estimated 9000 matches similar to: "Specs for Ticket 21"
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 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 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 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 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 Apr 02
0
Merb presentation
Merbists,
I gave a presentation about Merb to my local Ruby group last week. I''ve put
it up as a blog post. Please take a look and let me know if there are
obvious errors.
http://railspikes.com/2007/4/1/merb
Thanks,
--
Luke Francl
Ruby on Rails Developer
Slantwise Design <http://slantwisedesign.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 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
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 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 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 Mar 09
0
Merb + attachment_fu
Merbists,
I saw a note in the attachment_fu source code regarding supporting Merb[1]
as well as a post on the Caboose forum[2].
Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle
uploads for a Rails app?
I''ve hacked together something, but it''s not pretty. Besides fixing the TODO
mentioned in the attachment_fu source code to support Merb
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