search for: yandell

Displaying 20 results from an estimated 73 matches for "yandell".

2006 May 21
3
Using ParseDate in for loop
Hi, I''m trying to use ParseDate within a for loop but I get this error: can''t dup NilClass Any suggestions for making this work? Thanks, -Jason
2006 Feb 14
7
9cays - A Rails app for Group Email
...gn.) I''d like to think that CampFire and 9cays will compliment each other quite well. And finally I''d like to say a big thanks to 37signals, DHH, and the Rails community in general. I don''t think I''ve ever enjoyed developing apps this much. Cheers, Pete Yandell
2005 Nov 15
2
FormOptionsHelper select call failing
.../gems/actionpack-1.11.0/lib/ action_view/helpers/form_options_helper.rb:299:in `to_select_tag'' /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/ action_view/helpers/form_options_helper.rb:63:in `select'' #{RAILS_ROOT}/app/views/folder/new.rhtml:13 Cheers, Pete Yandell
2004 Mar 11
1
Re: make.search.html() without write permission in R.home() (PR#6663)
Brian Yandell <byandell@wisc.edu> writes: > Folks, > I am working on a Windows system which is part of the UW-Madison > statistics LAN. R is maintained on a file system to which I cannot write. > I tried installing a package and got the following interplay: Set the lib argument to install.pac...
2006 Jan 12
2
Engines issue: rake test_plugins failing when it shouldn''t
...s use only the code from the app and not the code from the plugin. I would have thought they''d use both (as the running app does), or, at worst, use only the controller code from the plugin. Can anyone confirm this issue? Is there some way that I can work around it? Cheers, Pete Yandell
2006 Jun 10
3
Weird Problem With Active Record
Is it me or is my model getting the created_at from the wrong model! I have a HABTM relationship between Problems and Tags. In one of my controller I do the following: def view @tag = Tag.find_by_name @params[:id] end In my view I do this: <% @tag.problems.each do |problem| %> ... <%= problem.created_at %> ... <% end %> Now, how come the created_at
2004 Mar 11
0
Re: make.search.html() without write permission in R.home() (PR#6664)
I did that. In fact the default uses .libPaths()[1], which I have set to "P:/stat/yandell/public/statgen/R" The package installs fine. However, the HTML search is not done properly. Again, the break occurred after installation of the package, when make.search.html() was invoked. Brian On Thu, 11 Mar 2004, Douglas Bates wrote: > Brian Yandell <byandell@wisc.edu> writes:...
2005 Jul 26
3
Generating unique random tokens for ActiveRecord objects
...e, have my model object catch a failed save, check if it failed due to the token not being unique, regenerate the token, and retry the save. Is there any neat way to do this in ActiveRecord? (How does validates_uniqueness do it? Does it suffer from the same timing problem?) Cheers, Pete Yandell _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jan 31
4
Rails bug? Conditions on associations ignored by eager loading
...blogs LEFT OUTER JOIN posts ON posts.blog_id = blogs.id The following, on the other hand, returns just the posts marked as published: Blog.find(:all).first.published_posts If anyone wants a simple sample project to test this, let me know and I''ll tar up my example. Cheers, Pete Yandell
2004 Mar 11
0
Re: make.search.html() without write permission in R.hom e( ) (PR#6664)
So this is on Windows, then? This is documented somewhere (don't remember): If the package is not located under $R_HOME/library, then the html help will not be able to find it. Don't think there's a known work-around. Cheers, Andy > From: byandell@wisc.edu > > I did that. In fact the default uses .libPaths()[1], which I > have set to > "P:/stat/yandell/public/statgen/R" > The package installs fine. However, the HTML search is not > done properly. > Again, the break occurred after installation of the package,...
2006 Feb 12
3
Error when Eager Loading "Not unique table/alias"
Hi list, I get the error "Not unique table/alias" (myql 4.1) when trying eager load 2 classes that use the same base class (not STI) Example: <code> class Wedding < ActiveRecord::Base belongs_to :bride, :class_name => ''Person'', :foreign_key => ''bride_id'' belongs_to :groom, :class_name => ''Person'',
2006 Apr 03
5
Heavy e-mail receive
Performance experts, Normally to receive e-mails is to pipe their content to script/runner individually from a mail server, sendmail or postfix. Doesn''t this configuration run like Apache 1.3 with CGI, meaning for each e-mail a boot of the entire Rails environment and thus low scalability? Is there anything working like lighttpd-fcgi or going toward its approach? DD -- Posted via
2006 Apr 16
8
"Cannot convert String to Integer" after using association
So, I''ve written a partial that does some stuff with a given instance of my class "entity". Entity is ActiveRecord. I''m able to retrieve all sorts of data from an @entity, until I do something like: <% for @attribute in @entity.attributes %> <div id="attribute_<%= @attribute.id %>"> <%= render(:partial =>
2006 May 09
7
going crazy!!!!!! ActiveRecord::StatementInvalid in Project
any suggestions on why I am gaining this error. ActiveRecord::StatementInvalid in ProjectsController#create Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' , , , , )'' at line 1: INSERT INTO projects (`name`, `date_created`, `quote_id`, `client_id`, `description`, `user_id`)
2010 Nov 26
2
Hivex licensing question
On Fri, Nov 26, 2010 at 10:03:05AM -0800, Yandell, Henri wrote: > We?re looking into using Hivex and came across something odd. While > the license of hivex.c is LGPL 2.1, it appears to require the GPL > 3.0 licensed gnulib package for a few minor functions ( full_read, > full_write and c_toupper ). There are also a few GPL 3.0 build &...
2006 May 31
3
instance variable problem
I''m having some trouble with an instance variable being read as nil in my app. I have an image uploading, that can be added to categories. The page loads up initially fine, and if I upload an image without errors everything works fine. I''m working on the validation, but with the code I have if their are validation errors it renders ''new'' again, but reads
2004 Nov 09
0
Re: QTL interval mapping in outbred populations
On Mon, 8 Nov 2004 ssim at lic.co.nz wrote: > > Is there an add-on package in R for QTL interval mapping for outbred > population, eg. Haley-Knott regression method ? > > Stella I believe Karl Broman's R/QTL (http://biosun01.biostat.jhsph.edu/~kbroman/software/) and Brian Yandell's bim (http://www.stat.wisc.edu/~yandell/qtl/software/), Richard Mott's happyR (http://www.well.ox.ac.uk/happy/happyR.shtml) are mainly for experimental crosses, but do multipoint analyses. You might also try QTL Express (http://qtl.cap.ed.ac.uk/), or if you are analysing smaller families,...
2004 Mar 11
0
make.search.html() without write permission in R.home() (PR#6662)
...> link.html.help() Error in file(f.tg, open = "w") : unable to open connection In addition: Warning messages: 1: cannot update HTML package index in: make.packages.html(lib.loc) 2: cannot open file `W:\unsup\R\i386_win2k/doc/html/search/index.txt' > .libPaths() [1] "P:/stat/yandell/public/statgen/R" "W:/unsup/R/i386_win2k/library" > Sys.getenv("R_LIBS") R_LIBS "P:\\stat\\yandell\\public\\statgen\\R" This broke in make.search.html(), where it tried to overwrite the search file W:\unsup\R\i386_win2k/doc/ht...
2006 Jan 16
6
the competition?
The ''gmail'' video seems really interesting: http://www.morfik.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/385e77f0/attachment.html
2006 Jul 09
8
Can the has_many create() method return an ID?
Hi all, I have a has_many relationship, Cookbook :has_many Recipes If I want to create a new recipe in my cookbook I do: cookbook.recipes.create(data) It would be nice if I could then easily get the id of the new recipe, but the create() method doesn''t seem to return anything. Any ideas how? Thanks in advance! Cameron -- Posted via http://www.ruby-forum.com/.