Displaying 3 results from an estimated 3 matches for "global_helpers".
Did you mean:
global_helper
2009 Jun 15
6
Spork and Merb and rSpec
Andy Shipman wrote:
> When running spork on a merb application, whenever a spec is run I get
> the following error from the Spork server.
>
> /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/bootloader.rb:1358:
> [BUG] rb_gc_mark(): unknown data type 0x3c(0x2203d0) non object
> ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-darwin9]
>
> Which crashes the
2007 Jul 15
0
errors_for
Been playing with merb.
One of the helpers I liked in rails was on form validations. Found
this was real easy to port over, so I thought I''d share.
It doesn''t highlight the field with the error, but it gives that same
nice little div on top.
Say I had an articles controller
def create
@article = Article.new(params[:article])
@article.save!
redirect
2007 Jan 03
2
Using helpers...
All,
I am getting an undefined method exception while trying to use a helper
method
in a xerb file.
I am running version 0.0.8
module Merb
module FredHelper
def blee( args )
....
end
end
end
In the xerb template I have
xml.bobo blee( args )
At runtime I am getting undefined method ''blee''
I tryied