Geoffrey Grosenbach | 7 Dec 19:19 2006

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 I'm glad to give commit rights to anyone who wants to contribute.

Geoffrey Grosenbach
HH | 11 Dec 13:17 2006
Picon

Using Rails Plugins with Camping

I just picked up Camping and I'm currently reviewing every little
tidbit of information I can find out about it.

I really liked the simplicity of RubyOnRails, but sometimes you want
something fast and everything is relative.  After looking at Camping,
RubyOnRails seems like a lot of work if you just want to test out a
prototype of a small web app.

One thing I do miss are all the pre-built plugins for Rails (such as
acts_as_taggable).

How easy is it to convert Rails plugins to work with Camping?

I've done my first pass at searching for anything related to adapting
Rails plugins for Camping but I only came up with some hackery around
Dr. Nic's Magic Models.

Any finger pointing in the right direction would be greatly appreciated.

Thanks so much,
HH
Chris Carter | 11 Dec 13:59 2006
Picon

Re: Using Rails Plugins with Camping

Hi!

Most plugins for Rails that are for the model (acts_as_taggable,
acts_as_versioned, acts_as_textile etc...) will work just fine in
camping.  You just need to include the file, and add the acts_as line
to your model definition.  You may need to do some jiggery pokery with
view helpers too though.

On 12/11/06, HH <appleman@...> wrote:
> I just picked up Camping and I'm currently reviewing every little
> tidbit of information I can find out about it.
>
> I really liked the simplicity of RubyOnRails, but sometimes you want
> something fast and everything is relative.  After looking at Camping,
> RubyOnRails seems like a lot of work if you just want to test out a
> prototype of a small web app.
>
> One thing I do miss are all the pre-built plugins for Rails (such as
> acts_as_taggable).
>
> How easy is it to convert Rails plugins to work with Camping?
>
> I've done my first pass at searching for anything related to adapting
> Rails plugins for Camping but I only came up with some hackery around
> Dr. Nic's Magic Models.
>
> Any finger pointing in the right direction would be greatly appreciated.
>
> Thanks so much,
> HH
(Continue reading)


Gmane