Displaying 20 results from an estimated 1000 matches similar to: "Testing when camping"
2007 Aug 07
4
Problems with raising errors on a mocked object
I''m trying to mock a object to raise a certain error. By doing so I
get a ArgumentError on ActiveRecord''s save! method:
http://pastie.caboo.se/85628
I''ve tried to debug it but just can''t seem to find what I''m doing
wrong. Any help is greatly appreciated.
Cheers,
Eivind Uggedal
2006 Aug 15
1
Camping with Dr. Nic
Campers. Dr. Nic.
The new migrations in Camping''s trunk are very nice. They also open
the door (just an inch) to using Dr. Nic''s Magic Models with Camping.
Here''s my stab at ''er:
http://require.errtheblog.com/camping/blog.rb
Run that against Camping trunk. Don''t forget to `sudo gem install
dr_nic_magic_models`.
The hackery is in
2006 Oct 31
0
! camping-omnibus 1.5.176
gem install camping-omnibus --source code.whytheluckystiff.net
Considering the number of optional dependencies now in Camping, I''ve put
together an eigengem which will load all of the recommended libraries that most
devoted campers will want: ActiveRecord, Mongrel, SQLite3, RedCloth and the
acts_as_versioned gem. (Those last two are used in the examples.)
Stuff like mosquito and
2008 May 27
1
Camping Technique -- Multiple Layouts
Hey Campers,
Here''s a little technique you can use to support multiple layouts within a
Camping app.
def layout
@layout ||= ''default''
send("#{@layout}_layout") { yield }
end
The minimum you have to do after this is define a *default_layout*, but (as
you can hopefully see) you may define any number of arbitrary layouts to
wrap your content in.
Just set
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
2007 Oct 09
4
Camping and sessions proposal.
Hi Campers,
from the discussions gathered around, the current Camping sessions
don''t seem to be satisfying. ActiveRecord doesn''t seem to handle
hashid as an identifier, plus it doesn''t seem to be fully consistent
across the various RDBMS. On the other hand, the scope of the project
does not permit to implement all kind of client persistence. Secure
sessions with
2007 Sep 23
12
Next camping release
Dear camping users,
having been contacted by Julian Tarkhanov, I am willing to prepare the
next camping release. _why has given me his friendly approval, with
the reserve that camping.rb should be lower than 4k. He also told me
that he wanted to remove the ActiveSupport and Markaby dependencies.
I am writing here to get the users input so that I don''t do any
mistake. So far, my plans
2007 Jan 10
2
Dream Ledger
Hello Fellow Campers,
I''m feeling crazy tonight and thought I''d go ahead and announce my new
little project riding on the Camping framework: Dream Ledger
(http://www.dreamledger.com).
The app was written to scratch a personal itch, which is the simple
fact that I wanted an easy way to record my nightly dreams and sleep
experiences. Think about it as ''dream
2008 May 15
3
Squatting
Hey Campers,
I liked Camping so much that I had to "port" it to Perl. My framework is
called Squatting (as in http://en.wikipedia.org/wiki/Squatting), and you can
get it from the following places:
http://search.cpan.org/dist/Squatting/
http://github.com/beppu/squatting/tree/master
It''s not a straight port of the Camping code, because Camping uses some
weird Ruby idioms that
2007 Aug 08
1
Rv 3 released, with cluster support
Hey Campers,
Ditch that pup-tent for Camping deployment. Maybe. Either way, drive
around in Rv 3, newly released *right at this moment*.
Rv
A little init.d system for running Camping apps, for Linux.
Features
* cluster support
* custom database configuration
* interactive setup tasks
* logging
Full documentation and instructions at:
2003 Oct 10
0
Wierd failure when adding W2K to Samba3.0.0+LDAP Domain
Dear list
I have been at it for a few day trying to get my SuSE 8.2 server (FREESIDE) to
produce a domain (SKOGFARET) for my Windows 2000 Server machine (BABYLON).
I use OpenLDAP, and the setup seems to work in most ways, except the vital one
[ie. I can mount shares, print, etc...]
When I try to add W2K (BABYLON) to the domain, I get the following error:
"The following error occured
2008 Mar 12
6
Are we ready for a release ?
Hi campers,
what do you think of releasing the current trunk as camping-1.6 ?
Nothing much has moved since a while and apart from FastCGI, I believe
most bugs where ironed out.
After the gem release, I propose putting some effort on documentation
and how to use Rack''s FastCGI. When that''s done, we''ll have a
Rubyforge announcement and such.
/me is waiting for community
2006 Nov 29
0
Camping_generator
Hello campers,
I wanted to let you know that I''ve just released my camping generator,
which uses the rails generator system to create new camping apps.
$ gem install camping_generator
It''s the first part of my Parasite project, which aims to leverage
rails for better, faster, stronger camping development.
Feel free to take issue with my coding style, but submit issues at
2008 May 05
0
learning.kicks-ass.org
Hey Campers,
Here''s a tiny little app I wrote shortly after SXSW this year.
http://learning.kicks-ass.org/
Click on the big red *RANDOM* button for some mild amusement.
The idea came from Heath Row over a dinner conversation as chronicled here:
http://h3athrow.blogspot.com/2008/03/learning-kicks.html
The source code is here:
http://github.com/beppu/learning/tree/master
2006 Feb 08
1
Weird validation issue
Hi,
I''m having a weird validation issue. Validation isn''t working for
certain attributes and, for some reason, it''s also affecting things
outside of validation.
For campers on certain camp types, we require some information about
their school. I tried to validate the information this way:
validates_presence_of :school_type, :if => Proc.new { |c|
!c.booking.nil?
2008 Mar 11
4
Dropping Root
Hello Campers
I''m not sure this is the right list to ask but:
I''m using the junebug wiki (which is written in camping) for my own personal wiki. I''d like it to behave as a proper daemon, so it will start up at boot, get stopped properly at shutdown, keep a pid file in /var/run etc.
This requires a little messing with the wiki script junebug makes in the wiki
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers!
I am working on Site5, trying to get a working Camping application
running. Unfortunately, my sole option in terms of deployment is FastCGI.
I have no access to sudo so I cannot create ScriptAliases.
I''ve taken the Camping Short Short Example and uploaded it, along with a
dispatch.fcgi and an .htaccess file.
My question is - given the state of Camping development right
2008 Jan 10
14
Keeping Camping going
Hello all,
I''m not sure who Camping''s steward is at this point(zimbatm? _why?),
but I haven''t seen much activity in quite some time. I really like
Camping, and I understand open source projects can fall by the
wayside.
So, I''d be willing to take over maintenance and releasing. I have
experience maintaining my own open source projects, and a history of
2007 Aug 12
0
Session + Redirect trouble
Dear Campers,
I have created a small social network site using Camping, it is located
at http://dekk.hu/ (it is in hungarian).
The authentication part of the application is written so as I saw in
other applications (@state.user_id = @user.id; redirect Index) But some
user has problem with the login process, sometimes the app let them in
only for the second time, sometimes never. Maybe
2006 Nov 06
0
OT: BarCamp USA
Hi Guys,
For those of you in the USA or able to travel to the USA;
Barcamp USA has just been announced for August the 23rd to 27th, 2007.
http://www.barcampusa.org <http://www.barcampusa.org/>
It will be held in Jefferson County Fairgrounds
<http://www.jeffersoncountyfairpark.com/events/2007/August.htm> ,
Wisconsin, USA - about a 2 hour drive from Chicago's O'Hare