# Top

**URL:** https://www.ruby-forum.com/top.md?page=1575

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1576

---

## [SqlStatement 1.0.0 - hide the syntax of SQL behind familiar](https://www.ruby-forum.com/t/sqlstatement-1-0-0-hide-the-syntax-of-sql-behind-familiar/71513)

<div class="topic-metadata">

**Author:** [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Replies:** 3\
**Last updated:** [October 9, 2006, 8:48pm UTC](https://www.ruby-forum.com/t/sqlstatement-1-0-0-hide-the-syntax-of-sql-behind-familiar/71513 "2006-10-09T20:48:36Z")

</div>

sqlstatement - Generate complex SQL statements programmatically The main goal of this library is to be able to construct an SQL statement from “slices” that concern different aspects of the final query (perhaps in dif…

---

## [Unit and Functional Tests Bombing with Ferret](https://www.ruby-forum.com/t/unit-and-functional-tests-bombing-with-ferret/69309)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/unit-and-functional-tests-bombing-with-ferret/69309 "2006-09-20T18:52:22Z")

</div>

Hello, I am currently using ferret 0.9.5 and acts\_as\_ferret 0.2.3 on windows XP All my unit and functions test that used to work before I installed ferret are erroring out. My index is on a model name Post, and it lo…

---

## [Setting a value of text\_field from a controller](https://www.ruby-forum.com/t/setting-a-value-of-text-field-from-a-controller/65457)

<div class="topic-metadata">

**Author:** [@Tom\_Z\_Meinlschmidt](https://www.ruby-forum.com/u/Tom_Z_Meinlschmidt)\
**Replies:** 3\
**Last updated:** [August 18, 2006, 1:20pm UTC](https://www.ruby-forum.com/t/setting-a-value-of-text-field-from-a-controller/65457 "2006-08-18T13:20:11Z")

</div>

Hi, I need to set up an initial value from controller. In my views I’ve something like \<%= text\_field “object”, “name” %\> and would like to do something like this from controller def index @object\[:name\] = ‘default…

---

## [\[ANN\] Swedish Rails](https://www.ruby-forum.com/t/ann-swedish-rails/101216)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/ann-swedish-rails/101216 "2006-08-15T14:22:00Z")

</div>

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 a…

---

## [Upload file to file system and sql insert date errors](https://www.ruby-forum.com/t/upload-file-to-file-system-and-sql-insert-date-errors/100907)

<div class="topic-metadata">

**Author:** [@rubygreg](https://www.ruby-forum.com/u/rubygreg)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 12:52pm UTC](https://www.ruby-forum.com/t/upload-file-to-file-system-and-sql-insert-date-errors/100907 "2006-08-03T12:52:14Z")

</div>

I’m trying to use one form to upload a file to the file system and insert a title and description field into the database. I have no problem uploading files to the file system using the code from http://wiki.rubyonra…

---

## [Agile Web Development p.89](https://www.ruby-forum.com/t/agile-web-development-p-89/63015)

<div class="topic-metadata">

**Author:** [@brblakley](https://www.ruby-forum.com/u/brblakley)\
**Replies:** 3\
**Last updated:** [June 11, 2006, 5:04am UTC](https://www.ruby-forum.com/t/agile-web-development-p-89/63015 "2006-06-11T05:04:20Z")

</div>

I’ve been following along just fine with the depot app, up until I make the catalog, where, when the price is displayed with formatting, the price shows up underneath the bar for the next item in the catalog. If, in…

---

## [Frequency modulating block](https://www.ruby-forum.com/t/frequency-modulating-block/61892)

<div class="topic-metadata">

**Author:** [@seph\_004](https://www.ruby-forum.com/u/seph_004)\
**Replies:** 3\
**Last updated:** [May 30, 2006, 12:37am UTC](https://www.ruby-forum.com/t/frequency-modulating-block/61892 "2006-05-30T00:37:27Z")

</div>

Hi I just had a few questions regarding the frequency modulatig block. The current input sample is used in conjuction with the sensitivity parameter to determine the new phase value. Is this correct? I’m just a bit c…

---

## [Time class and time zones](https://www.ruby-forum.com/t/time-class-and-time-zones/60529)

<div class="topic-metadata">

**Author:** [@edlau](https://www.ruby-forum.com/u/edlau)\
**Replies:** 3\
**Last updated:** [May 16, 2006, 6:36am UTC](https://www.ruby-forum.com/t/time-class-and-time-zones/60529 "2006-05-16T06:36:19Z")

</div>

Question in brief: Is it possible to create a Time object with a time zone other than the local time zone or GMT? I’m relatively new to Ruby (coming from the Java world), and after reading the docs and playing with T…

---

## [Probleme with 2-dimensionnal arrays](https://www.ruby-forum.com/t/probleme-with-2-dimensionnal-arrays/58213)

<div class="topic-metadata">

**Author:** [@z720](https://www.ruby-forum.com/u/z720)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/probleme-with-2-dimensionnal-arrays/58213 "2006-04-19T19:57:30Z")

</div>

I can’t understand why this piece of code doesn’t return the array expected ? my\_array = Array.new(3, Array(3)) 3.times do |i| 3.times do \[j| my\_array\[i\]\[j\] = i + j end end it should return : \[\[ 0, 1, 2\] \[1, 2, …

---

## [Come fare un video delle vostre coding sessions](https://www.ruby-forum.com/t/come-fare-un-video-delle-vostre-coding-sessions/57803)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 3\
**Last updated:** [April 18, 2006, 11:29am UTC](https://www.ruby-forum.com/t/come-fare-un-video-delle-vostre-coding-sessions/57803 "2006-04-18T11:29:55Z")

</div>

Non è attinente direttamente a Ruby ma ho la presunzione che vi possa interessare. Recentemente al lavoro, per riuscire a documentare in modo più agile, ho introdotto l’uso delle registrazioni audio e video del desk…

---

## [Upload an image](https://www.ruby-forum.com/t/upload-an-image/57381)

<div class="topic-metadata">

**Author:** [@taq](https://www.ruby-forum.com/u/taq)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 11:25pm UTC](https://www.ruby-forum.com/t/upload-an-image/57381 "2006-04-10T23:25:35Z")

</div>

Hello there. :slight\_smile: I have this view: \<%= form\_tag({:action =\> ‘create’}, :multipart =\> true) %\> User \<%= text\_field("user","name") %\> Image \<%= file\_field("user","im…

---

## [Mongrel Web Server 0.3.12.1 -- Iron Mongrel](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-1-iron-mongrel/56797)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-1-iron-mongrel/56797 "2006-04-04T17:48:31Z")

</div>

Hello All Mongrel Users, For the unintiated, Mongrel is a web server that runs Ruby web applications really fast. Read http://mongrel.rubyforge.org/ to get find out more about it. This is the Iron Mongrel release.…

---

## [Caching of classes non working or Howto?](https://www.ruby-forum.com/t/caching-of-classes-non-working-or-howto/70953)

<div class="topic-metadata">

**Author:** [@Philipp\_Ott](https://www.ruby-forum.com/u/Philipp_Ott)\
**Replies:** 3\
**Last updated:** [February 20, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/caching-of-classes-non-working-or-howto/70953 "2006-02-20T22:17:17Z")

</div>

Hello! I m new to rails. I m playing around with it on a SuSE 10.0 box with ruby 1.8.2 and gems and rails and postgres. rails xyz creates a nice rails application, with its directory and ruby script/server runs webri…

---

## [Shameless Hype for Ruby Stuff Goodness](https://www.ruby-forum.com/t/shameless-hype-for-ruby-stuff-goodness/70289)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [February 20, 2006, 12:09am UTC](https://www.ruby-forum.com/t/shameless-hype-for-ruby-stuff-goodness/70289 "2006-02-20T00:09:25Z")

</div>

RubyStuf.com, the premiere place for Ruby stuff, has some new, um, stuff. http://www.rubystuff.com/ Profoundly inspired by a series of ruby-talk threads on just how “dangerous” is Ruby comes “Ruby: You’ll shoot your …

---

## [Memcache-client/cached\_model help](https://www.ruby-forum.com/t/memcache-client-cached-model-help/66074)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 3\
**Last updated:** [February 17, 2006, 7:58pm UTC](https://www.ruby-forum.com/t/memcache-client-cached-model-help/66074 "2006-02-17T19:58:55Z")

</div>

Hi - Just downloaded and installed the memcache-client and cached\_model gems and am trying to test it out on a development setup. I added this to my environment/development.rb CACHE = MemCache.new :c\_threshold =\> 1…

---

## [Question about class variables and instance variables](https://www.ruby-forum.com/t/question-about-class-variables-and-instance-variables/53303)

<div class="topic-metadata">

**Author:** [@ericd](https://www.ruby-forum.com/u/ericd)\
**Replies:** 3\
**Last updated:** [February 2, 2006, 12:54am UTC](https://www.ruby-forum.com/t/question-about-class-variables-and-instance-variables/53303 "2006-02-02T00:54:03Z")

</div>

Hello, I’ve some difficolties with instance variables and classe variables With : class A def foo @foo end def bar @@bar end end a = A.new | | | | | …

---

## [Testing for nil numeric value in find](https://www.ruby-forum.com/t/testing-for-nil-numeric-value-in-find/98083)

<div class="topic-metadata">

**Author:** [@James\_BSByrne](https://www.ruby-forum.com/u/James_BSByrne)\
**Replies:** 3\
**Last updated:** [January 27, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/testing-for-nil-numeric-value-in-find/98083 "2006-01-27T22:57:07Z")

</div>

In the agile/rails tutorial book the following construct is added to products.rb. def self.salable\_items find( :all, :conditions =\> “date\_available \<= now()”, :order =\> “date\_available desc”) end Now…

---

## [Altering the accessor of an association collection](https://www.ruby-forum.com/t/altering-the-accessor-of-an-association-collection/51529)

<div class="topic-metadata">

**Author:** [@turnip](https://www.ruby-forum.com/u/turnip)\
**Replies:** 3\
**Last updated:** [January 2, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/altering-the-accessor-of-an-association-collection/51529 "2006-01-02T17:43:02Z")

</div>

I want to be able to do something like this (for example): class Person \< ActiveRecord::Base has\_many :friends def friends(living\_in = :uk) # filter based on parameters here end end Is there any way I can redefine…

---

## [File Column Directory Add another layer](https://www.ruby-forum.com/t/file-column-directory-add-another-layer/50758)

<div class="topic-metadata">

**Author:** [@dukael](https://www.ruby-forum.com/u/dukael)\
**Replies:** 3\
**Last updated:** [December 21, 2005, 3:46pm UTC](https://www.ruby-forum.com/t/file-column-directory-add-another-layer/50758 "2005-12-21T15:46:01Z")

</div>

Quick Question. I understand how to change the default path to something other than public but what if I wanted to add another directory into the equation. I want to upload an image into the following structure: /pub…

---

## [Ruby\_critical](https://www.ruby-forum.com/t/ruby-critical/216248)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 31, 2012, 2:45pm UTC](https://www.ruby-forum.com/t/ruby-critical/216248 "2012-01-31T14:45:42Z")

</div>

Hello all Can anyone tell me about RUBY\_CRITICAL(). I want to know what this function is about and what it does and whats the reason of ruby calling this function? Regards Tridib

---

## [Roll over image](https://www.ruby-forum.com/t/roll-over-image/203668)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 24, 2011, 8:34pm UTC](https://www.ruby-forum.com/t/roll-over-image/203668 "2011-02-24T20:34:23Z")

</div>

Hi Guys I quite a newbie to ruby, i was just wondering how i can create a roll over image in ruby which is running on Ubuntu. i have tried creating it using adobe flash cs3 but cannot embed the image into the site. an…

---

## [Ror hosting providers?](https://www.ruby-forum.com/t/ror-hosting-providers/226174)

<div class="topic-metadata">

**Author:** [@venkata\_reddy](https://www.ruby-forum.com/u/venkata_reddy)\
**Replies:** 5\
**Last updated:** [December 16, 2010, 9:33am UTC](https://www.ruby-forum.com/t/ror-hosting-providers/226174 "2010-12-16T09:33:39Z")

</div>

can anybody tell me some of the best ror web applications hosting providers?

---

## [Optimization on huge generating xml?](https://www.ruby-forum.com/t/optimization-on-huge-generating-xml/198796)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 8, 2010, 7:13pm UTC](https://www.ruby-forum.com/t/optimization-on-huge-generating-xml/198796 "2010-11-08T19:13:59Z")

</div>

Hi all, Currently, I’m developing a rails app that are heavy generating xml from restful webservice. My xml representation of web service use nokogiri gem to generates xml format that match expected format from clien…

---

## [STI, xml/xslt, or ? for many custom forms/templates](https://www.ruby-forum.com/t/sti-xml-xslt-or-for-many-custom-forms-templates/195640)

<div class="topic-metadata">

**Author:** [@AppleII717](https://www.ruby-forum.com/u/AppleII717)\
**Replies:** 5\
**Last updated:** [September 27, 2010, 9:29pm UTC](https://www.ruby-forum.com/t/sti-xml-xslt-or-for-many-custom-forms-templates/195640 "2010-09-27T21:29:09Z")

</div>

I’m considering porting an application to RoR. The application is basically a “Order Entry” type system for the Interior Designer vertical market. The existing application has a table with over 400 column! (not my des…

---

## [Persistance connection with database](https://www.ruby-forum.com/t/persistance-connection-with-database/194698)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 5\
**Last updated:** [September 13, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/persistance-connection-with-database/194698 "2010-09-13T14:47:54Z")

</div>

Hey , is there any easy way to check for new values in database and show update value on view without refreshing page ?

---

## [Testing tools in ROR](https://www.ruby-forum.com/t/testing-tools-in-ror/185534)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 5\
**Last updated:** [March 22, 2010, 2:43pm UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534 "2010-03-22T14:43:20Z")

</div>

Hello champs, I have been using ROR from last 6 months so i do not have any too much ideas about writing test cases. Upto now i have been writing test cases manually … i mean with assert\_statements only… But now i wa…

---

## [Split question](https://www.ruby-forum.com/t/split-question/176907)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [October 8, 2009, 12:03am UTC](https://www.ruby-forum.com/t/split-question/176907 "2009-10-08T00:03:04Z")

</div>

Hi all, I try to split a line that is separated by ‘tab’ and expect return an array with all the elements containing empty space. But my code doesn’t work. Any idea? Thanks, Li C:\\Documents and Settings\\chen41\\Desk…

---

## [Appending a record to a table](https://www.ruby-forum.com/t/appending-a-record-to-a-table/147533)

<div class="topic-metadata">

**Author:** [@Ruby\_on\_RailsS\_Talk](https://www.ruby-forum.com/u/Ruby_on_RailsS_Talk)\
**Replies:** 5\
**Last updated:** [September 3, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/appending-a-record-to-a-table/147533 "2008-09-03T18:14:13Z")

</div>

Hi I’m not too sure how best to explain this but here goes! I am trying to write an appointment system. I have, through example, just about got the dynamics correct. Even tried to play with some table joins (and excu…

---

## [How to use Rails framework in stand alone ruby file ? (+)](https://www.ruby-forum.com/t/how-to-use-rails-framework-in-stand-alone-ruby-file/142999)

<div class="topic-metadata">

**Author:** [@falko](https://www.ruby-forum.com/u/falko)\
**Replies:** 5\
**Last updated:** [July 14, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/how-to-use-rails-framework-in-stand-alone-ruby-file/142999 "2008-07-14T16:21:54Z")

</div>

Good day. I want to run rb-script via Cron, for inseringt data in database. Is it possible using ActiveRecord, for accessing to DBMS. What should I reguire in rb-file ?

---

## [Nested routes in 2.0.2](https://www.ruby-forum.com/t/nested-routes-in-2-0-2/132045)

<div class="topic-metadata">

**Author:** [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Replies:** 5\
**Last updated:** [March 16, 2008, 3:20am UTC](https://www.ruby-forum.com/t/nested-routes-in-2-0-2/132045 "2008-03-16T03:20:42Z")

</div>

Hi. I have 3 tables, forum, post and reply. I would like to access replies with the url forums/x/posts/x/replies/x … I have the posts nested within the forums, but if I wanted to add another layer, would I have to d…

---

## [Weird on rails message](https://www.ruby-forum.com/t/weird-on-rails-message/128960)

<div class="topic-metadata">

**Author:** [@dutch](https://www.ruby-forum.com/u/dutch)\
**Replies:** 5\
**Last updated:** [February 13, 2008, 4:50am UTC](https://www.ruby-forum.com/t/weird-on-rails-message/128960 "2008-02-13T04:50:03Z")

</div>

I’m a newbie trying to get started. Running os 10.5. Installed rails 2.0, i think, but i’m getting a weird error message when i click “about your environment” Here it is. Any help would be great Errno::ENOENT in Ra…

---

## [How can I get the date in UK format: 11th January 2008](https://www.ruby-forum.com/t/how-can-i-get-the-date-in-uk-format-11th-january-2008/125662)

<div class="topic-metadata">

**Author:** [@theogb](https://www.ruby-forum.com/u/theogb)\
**Replies:** 5\
**Last updated:** [January 15, 2008, 10:55am UTC](https://www.ruby-forum.com/t/how-can-i-get-the-date-in-uk-format-11th-january-2008/125662 "2008-01-15T10:55:26Z")

</div>

This sounds trivial but it’s annoying me. The UK format for a full date would be Friday 11th January 2008 or 11th January 2008. However, date.to\_s(:long) gives “January 11, 2008” Is there a way to get different dates…

---

## [Read a xml file](https://www.ruby-forum.com/t/read-a-xml-file/121073)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 5\
**Last updated:** [November 23, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/read-a-xml-file/121073 "2007-11-23T19:25:36Z")

</div>

hello, im new in using rexml and a i have a first question: how can a read this file: i want to read all children so that output will be something like that: …

---

## [Possible bug with has\_many and Array#empty?](https://www.ruby-forum.com/t/possible-bug-with-has-many-and-array-empty/119669)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 5\
**Last updated:** [November 9, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/possible-bug-with-has-many-and-array-empty/119669 "2007-11-09T22:54:17Z")

</div>

I’ve pasted the code where I have a problem here: The bottom line is this: I have an object called document\_group that has many document\_templates. In my controller, I create class variable like so: @document\_grou…

---

## [Buglet in 'gem check --alien'](https://www.ruby-forum.com/t/buglet-in-gem-check-alien/113258)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 5\
**Last updated:** [September 10, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/buglet-in-gem-check-alien/113258 "2007-09-10T18:16:03Z")

</div>

Hello, Running ‘gem check --alien’ will fail if there is a gem installed with an empty file, like actionmailer-1.3.3 and others. The problem is in rubygems/validator.rb: format.file\_entries.each do |entry, data| # F…

---

## [Newbie to Ruby](https://www.ruby-forum.com/t/newbie-to-ruby/113065)

<div class="topic-metadata">

**Author:** [@animate123](https://www.ruby-forum.com/u/animate123)\
**Replies:** 5\
**Last updated:** [August 30, 2007, 12:15am UTC](https://www.ruby-forum.com/t/newbie-to-ruby/113065 "2007-08-30T00:15:06Z")

</div>

Hi, I was reading through Learning R. and was trying to get the example on page 119 to work to scrape Google. But when I run it nothing happens. Any help would be appreciated. Thanks. require ‘open-uri’ url = “ruby …

---

## [Returning argument as a number problem](https://www.ruby-forum.com/t/returning-argument-as-a-number-problem/111943)

<div class="topic-metadata">

**Author:** [@h4z3](https://www.ruby-forum.com/u/h4z3)\
**Replies:** 5\
**Last updated:** [August 13, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/returning-argument-as-a-number-problem/111943 "2007-08-13T19:06:38Z")

</div>

Hey guys, I have a method as such: def random(len) if len !~ /\\d+/ pub\_send “Invalid number” elsif len \> 30 pub\_send “No more then 30 chars” else chars = (“a”…“z”).to\_a + (“A”…“Z”).to\_a + (“0”…“9”).to\_a random = …

---

## [Has\_many and HABTM in one model](https://www.ruby-forum.com/t/has-many-and-habtm-in-one-model/109172)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [July 13, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/has-many-and-habtm-in-one-model/109172 "2007-07-13T13:44:04Z")

</div>

Hello, If i have a has\_many and an HABTM relationship what is the best way to manage this? I.E., user id username has\_many :books books id user\_id bookname belongs\_to :user Now what I also want is people to be…

---

## [Storing customer CC on gateway](https://www.ruby-forum.com/t/storing-customer-cc-on-gateway/88318)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/storing-customer-cc-on-gateway/88318 "2007-03-09T21:29:09Z")

</div>

I posted this late yesterday afternoon to no response, so I figured I’d try once more to get the morning people’s attention. I’m working on setting up the credit card processing part of a rails app for my company and …

---

## [Problems with destroy](https://www.ruby-forum.com/t/problems-with-destroy/81765)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 5\
**Last updated:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/problems-with-destroy/81765 "2007-01-19T16:29:53Z")

</div>

Hello: I have a destroy method in my controller - pretty standard: def destroy @goal = Goal.find(params\[:id\]) respond\_to do |format| format.html { redirect\_to goals\_url } format.xml { head :ok } end end And the…

---

## [RSA Java/Ruby](https://www.ruby-forum.com/t/rsa-java-ruby/67487)

<div class="topic-metadata">

**Author:** [@jverger](https://www.ruby-forum.com/u/jverger)\
**Replies:** 5\
**Last updated:** [September 5, 2006, 1:10pm UTC](https://www.ruby-forum.com/t/rsa-java-ruby/67487 "2006-09-05T13:10:03Z")

</div>

Hi all, I’ve been reading in this list about crypting with RSA but I don’t get it to work. I beg your help. I believe one of the problems I’m having is that the different values (.e , .n , .d ) are being given in dec…

---

## [A best way to write this](https://www.ruby-forum.com/t/a-best-way-to-write-this/98821)

<div class="topic-metadata">

**Author:** [@fernando](https://www.ruby-forum.com/u/fernando)\
**Replies:** 5\
**Last updated:** [July 19, 2006, 12:59am UTC](https://www.ruby-forum.com/t/a-best-way-to-write-this/98821 "2006-07-19T00:59:33Z")

</div>

I have a form, with 3 fields, then in my controller I get the paramters to run a query but I don’t want to filter with paramters if they are nil or blank… I’m doing this @condition = ‘’ if(params…) @condition = @co…

---

## [Prototype design pattern](https://www.ruby-forum.com/t/prototype-design-pattern/98105)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [July 13, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/prototype-design-pattern/98105 "2006-07-13T15:59:22Z")

</div>

anyone know of a good impl for ruby? regards. -a

---

## [Newbie Questions](https://www.ruby-forum.com/t/newbie-questions/64136)

<div class="topic-metadata">

**Author:** [@azalar](https://www.ruby-forum.com/u/azalar)\
**Replies:** 5\
**Last updated:** [June 22, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/newbie-questions/64136 "2006-06-22T12:12:19Z")

</div>

Hi, I am new to Ruby and have a newbie Ruby question that i couldn’t find the answer to in the FAQ. If this is the wrong forum to post newbie questions please accept my apologies and direct me to a more suitable foru…

---

## [Strange RJS behavior](https://www.ruby-forum.com/t/strange-rjs-behavior/63195)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 5\
**Last updated:** [June 14, 2006, 11:38am UTC](https://www.ruby-forum.com/t/strange-rjs-behavior/63195 "2006-06-14T11:38:18Z")

</div>

I used RJS extensively in my last web app with no problem. I’m just beginning a new one and having a very odd problem. The called method, get\_names, retrieves some values from the database, then ends: render :layout …

---

## [DSL help?](https://www.ruby-forum.com/t/dsl-help/89015)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 5\
**Last updated:** [January 3, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/dsl-help/89015 "2006-01-03T22:53:46Z")

</div>

Hey rubyists- I was wondering if someone could help me make this small dsl I wrote into a little bit better syntax. The Cond class just takes a block in its constructor and converts what’s inside the block into an sql …

---

## [Guido van Rossum to work for Google](https://www.ruby-forum.com/t/guido-van-rossum-to-work-for-google/50844)

<div class="topic-metadata">

**Author:** [@Lyle\_J](https://www.ruby-forum.com/u/Lyle_J)\
**Replies:** 5\
**Last updated:** [December 22, 2005, 8:05pm UTC](https://www.ruby-forum.com/t/guido-van-rossum-to-work-for-google/50844 "2005-12-22T20:05:32Z")

</div>

Arguably off-topic for this list, but it will be of interest to some of you. :wink: http://groups.google.com/group/comp.lang.python/browse\_frm/thread/32dc95bd671542f3/

---

## [Hire a Shopify development company](https://www.ruby-forum.com/t/hire-a-shopify-development-company/264916)

<div class="topic-metadata">

**Author:** [@websitedesign](https://www.ruby-forum.com/u/websitedesign)\
**Replies:** 0\
**Last updated:** [July 18, 2024, 1:17pm UTC](https://www.ruby-forum.com/t/hire-a-shopify-development-company/264916 "2024-07-18T13:17:14Z")

</div>

Pixlogix offers top-notch Shopify development company to help businesses create stunning and highly functional online stores. Our expert team specializes in creating custom Shopify stores that are visually appealing, use…

---

## [Application in production AWS](https://www.ruby-forum.com/t/application-in-production-aws/261153)

<div class="topic-metadata">

**Author:** [@frandaniel64](https://www.ruby-forum.com/u/frandaniel64)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 9:00pm UTC](https://www.ruby-forum.com/t/application-in-production-aws/261153 "2021-03-25T21:00:49Z")

</div>

I have a problem in production every time I restart my application every so often it stops working, the only error that throws me is this: HTTP parse error, malformed request (): #\<Puma::HttpParserError: Invalid HTTP fo…

---

## [Issue has been solved](https://www.ruby-forum.com/t/issue-has-been-solved/253465)

<div class="topic-metadata">

**Author:** [@nmp153](https://www.ruby-forum.com/u/nmp153)\
**Replies:** 0\
**Last updated:** [December 12, 2019, 6:40pm UTC](https://www.ruby-forum.com/t/issue-has-been-solved/253465 "2019-12-12T18:40:15Z")

</div>

I am trying to validate this array of string entered in by the user to be less than or equal to 4 digits

[Previous page](https://www.ruby-forum.com/top.md?page=1574&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1576&per_page=50)
