Re: Will there be a new release soon?

2007-11-06 Thread Nagy Bence
Hi all, > the svn trunk is near the release but still needs some work on the > following areas : > * better session handling > * fastcgi fixes this time I need both of them (with a Remember me function) ;) Greetings, Bence -- Nagy Bence -> Tipográl | www.tipogral.hu -> Tipokert | www.tipoker

Re: Will there be a new release soon?

2007-11-06 Thread why the lucky stiff
On Tue, Nov 06, 2007 at 06:15:53PM +0100, Jonas Pfenniger wrote: > the svn trunk is near the release but still needs some work on the > following areas : > * better session handling > * fastcgi fixes > > Look in the track for ticket, patches are welcome :) Let's call this version two since the

Re: help on helper module inclusion/extension

2007-11-06 Thread Jonas Pfenniger
The root of the problem is that a module doesn't propagate newly included methods on classes or modules where it's been alreay included. take : module A; def a; end; end module B; def b; end; end class C; end where A is included in B and B in C. Depending on the inclusion order, you won't get the

RE: textarea fails on rows attribute

2007-11-06 Thread Berger, Daniel
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Thompson > Sent: Tuesday, November 06, 2007 9:58 AM > To: camping-list@rubyforge.org > Subject: Re: textarea fails on rows attribute > > If you want a textarea use the following: > textarea :name

Re: Will there be a new release soon?

2007-11-06 Thread Jonas Pfenniger
Hi Daniel, 2007/10/24, Berger, Daniel <[EMAIL PROTECTED]>: > Is there going to be a 1.5.1 release anytime soon? Seems like there have > been enough changes in SVN to warrant one and I prefer to use only > "released" code in production. It gives me warmer, fuzzier feelings than > using svn/trunk. :

Re: textarea fails on rows attribute

2007-11-06 Thread Jonas Pfenniger
Hi Daniel, Markaby throws an exception on malformed html entities to ensure valid HTML. The tag doesn't accept that "rows" attribute because it is not set in the standard (or am I wrong?). I don't remember where but I think that it is possible to disable those checks if you want but I thinkt that

Re: textarea fails on rows attribute

2007-11-06 Thread Paul Thompson
If you want a textarea use the following: textarea :name => 'cdid', :cols => 20, :rows => 10 Paul ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: textarea fails on rows attribute

2007-11-06 Thread Paul Thompson
If you want a textarea why not do this instead: textarea :name => 'cuid', :rows => 3, :cols => 10 Paul On Tue, Nov 06, 2007 at 10:42:42AM -0600, Berger, Daniel wrote: > Hi, > > Camping 1.5.180 > Ruby 1.8.6 > > It looks like Camping is choking on the 'rows' attribute for input tags: > > input(

Re: textarea fails on rows attribute

2007-11-06 Thread Joshua Schairbaum
Daniel, I believe you want to create a textarea tag, not an input tag. Then you should be able to give it a rows attribute. Josh On Nov 6, 2007, at 11:42 AM, Berger, Daniel wrote: > Hi, > > Camping 1.5.180 > Ruby 1.8.6 > > It looks like Camping is choking on the 'rows' attribute for input >

textarea fails on rows attribute

2007-11-06 Thread Berger, Daniel
Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the 'rows' attribute for input tags: input(:name => 'cuid', :type => 'text', :size => 10, :rows => 3) That will fail with: Markaby::InvalidXhtmlError no attribute `rows' on input elements: c:/ruby/lib/ruby/gems/1.8/gems/markaby

Re: help on helper module inclusion/extension

2007-11-06 Thread why the lucky stiff
On Tue, Nov 06, 2007 at 01:26:34AM -0800, Ronald Evangelista wrote: > I want to include helper methods included to my Camping App from by > requiring an external file but I can't seem to include helpers from > another module. Try mixing into CampApp::Mab class directly, which will add methods to t

Re: help on helper module inclusion/extension

2007-11-06 Thread Gregor Schmidt
Hallo Ronald, I observed the same problems. The only solution I could make up is adding the methods in the included hook. Not pretty, but it works module MyHelperModule def self.included(base) base.const_get(:Helpers).class_eval do def pre_code(value) self.pre do sel

help on helper module inclusion/extension

2007-11-06 Thread Ronald Evangelista
I want to include helper methods included to my Camping App from by requiring an external file but I can't seem to include helpers from another module. module CampingHelpers def self.included(base) base::Helpers.send(:include, Helpers) end module Helpers def show_test