search for: doc_type

Displaying 6 results from an estimated 6 matches for "doc_type".

2007 May 22
2
find :all :include broken on Oracle 10
Hi, I am trying the following in Ruby using InstantRails 1.7 on WindowsXP Publication.find(:all, :include => [:doc_type, :release_state] ) but I get the error: OCIError: ORA-00904: "DOC_TYPES"."PUBLICATION_ID": invalid identifier: SELECT publications.id AS t0_r0, publications.docid AS t0_r1, publications.doc_type_id AS t0_r2, publications.title AS t0_r3, publications.lang AS t0_r4, publications...
2007 Jun 07
6
Problem with response.should render_template
...s: http://pastie.caboo.se/68634 when I run: rake spec:controllers I get this error: ...............F...... 1) ''DocTypeController should update and redirect to show'' FAILED expected redirect to {:action=>"show", :id=>1}, got redirect to "http://test.host/doc_type/show/%23%3CSpec%3A%3AMocks%3A%3AMock%3A0xb74a0d14%3E" ./spec/controllers/doc_type_controller_spec.rb:63: Finished in 0.386261 seconds 22 examples, 1 failure I would appreciate any help. -- Gast?n Ramos "I always thought Smalltalk would beat Java, I just didn''t know it would...
2011 Aug 29
32
Weird assignment problem, very confused :(
Hey, I have the following line in my controller: User.create(:email => "fuuu-+RB1Aph5k6s@public.gmane.org", :password => ''asldfkjadsfadsf'', :ip => request.remote_ip) my IP is 127.0.0.1 - now User.find_by_ip(''127.0.0.1'') returns 0 records although User.first contains ''127.0.0.1'' if I change it to: User.create(:email =>
2009 Jun 20
2
Special characters in Rd example section will cause errors
...parse_Rd("testfun.Rd") : newline within quoted string at testfun.Rd:24 Rd_parse() will parse the Rd file incorrectly either. > tools:::Rd_parse('testfun.Rd') $meta $meta$aliases [1] "testfun" $meta$concepts character(0) $meta$keywords [1] "misc" $meta$doc_type character(0) $meta$encoding character(0) $data vals tags 1 testfun name 2 1.1 Rdversion 3 \nA Test\n title 4...
2006 Aug 04
1
how to count totals for each unique name in a table?
hello, i am having trouble on how to implement this. i have a table of doctor information where each doctor has a town and county field. i would like to create a view that shows the amount of doctor_types in each town. For example if the user selects the ''General Doctors'' search button, a view like this will show up. The next step would be for the user to select which
2011 Aug 25
2
replicate lines of data frame
Greetings! I am just now learning to use R for my dissertation project. I need to manipulate a lot of text and numeric data. I created a data frame that has 7 columns and 127 unique rows. Now I need to replicate each line 6 times and then later change values in the first 2 columns. I am trying to figure out how to accomplish this. I think that I need to use rep(my.df, each=6) but it does