similar to: Multi Byte Strings

Displaying 20 results from an estimated 8000 matches similar to: "Multi Byte Strings"

2006 Aug 16
4
Deploying only what you need with Capistrano?
The recent Rails security issue highlighted a concern I''ve had about Rails deploys; namely, you shouldn''t deploy anything to production that you don''t need there. Rails apps have a number of scripts--potential security holes or DOS targets in this case--along with all the other application code you need. There''s no reason you should have script/server, console,
2006 Aug 15
20
Talking to Java APIs
I''m trying to figure out how Ruby in general, and/or anything extra Rails may have, can talk to Java APIs of third party server apps. After quite a few search attempts net-wide and on ruby forums, and with "Programming Ruby" in hand, I''m coming up with zilch. Either I''m not finding it, or I''m not recognizing it. I''m assuming there has
2006 Aug 14
2
Rails Monitoring, reprise
Last week I posted a question about monitoring Rails applications. Basically, the java folks at my business cited one of their reasons for sticking with Java is it''s monitoring tools. After picking some ears, I found out that the one we''re looking at most is JBoss Operations Network. And I have to say, it''s pretty neat.
2006 May 14
9
IBM UniVerse database adapter for ActiveRecord?
I''m facing a situation where I am going to have to integrate with a legacy database , specifically the IBM UniVerse database, which is not *quite* relational. It feels like a holdover from the dark ages of computing. Before I attempt writing an ActiveRecord adapter, I''d like to know if anyone else uses this database and if I''m the only person that needs this thing. I
2006 Sep 04
8
ActiveRecord-JDBC is coming along
The ActiveRecord-JDBC adapter is rapidly maturing these days. I got the full set of AWDwR2 migrations to run with it against MySQL last night, and Ola Bini has gotten migrations working well against Oracle and Firebird. We also have SQL Server support running most of our test cases (under non-Windows environments too!) and have started adding support for Derby and HSQLDB (Java-based DBs). Things
2006 Mar 27
6
Fwd: Tricky block args
We in the JRuby project are working to get Rails to work successfully. However, the array-indexed block parameter is not something currently supported in JRuby: x = {} [1,2].each {|x[:foo]|} This is not used extensively in the Rails code, but it''s used enough to cause things to break in JRuby. We have been modifying the above to use a temporary local variable, but obviously
2006 Mar 21
7
Rails and JRuby
Has anyone attempted to run Rails inside of JRuby? Is that even possible? Aside from the performance implications, is it a bad idea? I''m thinking that it might be useful in very rare cases where a Ruby/Rails - equivalent of a Java solution may not exist yet. Any thoughts? Wes -- Posted via http://www.ruby-forum.com/.
2006 Jul 02
4
Ruby on Rails + DB2
Received this link from a regular email blast, it may interest some of you. I guess RoR is starting to gain more traction :-) http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606dumbill/?ca=dnw-723 Cheers Mohit.
2006 Apr 04
10
Ruby server infrastructure evolution -> app. servers?
All, Just musing about this whole FastCGI thing (that I hadn''t even thought of since 1999 when looking at OpenMarket for a customer and even then it was "old"), and wondering when we might see projects/products that attempt to provide Ruby application services in a J2EE-like container. I see the Cerise project - any interesting information on that? I''m assuming
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.
2006 Apr 06
2
Java: How to interact with ruby generated fields
Hello community, I''m new to rubyonrails and to this Forum. I have to call 2 Fields, generated by ruby, from a javafunction (onSubmit) but when I use this example it didn''t work, why? <%= start_form_tag({:action=> "show"}, { :onSubmit =>"post[testfieldone].value=examplefunction(post[textfieldtwo].value+post[textfieldthree].value);" }) %>
2006 May 14
12
Is there a place for java in Ruby on Rails apps?
Hi all, I''m asking this question from the standpoint of a developer with almost 10 years experience with Microsoft technologies, mostly doing server side component and database work. So, I''m not very familiar with the java world. Can anyon tell me how/if java development can complement Ruby on Rails development? I''m not interested in how java can duplicate Rails
2006 Nov 08
14
Increased memory requirements on 1.2
I just recently upgraded a rails app of mine to run on edge (and the 1-2-pre-release branch) and I noticed my fcgis required roughly 6-8MBs more memory after just a couple requests. For example, each fcgi on edge would start around 40MB and rise to ~46MBs after a couple requests. I downgraded my app back to 1.1.6 and each fcgi would start at around 33MBs and rise to ~38MB. As a result of the
2006 Jun 18
1
Equivalent of java httpclient
Hi everyone, I''m trying to post from a controller to another application, with one of the post parameters being a multipart file attachment. What do you recommend for this process? From what I could gather from doing searches I need to use something like Net::HTTP or open-uri, but I cannot find how to add attachments to these. Any suggestions? Thanks, Abdullah -------------- next part
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 Nov 13
2
Rails Camp Scaling Session notes
Here are some notes from the scalability session of last week''s Rails camp. They were entered by another session participant and are posted at: http://www.rubyonrailscamp.com/10%3A15%2Bsession%2B-%2Bscaling The key points from my point of view: - the Ruby VM is sketchy, rather like the Java VM around 1997 - the single threaded nature of Rails dispatch handling means we may incur a
2006 Mar 28
74
Is this an elaborate hoax/troll?
I sure hope so: http://duckdown.blogspot.com/2006/03/additional-thoughts-on-why-ruby-isnt.html Seems like it''s getting genuine rebuttals, though. It''s actually kind of amusing.
2006 Jun 23
9
Connecting MQ from Rails ??
Hi all, I want to Connect to IBM MQ from Rails/Ruby, can it be done? and get the messages from the Queue, then i want to use this message in ruby/rails. Is there a direct way of doing the above job?? If so any packages are available? If there is not a way currently, and any thoughts of how we can do the above job indirectly through some other means or round about ways or workarounds can be
2011 Sep 22
3
uninitialized constant Spec::Rails (NameError) when running spec command
I get the following error when trying to run a spec command on a model test. The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb The error is :- c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/ matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails (NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec- rails-1.3.0/lib/spec/ra
2009 Nov 13
3
Encoding::UTF_8 missing?
I''ve just done a fresh reinstall of OS X Snow Leopard on my mac, and I''m having all kinds of problems with Rails, but the latest problem has me stumped. Whenever I run rake db:seed to populate my database I hit the following error: ** Invoke db:seed (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:seed rake aborted! uninitialized constant