search for: dworm

Displaying 4 results from an estimated 4 matches for "dworm".

Did you mean: dword
2011 Sep 10
4
Finding HTML attributes with jQuery in Rails 3.1
I''m having trouble wrapping my head around the proper syntax to have jQuery (in an .js file) grab an HTML attribute and use the value of that attribute to load a partial. HTML fragment: <a href="/toggle" data-remote="true" section="training"> jQuery string (now setting a static partial, I need this to be dynamic)
2010 Jul 04
2
DRYing Routes
I have a series of ''static'' pages for a site that need named routes in Rails 3. I''m trying to DRY the routes file, but can''t seem to find the proper code. The desired output/code is: match ''/about'' => ''info#about'', :as => :about for each page. My attempt to dry this: %w(about services articles marketing clients).each
2010 Nov 04
1
Calling a method directly from a test => no method error
I''m trying to get a test to pass and keep getting a "no method error" I''m using the routines from Chapter 8 of "Security on Rails" and can''t get the test to pass. I keep getting "no method error" for decrypt. Can someone help me with the correct "address" for decrypt so I can call it directly. Here is the routine definition:
2010 Oct 27
4
Using ActiveRecord 3.0.x with Ruby 1.9.2
Can someone remind me of the incantation to use ActiveRecord in a plain ruby program for the versions specified. I''m not having any luck searching with google and I keep getting: `require'': no such file to load -- activerecord (LoadError) Not sure if this is a dependency or file path problem. Thanks -- You received this message because you are subscribed to the Google