search for: dwormuth

Displaying 8 results from an estimated 8 matches for "dwormuth".

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
2009 May 01
5
Layout antics
I have a strange problem with my layout file. I think it may be due to nested partials, but removing the deepest nested partial call does not clear the problem. I have an application wide layout (application.html.erb) that works as expected - loads images, javascript, css etc for my application. So http://localhost:3000/patients --> fine http://localhost:3000/patients/new --> fine
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
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 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:
2006 Dec 15
0
Help with file_field
I''m new to ruby and rails, so sorry if this is a simple question. I''ve found lots of examples that demonstrate uploading pictures, but I need something simpler. Could someone post a simple example of uploading a text file, saving the file in an object and then "puts" the object text. I''m really getting lost in two steps: 1. How to get from file name to
2011 Feb 02
1
Rails Apps that need to present different versions of model schemas
I''m writing a Rails3 app that collects data as defined by an external source. At periodic intervals, the external source will update their data definitions and require a different schema to be presented to the end-users. My end users will be at different versions of the external data schema and have legacy data that needs to remain available when they upgrade to the new schema.
2011 Mar 27
0
Autotest, cucumber, spork and the wrong file
Running: Rails 3.0.5 ZenTest 4.5.0 autotest (4.4.6, 4.3.2) autotest-fsevent (0.2.5, 0.2.2) autotest-growl (0.2.9, 0.2.4) autotest-rails (4.1.0) autotest-rails-pure (4.1.2, 4.1.0) cucumber (0.10.2) cucumber-rails (0.4.0) spork (0.9.0.rc4) Gives me a truly bizarre situation. When I touch my features file, autotest runs a single, unrelated rspec test. Cucumber alone or with spork gives me the