similar to: remove apostrophe in query

Displaying 20 results from an estimated 500 matches similar to: "remove apostrophe in query"

2010 Jan 25
9
skinny Controllers, fat models with REST?
Hi, I''m really new to rails, so i programmed some stuff and today i read some things about skinny Controllers, fat models. My Controllers are really fat now. So i''m asking myself how can i shrink my controllers and move the code to the models, especially in fact of REST e.g. in focus on error codes? code example: # POST /tasks # POST /tasks.xml def create @authorized
2008 Feb 27
2
Sweave produces gibberish instead of apostrophe in pdf
Dear All, I try to use Sweave to make a document. But when I use the Sweave() command on it and build a pdf with pdflatex (3.141592-1.40.3) my apostrophes are replaced by some gibberish (an 'a' with a hat on it, a capital A with a arc pointing upwards on it and a capital Y with two points on it). If I manually replace the apostrophes using the keyboard, I get a different looking
2018 Dec 17
1
Unnecessary apostrophe in English base::summary() NA count output?
Hello, this is quite a minor issue but as summary() is in all likelihood one of the most widely used functions in R I decided to email this list. When producing a count of missing values, summary() in English generates an unnecessary and grammatically incorrect apostrophe (NA's rather than NAs) in its table header. For example: > summary(c(1,2,NA,3,4,NA)) Min. 1st Qu. Median Mean
2003 Dec 08
1
NT User ID with apostrophe
I have a few users who have ID's in NT domain and AD that contain apostrophes, such as O'Neill (fo'neill) , and O'Toole (go'toole). I've been trying to give them access to shares, but Samba doesn't seem to like this very much. I've been able to set up the ID's in our LDAP server so file ownership works, but according to the log messages, Samba DOMAIN
2009 Jan 05
1
login fails when username has apostrophe
Hi I've added the apostrophe character to auth_username_chars however authentication still fails. I'm using LDAP with the following details: dovecot version 1.1.7 openldap client library 2.4.11 With auth_verbose = yes and auth_debug = yes set I see the following in the logs. Note the initial escaped apostrophe and the subsequent escaped escape in the filter! ----- start log ----- Jan
2010 Mar 02
1
localized host in ActionMailer Views
Hi, I''ve got some domains , lets say example.com and example.de and I want that the link in a ActionMailerView contains the correct localized host e.g. with <%= @root_url %> . Currently the host is set in the environment.rb with "config.action_mailer.default_url_options = { :host => "example.com" }". How can I set the host dynamically and localized?
2004 Jun 03
1
Re: Apostrophes in Windows usernames (again)
I think I've narrowed down my problem, but I still don't know where to fix it. It appears that scanning the users.map file strips out the apostrophes and the Windows ID never matches: [2004/06/01 16:23:51, 10] lib/username.c:user_in_list(521) user_in_list: checking user o'brienta in list [2004/06/01 16:23:51, 10] lib/username.c:user_in_list(525) user_in_list: checking user
2011 Jul 29
1
Apostrophes in R Commander in recode
Dear colleagues, I'm using R64 (2.13) on Mac OS 10.6.8 and I've encountered a problem with the recode function in Rcommander. The application cannot deal with apostrpohes ( ' ) do not. I've got a factor from the 2008 Canada Election study (highest level of schooling) and some of the values include "Bachelor's Degree" , "Master's Degree". I've
2009 Jul 02
2
Apostrophe display issue in view file.
Hi folks, I have some user name with Apostrophe, where these names are displayed in view files with some unwanted characters instead of Apostrophe. For example, Bottom''s Profile page is the original string and it is displaying in browser like this. Bottomn’s Profile page. Can any one suggest how to overcome this, or how to identify this special character. FYI, this
2008 Jun 19
2
quotes cause SQL havoc
Hi- I cannot seem to find an answer to this. I have a simple question with quotes- I want to allow apostrophes in a string in a model. I then want to allow searching on that field. In ActiveRecord, when I create a search using find, and say :conditions=> "title like ''%#{query}%'' or body like ''%#{query}%''" where query is the search string, I
2010 Dec 27
5
Is apostrophe (') something special in a regex if at end?
(Ruby 1.9.2) I have a simple validation regex which I need to pass the following values: "Billy-Bob" and "O''Kelley" (as test cases). Originally I was not allowing apostrophe but it became apparent I had to allow it. The initial regex was: /^[a-zA-Z -]*$/ Now, when I added the apostrophe like this: /^[a-zA-Z'' -'']*$/ Then for some reason
2007 Jun 25
4
Ignore apostrophes in words
Hi, I just started using ferret and the aaf plugin and it seems to work quite nicely. However, my fields are very short (titles of music) and I don''t think may users will be typing in apostrophes when they are looking for something. Right now, for a simple document such as "what i''ve done" I''d like it to be indexed as "what ive done" instead. Right
2003 May 15
2
single quotes in the manpage
In the manpage, all occurrences of a single quote (or apostrophe) are preceded by a backslash. This means that these get turned into acute accents by groff; here's the relevant part of the groff manpage: \' The acute accent ; same as \(aa. Unescaped: apostrophe, right quotation mark, single quote (ASCII 0x27). I think all these backslashes should be removed, as the
2004 Jun 08
1
Re: Apostrophes in Windows usernames (again)
We tried that also. It didn't work either. But since I was pointed to bug 1221, I removed the matching of an apostrophe in util_str.c (fell back to 2.2 behaviour) and that looks like it works. My user is able to map his shares again. Thanks for all who helped. Mike -----Original Message----- From: David Brodbeck [mailto:DavidB@mail.interclean.com] Sent: Monday, June 07, 2004 4:23 PM To:
2010 Oct 20
2
preferred x-delimited data format for R?
Dear all What is the preferred spreadsheet-like x-delimited data format for use with R? Should I prefer tab-, comma-, space- or some_other_delimitor-seprated data? I'm asking this because I've been once bitten by CSV data containing ` ' ' (apostrophe) symbols that R couldn't easily digest. Probably no the best approach, I've eventually inspected the document and removed
2012 Jan 27
2
tm package: handling contractions
I tried making a wordcloud of Obama's State of the Union address using the tm package to process the text sotu <- scan(file="c:/R/data/sotu2012.txt", what="character") sotu <- tolower(sotu) corp <-Corpus(VectorSource(paste(sotu, collapse=" "))) corp <- tm_map(corp, removePunctuation) corp <- tm_map(corp, stemDocument) corp <- tm_map(corp,
2011 Nov 04
1
apostrophes
My database is in utf8 but apostrophes are showing up as ’ in my templates. How can I fix this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2010 Apr 27
1
Translation Failure
Hi, i''m getting a translation failure: translation data {:username=>"Benutzername"} can not be used with :count => 1 What does this means? In my de.yml File i wrote in the activerecord part: models: user: username: ''Benutzername'' Thanks -- You received this message because you are subscribed to the Google Groups "Ruby
2019 Jun 14
0
Dovecot LMTP rejecting mail from address with apostrophe
Am 14.06.19 um 16:20 schrieb Michal Krzysztofowicz via dovecot: > Jun 14 11:57:34 atlantic smtpd[42606]: 21749fd12ac76b57 mda delivery evpid=56aed6237d6444a0 from=<firstname.o'lastname at example.com> to=<me at example.org> rcpt=<me at example.org> user=me delay=0s result=PermFail stat=Error ("mail.lmtp: LMTP server error: 501 5.5.4 Invalid FROM: Invalid character in
2019 Jun 14
2
Dovecot LMTP rejecting mail from address with apostrophe
> On 14 Jun 2019, at 17:01, Daniel Lange <DLange at debian.org> wrote: > > Am 14.06.19 um 16:20 schrieb Michal Krzysztofowicz via dovecot: >> Jun 14 11:57:34 atlantic smtpd[42606]: 21749fd12ac76b57 mda delivery evpid=56aed6237d6444a0 from=<firstname.o'lastname at example.com> to=<me at example.org> rcpt=<me at example.org> user=me delay=0s