Oh yes, I had forgotten that I had solved the second problem. I
actually made accessors, then used the make_helper function.
to_query sounds delectable, and I'll take a look at polymorphic_path.
Thanks a bundle!
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~-
I just wanted to bump this once, because I'm still very interested in
this, even though my workarounds are satisfactory.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Rub
JDM wrote:
> "Representational State Transfer defines a convention for using HTTP
> to both identify and manipulate related information that is
> conceptually mapped into an aggrregate construct referred to as a
> Resource."
>
> Jim Maher
Quite succinct. I like it.
--
Posted via http://www.r
I am trying to create a custom link_to helper that passes sort
parameters to a link. It has the following code, which is pretty much
just a rewrite of link_to:
def sort_link_to(sort, old_sort, old_dir, *args, &block)
if block_given?
options = (args.first || {}).merge({
:old_s
quot;text" value of the hash.
Cheers.
Aa Wilson wrote:
> Hello, all. This is short and simple. I have this statement in a
> functional test:
>
> assert_select 'input' do
> assert_select "[name=?]", {:count => 0,:text =>/areas\[1\]/}
> en
Hello, all. This is short and simple. I have this statement in a
functional test:
assert_select 'input' do
assert_select "[name=?]", {:count => 0,:text =>/areas\[1\]/}
end
This assertion gives me the following:
1) Failure:
test_areas(SampleControllerTest)
[c:/ruby/lib/ruby/gem
Frederick Cheung wrote:
> On 11 Sep 2008, at 16:37, Aa Wilson wrote:
>
>> the gist of things:
>> production environment (in which case, everything comes out exactly as
>> compensate for whatever is giving this wonky output. As it is, we're
>> pretty stumped.
This is cross-posted to railsforum.com, so if you frequent both you may
see it in both places.
So, my co-worker and I are working on this project, a Rails app using an
MS SQL database with lots of legacy stuff built in. He's stumbled
across a strange error, and we don't really know where to star
8 matches
Mail list logo