Displaying 20 results from an estimated 800 matches similar to: "Are there any Czech people using Rails?"
2006 Mar 12
2
Find all the methods on a object in an irb session?
How can I find all the methods on an object from withing irb?
Thanks,
Joe
2006 Aug 03
3
Swedish Rails
I would like to announce my plugin Swedish Rails.
Rails provide many goodies and helpers for you, but some of these are
dependant on your user interface being in english. Date controls, for
example. Pluralization is another. And have you ever tried to capitalize
a string with Swedish letters in them? Then you know it doesn''t work
that well. Until now, that is. You install this
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 26
2
RoR authentication with IBM Notes/Domino
This is a very simple authentication system for a Ruby on Rails server in
the same internet domain. It will allow you to get back the username of the
person hitting your server provided they already have authenticated with an
IBM Lotus/Domino or Websphere server that uses multi-server based session
authentication.
IBM Domino/Websphere authentication works by placing an encrypted cookie for
a given
2005 Dec 27
4
acts_as_versioned
Hi,
I'm integrating acts_as_versioned (ar-versioned.rubyforge.org) in my
customized CMS rails application to set up revision control for pages.
Getting and viewing versions works allright, but when I try to revert
to a version in the following way, nothing happens to the actual data
in the object.
Link from page:
<%= link_to image_tag('revert'), :action => 'do_revert',
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
2006 Feb 10
22
Mongrel 0.3 -- Runs Ruby On Rails
Hello Folks,
This is the long awaited release of the Mongrel HTTP library that
supports *Ruby On Rails*. I know tons of people have been waiting
for it, so I''ve got a few things to lay down first before you get all
excited:
1) It''s very very ALPHA support for Rails. It will run a Rails app,
and runs my simple apps, but it''s not fast or correct as it needs to
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.
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
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
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 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
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,
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/.
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
2009 Jan 29
6
Control Characters
I am attempting a text editor using wxRuby. I''m having character issues.
Strings are not binary-safe.
Some characters are not allowed.
- newline / line feed (\n), tab (\t) are displayed
- carraige return (\r) is stripped
- Other control characters and high-ascii cause control values to become
empty.
Affected controls include: Wx::TextCtrl, Wx::StaticText, Wx::Clipboard,
et al.
Most
2004 Sep 10
4
xmms-plugin problems
Hi,
i'm using xmms-plugin from flac-0.9, i found following problems.
Back-seeking cause, that .flac is not played all. It's caused by
StreamDecoderPrivate variable samples_decoded and function
stream_decoder_frame_sync_, which compare it against whole length of stream.
I don't know what is meaning of this varible (samples decoded from last reset
or for whole life of decoder). So i
2011 Feb 02
1
Roo gem performance problems
I am getting unacceptable performace problems by using the roo gem for
reading a file by using XLSX or XLS library from this gem.
Someone may suggest me an alternative about how to parse an .XLSX file?
<code>
parsed_file = Excel.new(filename,false, :ignore) if (file_format.upcase
== "XLS")
parsed_file = Excelx.new(filename,false, :ignore) if
(file_format.upcase ==