Displaying 20 results from an estimated 161 matches for "upcased".
Did you mean:
upcase
2006 Apr 18
4
upcase special chars (åäöü...)?
Hey guys
How do you upcase the special characters (????)?
I use latin-1 and not utf-8.
How did you solve this problem? (nice ruby way or ugly hack doesnt
matter)
Daniel
--
Posted via http://www.ruby-forum.com/.
2005 Dec 20
2
Modifying data before update or save
Hi,
I''d like to upcase a variable before it is saved, but I''m not sure how
to access the incoming param or where this work should be performed:
In my update method, I have:
@device = Device.find(params[:id])
params[:device[macaddress]].upcase <-- problem code
if @device.update_attributes(params[:device])
....usual stuff here
''macaddress'' is the
2006 Jun 29
3
String: first character upcase?
Hi all
Is there a function that makes the first character of a given string
upcase?
first_to_upper "canada"
Thanks for help. :-)
Joshua
--
Posted via http://www.ruby-forum.com/.
2009 Aug 25
3
[LLVMdev] Patch: Compiling LLVM in Sparc
Instead of just upcasing them, can we add prefix ARCH_?
--Venkatraman
On Tue, Aug 25, 2009 at 2:36 AM, Eric Christopher<echristo at apple.com> wrote:
>
> On Aug 25, 2009, at 12:32 AM, Daniel Dunbar wrote:
>
>> Hi,
>>
>> I think I should rename the constants to be a little less likely to
>> collide. I think just upcasing them might be good enough?
>
>
2010 May 08
19
mb_chars.upcase and Ruby 1.9.2
I''m testing ruby-head through rvm but can''t get ''ação''.mb_chars.upcase
== ''AÇÃO''... I get ''AçãO'' instead...
This happens both for Rails 2.3.5 and Rails 3 beta 3...
How can I get upcase to work correctly?
Thanks in advance,
Rodrigo.
--
You received this message because you are subscribed to the Google Groups "Ruby
2011 Oct 12
1
scopes related question
Hello,
Have a question related scope definition. I need to define a scope
based on related model attribute values like this.
class Product < ActiveRecord::Base
belongs_to :currency
scope :with_currency, lambda { |currency|
unless currency.to_s.upcase == ''ALL''
# here I need to define a scope that would test for currency.char_code
to match a passed value
# something
2008 Jul 09
0
Regarding `creating lame upcase/lowcase table' message
Hi all,
I wanted to turn off the messages `creating lame upcase table' or
`creating lame upcase table' during
getting files from a shared directory using smbclient command. I
google'd around and could not get pointers to this.
Can I do that? If so, how?
Thanks & Regards,
Ramprasad B
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
Signed-off-by: Arthur Clement <aclement at linagora.com>
---
src/host-browser/host-register.rb | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb
index 693a6f2..5ff6a90 100755
--- a/src/host-browser/host-register.rb
+++ b/src/host-browser/host-register.rb
@@ -393,13 +393,18 @@ class
2008 Jul 10
6
Uppercase all row columns
Hi.
I have to convert the contents of all columns to uppercase before
creating a row. Is there an easy way to accomplish this so I don''t
have to go one column at a time and upcase! it?
Thanks.
Pepe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all,
In response to Rodrigo Rosas''s message about mb_chars.upcase not
giving the expected result on 1.9, I''ve done some work in a fork to
make String#mb_chars always return an instance of a proxy class, both
with Ruby 1.8 and Ruby 1.9. The end result of the patch is
(hopefully) to make Rails'' multibyte functionality behave the same way
in 1.8.7 and 1.9.x.
2009 Aug 25
0
[LLVMdev] Patch: Compiling LLVM in Sparc
I would prefer not to; they already live in a protected namespace, so
there is no need to mangle them except to protect them from exuberant
preprocessor defines, and this would be slightly out of style with
other public uses of enumerations in LLVM.
- Daniel
On Tue, Aug 25, 2009 at 7:49 AM, Venkatraman
Govindaraju<venkatra at cs.wisc.edu> wrote:
> Instead of just upcasing them, can we
2006 Apr 07
5
Are there any Czech people using Rails?
Hello,
how do you solve the problems with czech characters? Do you use unicode
or ISO-8859-2/WIN1250? How do use methods like String:upcase etc. that
dont use czech characters?
I would appreciate any hints for this.
Thanks,
David Marko
--
Posted via http://www.ruby-forum.com/.
2009 Aug 25
4
[LLVMdev] Patch: Compiling LLVM in Sparc
Hi,
I think I should rename the constants to be a little less likely to
collide. I think just upcasing them might be good enough?
- Daniel
On Tue, Aug 25, 2009 at 12:20 AM, Duncan Sands<baldrick at free.fr> wrote:
> Hi Venkatraman,
>
>> The current version in SVN fails to compile in sparc machines since
>> gcc defines "sparc" as a macro in sparc machines that
2007 Jun 29
0
RE: Samba testparm gives error in Solaris 10
Wed Jun 14 01:50:55 GMT 2006
* Previous message: [Samba]
<http://lists.samba.org/archive/samba/2006-June/121816.html> LDAP Group
mapping
* Next message: [Samba] testparm
<http://lists.samba.org/archive/samba/2006-June/121845.html> gives error in
Solaris 10
* Messages sorted by: [
<http://lists.samba.org/archive/samba/2006-June/date.html#121817> date ] [
2006 Mar 14
9
Can you better this String acronym method?
Can you better this String acronym method?
def acronym name
letters=[]
name.each_char {|char| letters<<char if char[0]>=65 and char[0]<=90}
acronym = letters.join " "
end
chris
--
Posted via http://www.ruby-forum.com/.
2007 Nov 18
2
Variable inside of another variable
Hi everyone,
I''m building partial and I need to use a variable inside of another
variable name:
I''ve tried like this:
<div class="form_row">
<label for="<%= field %>"><%= field_title || field.humanize %>:</
label>
<%= form.text_field field,
:size => User::field.upcase_SIZE,
2002 Jan 01
0
messaging problems
I'm having trouble sending messages to my Win2000 and XP clients.
Everything worked with Samba 2.2.2, and now with Samba 3.0 (CVS) it fails.
Below are two trails, the first works (sending to the Samba server) and
the second fails.
(Also, how do I get rid of the upcase.dat, lowcase.dat, and valid.dat
errors?)
Thanks!!
-Paul
penguin# echo "TEST" | smbclient -M penguin
incorrect size
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi
I''m trying to follow the tutorial on xrcise at
http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise
But I keep getting the following error when I try to run the example;
tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for
#<CaseChangeFrame:0x2d610f8> (NoMethodError)
from tutorial.rb:28:in `new''
from
2013 Jun 10
5
Does stdlib break the regsubst function?
Hi all,
We are currently using the regsubst function of Puppet to generate some
information out of our hostnames (customer, environment, and so.). The
manifest is running fine since months.
7: $customer = regsubst($::fqdn, ''(^[^-]*)-[^-]*.*'', "\\1")
8: $environment = regsubst($::fqdn, ''^[^-]*-([^-]*).*'', "\\1")
9: $product =
2016 Mar 10
2
Russian(Cyrilic) names not working in smbclient 4.3.3
We are trying to use Russian(Cyrillic) names in smbclient 4.3.3 but that does not seem to work. Previously we had a problem in 4.0.7 which the location of upcase.dat changed from 3.6.5. In 4.3.3, we don't see it trying to access that file, nor do I believe that file needs to be delivered anymore. Is there a new way to configure the printer to use Russian user names ?
Mike