Displaying 20 results from an estimated 1000 matches similar to: "Mosquito TDD Framework Updated"
2007 Jun 27
5
Mosquito Fixtures Won''t Load
I can''t get fixtures to load correctly in a Mosquito test. The first
fixture loads in the unit test, but the rest don''t load at all.
File structure:
tracker/
tracker.rb
test/
test_tracker.rb
fixtures/
tracker_measurements.yml
tracker_projects.yml
Relevant test code:
require ''rubygems''
2006 Dec 07
0
Mosquito gem available
why has mentioned this before, but I wrote a small test framework for Camping and it is now available as a gem.
sudo gem install mosquito
If you''d like to write unit or functional test for your Camping app, check it out:
http://code.whytheluckystiff.net/camping/wiki/MosquitoForBugFreeCamping
http://rubyforge.org/projects/mosquito
Several people have already submitted patches and
2007 May 08
2
Extending SuperRedCloth
Fellows of the cloth --
I''m writing code that subclasses RedCloth and emits styled text that
is not HTML. For example, I''m going to be emitting RTF and other
formats from Textile or Markdown.
I''ve got it working quite well with plainclothed RedCloth, but I can''t
seem to override any of the methods in SuperRedCloth. Here''s a sample:
2007 Oct 13
1
Formatted Routes?
Is anyone using formats with the url generator in trunk? I can''t
figure it out and it seems to be unimplemented in the router code.
I want to do something like
url(:articles, :format => "xml")
# => /articles.xml
or
url(:formatted_articles, :format => "xml")
--
Geoffrey Grosenbach
........................
PeepCode Screencasts
http://peepcode.com
2007 Jun 19
1
Plugin Requirements
I like the style of the Merb plugin manager....installing gems
straight from RubyForge.
However, the current implementation in trunk wants to find an install
script and a Rakefile.merb. Many gems would still be useful without
this and could be easily packaged with a Merb app for deployment.
Right now it wil "rescue nil" if no uninstall script is found, but the
others are required.
Is
2007 Jun 05
0
Fwd: testing - test/spec and rspec
are you guys aware of this??
:)
Begin forwarded message:
> From: topfunky <topfunkycorporation at gmail.com>
> Date: June 4, 2007 8:35:24 PM EDT
> To: PeepCode <peepcode at googlegroups.com>
> Subject: Re: testing - test/spec and rspec
> Reply-To: peepcode at googlegroups.com
>
>
> On 5/28/07, Neil <neilrahilly at gmail.com> wrote:
>> Just
2006 Feb 11
9
Textmate Backtracer 1.0
Originally posted at http://blog.inquirylabs.com/2006/02/11/textmate-
backtracer-10/
== Announcing Version 1.0 ==
The backtracer has been around for a while now, and seems to have
done its job well enough to deserve a 1.0 mark.
== What Is It? ==
Whenever a Rails exception occurs, it spits out a backtrace full of
filenames and line numbers. I?ve often thought, ?Wouldn?t it be nice
if I
2006 Jun 04
3
Absolutize URLs in a string
I wonder - do we have some helper/processor/gem to automatically
convert all URLs in a passed string to their canonical equivalent -
i.e. with the protocol, host and such prepended based on the Rails
environment. Super-duper infty for RSS feeds (I hate their
requirement for canonical URLs everywhere).
--
Julian ''Julik'' Tarkhanov
please send all personal mail to
me at
2006 Apr 27
6
OrderedHash
Looks like I have skipped on this, but still - a couple of questions:
1) Why there suddenly is an OrderedHash in ActiveSupport? (this
glaring omission from ruby core is present in many apps already)
2) Why it doesn''t match the semantics of Hash respectively?
3) Why it''s #nodoc ?
--
Julian ''Julik'' Tarkhanov
please send all personal mail to
me at julik.nl
2006 Jun 18
1
Put an arbitary hash into ActiveRecord
Did someone encountered a problem of putting a hash of values into
AR, into a certain field?
Essentially I need some denormalized, freeform serializable hash to
which the user can add keys and values, and handle accessors from
there would be lovely too. I remember that AR has "serialize" but did
someone actually use it? I heard nothing but complaints about rich
objects in AR
2007 Oct 08
0
Camping-list Digest, Vol 18, Issue 1
UNSUBSCRIBE
On Oct 5, 2007, at 1:27 PM, camping-list-request at rubyforge.org wrote:
> Send Camping-list mailing list submissions to
> camping-list at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://rubyforge.org/mailman/listinfo/camping-list
> or, via email, send a message with subject or body ''help'' to
>
2006 Jun 16
0
[ATTN] To all users of unicode_hacks
TO everyone who is making use of unicode_hacks!
I have made irreversible changes to the plugin so that the routings
are no longer overloaded. To call the character-bound routines, you need
to use the "chars" or "u" accessors, as outlined in the docs
http://julik.nl/code/unicode-hacks/index.html
and in this blog post by Thijs:
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
Unsubscribe
Sent from my BlackBerry? wireless handheld
-----Original Message-----
From: rails-request@lists.rubyonrails.org
Date: Fri, 9 Jun 2006 18:24:09
To:rails@lists.rubyonrails.org
Subject: Rails Digest, Vol 21, Issue 195
Send Rails mailing list submissions to
rails@lists.rubyonrails.org
To subscribe or unsubscribe via the World Wide Web, visit
2007 Jun 01
0
Thief, a Simple Camping App
For your entertainment, a simple Camping app to watch your Backpack
account and show a list of recently updated pages. I hope to implement
an RSS feed soon.
Uses Hpricot to parse the XML from Backpack.
http://svn.topfunky.com/public/camping/thief/
Geoffrey Grosenbach
........................
Screencast | http://peepcode.com
2007 May 12
0
HAML?
Is anyone developing with HAML templates in Merb?
I had to do a few hacks but got it generally working (Merb trunk). I
did have to do odd things like print @_layout_content straight out
instead of calling catch_content(:layout). And, templates seem to be
cached even if I set :cache_templates to false in merb.yml.
I hope to be at the MerbHack night at RailsConf and would love to hack
on this part
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers!
Is it just me or does Camping init the session twice on a redirect?
If I have an app and when the user visits it for the first time, a
session is generated. Afterwards I redirect the user in a service
(that basically does auth) and he gets bounced to the login page -
but when I arrive at the login page my SID somehow has changed :-( so
there is a stale session dangling
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are
2006 Jun 15
4
redirect_to outside of a module
Hello List,
If I have a module and the address looks like /
admin/:controller/:action and I want to create a link
to /:controller/:action, how do I have to specify that in a ''link_to''
or in a ''redirect :controller =>'' statement.
It doesn''t strip the /admin part from it, which makes sense, but I
need to go to a controller in the root.
TIA,
2005 Dec 17
0
[OT] Unicode tokenization for Ferret
I wonder, do we (eventually) have a working Ruby implementation of this
http://www.unicode.org/reports/tr29/
This might come bloody useful not only for Ferret but for the
"excerpt" helper as well
--
Julian ''Julik'' Tarkhanov
me at julik.nl
2006 Aug 26
0
Re: Prag Programmers style PDF personalization
On 22-aug-2006, at 22:26, Austin Ziegler wrote:
> Not really. The Unicode problem for PDF support is wholly unrelated to
> my stance on Unicode vs. m17n Strings. The Unicode problem for PDF
> support is mostly that the PDF standards doc is a stinking pile that
> is almost impossible to understand without your eyes bleeding and even
> harder to implement. ;)
I just