search for: hara

Displaying 20 results from an estimated 29 matches for "hara".

Did you mean: haar
2012 Jul 24
4
Behavior of first_or_create
...ing else, the documentation should be updated to reflect this scenario - the last case in the examples *almost* describes this scenario, but the block form used there makes it unclear what: User.where(:first_name => ''Scarlett'').first_or_create(:last_name => "O''Hara") would do. I also found that DataMapper implements the behavior I was expecting in their first_or_create method: https://github.com/datamapper/dm-core/blob/master/lib/dm-core/model.rb#L448 Thoughts? --Matt Jones -- You received this message because you are subscribed to the Google Gr...
2006 Feb 03
3
File_column and rmagick options
Hi, Currently I''m using the file_column plugin to upload images and save multiple copies of each at 3 different resoltions: file_column :name, :magick => { :versions => { "thumb96" => "96x150>", "medium250" => "250x400>", "large480" => "480X640>" } } I am wondering if
2005 Mar 18
3
Easy Accounting?
I have an office setup with shorewall and when there''s bandwidth problems, I''d like to know who''s hogging my bandwidth and how (port). What would be the best approach to have shorewall show me something like: IP | Port | Bytes In | Bytes Out I have 20 PCs connected via DHCP. I looked at the documentation and thought that accounting may be close, but accounting
2006 May 14
3
Help with domain model/database design
Hi All, I was wondering if I could get some comments on my approach to the design of the domain model and database for my rails app. I don''t have much experience in this so I am wondering if I am heading in the right direction. My app is an ecommerce site for my business which is a record label. That might seem straight forward, but the one thing that might be tricky is that
2005 Mar 01
2
@request cycle variables
I posted something about this yesterday, and got some good responses but it seems that the variable @request[''controller''] isn''t being passed in to the page or isn''t being read. Has the naming convention for these variables changed. it worked great in all rails versions up to 0.9.5 with fcgi, but is not working in rails 0.10.0 with fcgi. I am currently just
2006 May 28
14
Lightbox and RJS
Hi, I am trying to include lightbox functionality in my app, but there is a slight complication. Apparently lightbox initializes all the links to lightbox events on page load. However, in my case, some new links to lightbox events will be rendered to the page through ajax events (obviously this means after the page loads). So I figure I need to find a way to call lightbox''s
2003 Mar 27
5
Plot of Canonical Correlation Analysis
Dear all, I didn't find any graphical solution in the package "mva" to plot the canonical scores from a CCA (canonical correlation analysis). Does anybody knows how to plot or has anybody already programmed : - the map of the canonical scores, - the graph of the canonical weights, - the correlation circle i.e. the canonical loadings ? Thank you for help ...
2006 Jun 26
5
Newbie question about Agile Rails book - Delete from cart
I have been working through the Agile Web Development with Rails book doing the Depot tutorial. I have completed it and it works but I cant say I understand how and why. My question is this "After adding products to the Cart, how do I then give users the option to delete just one item and not empty the whole cart?" I''ve been playing around with all sorts of code, just making
2006 Aug 11
5
actionmailler corrupting emails
Hi All, I have a problem with actionmailer corrupting my html emails. It is adding the character ''3D'' before any quotes (single or double) in my source and smattering ''='' characters throughout as well. Very strange. Here''s an example from one of the emails: ________________ <body> <div id=3D''wrapper''> <div...
2006 Jun 01
2
submit_to_remote with an image-tag?
Hi All, I am searching for a way to use an image as a submit button. I''m not having much luck using submit_to_remote with a image-tag, and I can''t use link_to_remote because I need to submit some form fields. I know this must be possible but I am missing something... Ideas anyone? Thanks in advance, Jens
2006 Jun 07
2
Credit card processors
What''s a good CC payment processor? (i.e. one that works well with Ruby / Rails (i.e. someone has already written and tested an API for it :-) ) Joe
2005 Mar 03
1
session variables
I was wondering, how you access the values of session variables. for instance the variable "name" exists in the session dump under the object user. I was trying something like this: <%= @params[user.name] %> <%= @sesssion[user.name] %> Beau
2004 Sep 29
0
[Fwd: OpenBUGS]
...ly off-topic, but there was a discussion about MCMC a couple of weeks ago. OpenBUGS can operate from R, at least in Windows (there are some problems in Linux at the moment). The interface with R is one are that there are plans to work on: it's a bit basic at the moment. Bob -- Bob O'Hara Dept. of Mathematics and Statistics P.O. Box 68 (Gustaf H??llstr??min katu 2b) FIN-00014 University of Helsinki Finland Telephone: +358-9-191 51479 Mobile: +358 50 599 0540 Fax: +358-9-191 51400 WWW: http://www.RNI.Helsinki.FI/~boh/ Journal of Negative Results - EEB: http://www.jnr-eeb.org --...
2004 Nov 23
2
Re: list proposition
>> On Tue, Nov 23, 2004, Adam Greenbaum <lists@refinitive.com> wrote: >> > On Tue, 2004-11-23 at 20:26, ~mg@a.org wrote: >> > > Hello everyone! >> > > >> > > We have been thinking about something<early snip> >> > >> > With respect, this could have come from anyone... and looks like it >> > did from the DNS
2005 Dec 02
0
RE: How to test for controller
...every action -----Original Message----- From: Rick Olson [mailto:technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] Sent: Friday, December 02, 2005 10:55 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails] How to test for controller On 12/2/05, Beau O''Hara <bohara-Ani+Op4kYNUXWzRTk0ed69BPR1lH4CV8@public.gmane.org> wrote: > I have a side navigation that i want to change based on the controller. > How would i test for this in .rhtml. for example lets say i have an > admin controller. > > Example > -------------------- > <...
2005 Mar 25
1
Multiple Internet Connection Issue
Up here in British Columbia, Canada the major ISPs (telco and cable company) have started to enforce caps on bandwidth consumption per month. Other smaller ISPs have sprung out of the woodwork and offer ''unlimited'' consumption but the problem is that the quality of their connection is noticeably inferior to that of the major ISPs. In what way could I configure Linux
2008 Apr 25
1
attachment_fu and mime type issues
Hi All, I am having a problem with the attachment_fu plugin and flac audio files. In the dev environment, using mongrel, the form upload object does not seem to have any associated content_type. I get the following attachment_fu validation error: "Content type can''t be blank". I don''t understand why the file_data would not have any content_type. Doesn''t rails
2008 May 27
1
session question - unique identifier in cookie store?
Hi, I recently switched to the cookie session store for my rails app, and I am wondering how I can access some kind of unique identifier for each session between requests. It used to be (when I was using active record store) that the session id was set and that string didn''t change between requests. Now, of course, the session id does change between requests because that is where the
2006 Jun 15
2
AJAX form inside table - error
Hello, I need to put an AJAX, form such that it is inside a table, and spans across few rows. But, what I am noticing is that, while submitting the form, the data in the fields is not submitted. If I move the form outside the table or inside a cell, things work OK, but not when the form is inside the table and spans few rows. This problem is only with AJAX forms, regular forms work perfect. I
2010 Mar 04
4
Recover RAID
Hello Everyone, First time CentOS poster :) I have CentOS 4 installed on the head node of a Sun Gridengine cluster set up in a RAID. The head node has four hard drives, and I assume that drives 1 and 2 are in a raid and then drives 3 and 4 are in another raid. I was trying to expand the OS partition on drive 1 because it was full. I took drive 1 out, put it in my Fedora 8 box as a secondary