search for: preferred_nam

Displaying 10 results from an estimated 10 matches for "preferred_nam".

Did you mean: preferred_name
2006 Jan 09
3
Pagination :conditions not working - MySQL v. PostgreSQL, Rails abstraction v. embedded SQL
Hi everyone, I have this code: @person_pages, @people = paginate :person, :per_page => 20, :conditions => [ "username LIKE ? OR first_name LIKE ? OR last_name LIKE ? OR preferred_name LIKE ?", "%" + params[:q].downcase + "%", "%" + params[:q].downcase + "%", "%" + params[:q].downcase + "%", "%" + params[:q].downcase + &qu...
2006 Jan 31
6
Pagination - why is it this hard?
...e?(:department) searchconditions = ["department_id = ?", params[:department]] elsif session[:q] if params[:q] session[:q] = params[:q].downcase searchconditions = [ "LOWER(username) LIKE ? OR LOWER(first_name) LIKE ? OR LOWER(last_name) LIKE ? OR LOWER(preferred_name) LIKE ?", "%" + session[:q] + "%", "%" + session[:q] + "%", "%" + session[:q] + "%", "%" + session[:q] + "%" ] end...
2010 Mar 24
0
[Fwd: [PATCH node] fix halt patch]
...on-post.ks | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/recipe/common-post.ks b/recipe/common-post.ks > index 0a2e180..c6ef496 100644 > --- a/recipe/common-post.ks > +++ b/recipe/common-post.ks > @@ -180,17 +180,17 @@ sed -i 's/preferred_names = \[ \]/preferred_names = [ "^\/dev\/mapper", "^\/dev\ > > # prevent node from hanging on reboot due to /etc mounts > patch -d /etc/init.d/ -p0 <<\EOF > ---- halt.orig 2010-03-15 16:01:13.677585448 -0400 > -+++ halt 2010-03-15 16:01:39.798581069 -040...
2006 Jan 10
0
auto_link generating error (nil.gsub) in functional test
...ve a nil object when you didn''t expect it! The error occured while evaluating nil.gsub On line #28 of app/views/personnel/list.rhtml 25: <tr valign="top" class="<%= alternate_rows %>"> 26: <% display_columns = ["username", "preferred_name", "email", "title"] %> 27: <% display_columns.each do |column| %> 28: <td><%= auto_link(person.send(column)) %></td> 29: <% end %> 30: <td><%= link_to ''Details'', :action =&g...
2006 Jan 30
0
Making sense of all the search options
...have an app that manages accounts. There''s a search function that I don''t like, but it works: @person_pages, @people = paginate :person, :per_page => 20, :conditions => [ "LOWER(username) LIKE ? OR LOWER(first_name) LIKE ? OR LOWER(last_name) LIKE ? OR LOWER(preferred_name) LIKE ?", "%" + session[:q] + "%", "%" + session[:q] + "%", "%" + session[:q] + "%", "%" + session[:q] + "%" ], :order => '...
2012 Nov 07
0
LVM question during an upgrade
...#39;m upgrading a server from 5.8 to 6.3. Problem: someone built the system with LVM. I see some few differences between /etc/lvm/lvm.conf and the one from 6.3, and I'm trying to figure out what I can leave alone, and what I need to set to that from the old version. For example, the old one has preferred_names = [], and the new has a list. Anyone have thoughts about whether I can just copy over the old? I do know there are some new parameters (thin_*): do I need to add them? mark
2006 Feb 15
10
STI Question
Hi everyone, I have 3 types of people (for now): Staff Faculty Students To break them up into classes, but keep them in the same People table, I''ve broken them up like so (code and ''ends'' snipped): class Person < ActiveRecord::Base class Employee < Person class Staff < Employee class Faculty < Employee class Student < Employee So, when I insert
2016 Aug 17
0
Anaconda error on centos 7.2
...", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) LVMError: lvactivate failed for swap: running lvm lvchange -a y --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] } redhat/swap failed Kickstart:- #version=RHEL7 # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media cdrom # Run the Setup Agent on first boot firstboot --enable ignore...
2008 Jun 25
6
dm-multipath use
Are folks in the Centos community succesfully using device-mapper-multipath? I am looking to deploy it for error handling on our iSCSI setup but there seems to be little traffic about this package on the Centos forums, as far as I can tell, and there seems to be a number of small issues based on my reading the dm-multipath developer lists and related resources. -geoff Geoff Galitz Blankenheim
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for storage. Comments and suggestions are appreciated. Mike