The problem is that the function crud_views_as_a_string is not defined
(GenModCRUD.rb:22:` def crud_views_as_a_string') to take an argument.
But in your test you are calling it with an argument :string
(TestGMC.rb:12: `crud_views_as_a_string(:string)'
I'm not sure what you're testing, but to
I copied and pasted and ran this code and it worked fine for me. Any
stray , characters?
On May 16, 6:50 pm, Orient Fang li...@ruby-forum.com wrote:
HI,
I have almost the same issue when I follow the 3rd Edtion.
but I verified the every type characters, there should be no mistakes.
Any one
, the forward
slash has closure properties.)
Oh well it's working now, and I escaped the . as well (\.).
Thank you for your help. Much appreciated frogstarr
On Dec 20, 12:09 am, frogstarr78 frogstar...@gmail.com wrote:
It actually depends on where the . is in the Regexp. In your case
Have you tried escaping them \/?
On Dec 18, 11:01 pm, AlwaysCharging goodg...@gmail.com wrote:
In my app, I allow users to submit urls. They (of course) need the
ability to submit urls with a forward slash, /, but whats the
regular expression to allow them to do that?
I currently use:
is this?
On Dec 19, 3:41 am, frogstarr78 frogstar...@gmail.com wrote:
Have you tried escaping them \/?
On Dec 18, 11:01 pm, AlwaysCharging goodg...@gmail.com wrote:
In my app, I allow users to submit urls. They (of course) need the
ability to submit urls with a forward slash
class Thing ActiveRecord::Base
belongs_to :other_thing
end
class OtherThing ActiveResource::Base
self.site = ...
end
The association here works. I can access other_thing from thing with
no problems until, as usual, testing. Specifically functionally test
the things_controller. The things
6 matches
Mail list logo