# Top

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

[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:** 1847

---

## [Lumping vs. Splitting (REST)](https://www.ruby-forum.com/t/lumping-vs-splitting-rest/80266)

<div class="topic-metadata">

**Author:** [@thehobbster](https://www.ruby-forum.com/u/thehobbster)\
**Replies:** 3\
**Last updated:** [December 23, 2006, 9:59pm UTC](https://www.ruby-forum.com/t/lumping-vs-splitting-rest/80266 "2006-12-23T21:59:45Z")

</div>

Hi Everyone, Working on a REST-based web application, and I need some ammo in dealing with my supervisors and contractors. Is it better to: Method 1: Take in one large XML-based POST request, which contains 1st, 2nd …

---

## [Getting Ruby on Rails working with Apache](https://www.ruby-forum.com/t/getting-ruby-on-rails-working-with-apache/79522)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 3\
**Last updated:** [December 16, 2006, 11:57am UTC](https://www.ruby-forum.com/t/getting-ruby-on-rails-working-with-apache/79522 "2006-12-16T11:57:30Z")

</div>

I just bought space on a virtual server that has Ruby and Ruby on Rails installed. I ran the script to install the basic “Hello World” code but it installed the files in /work/demo which is not in my Apache path. I t…

---

## [Find avec inclusions et conditions sur les inclusions... pos](https://www.ruby-forum.com/t/find-avec-inclusions-et-conditions-sur-les-inclusions-pos/78783)

<div class="topic-metadata">

**Author:** [@teddio](https://www.ruby-forum.com/u/teddio)\
**Replies:** 3\
**Last updated:** [December 11, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/find-avec-inclusions-et-conditions-sur-les-inclusions-pos/78783 "2006-12-11T12:37:23Z")

</div>

Salut tout le monde, Dans mon appli, j’ai des Galleries qui comprennent des Medias de diffÃ©rents Types (image ou vidÃ©o) qui peuvent eux-mÃªmes avoir plusieurs Thumbnails. Donc, voici mes modÃ¨les: class Gallery \< A…

---

## [New Rails site: Smatchy.com](https://www.ruby-forum.com/t/new-rails-site-smatchy-com/76388)

<div class="topic-metadata">

**Author:** [@Adam\_Hegedus](https://www.ruby-forum.com/u/Adam_Hegedus)\
**Replies:** 3\
**Last updated:** [November 19, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/new-rails-site-smatchy-com/76388 "2006-11-19T17:40:55Z")

</div>

A newly released site developed entirely in Rails, known as Smatchy (www.smatchy.com), presents an interesting take on recommendations and could become the standard rather than the exception. The recommendations were…

---

## [Rails + batch jobs](https://www.ruby-forum.com/t/rails-batch-jobs/76366)

<div class="topic-metadata">

**Author:** [@so0ly](https://www.ruby-forum.com/u/so0ly)\
**Replies:** 3\
**Last updated:** [November 18, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/rails-batch-jobs/76366 "2006-11-18T20:32:49Z")

</div>

Hey, I’m wondering how to run a batch job on a rails server. And would this be possible on a shared hosting like bluehost? what about capistrano? thnx in advance, DP

---

## [Scaling and class methods](https://www.ruby-forum.com/t/scaling-and-class-methods/74037)

<div class="topic-metadata">

**Author:** [@simplydope](https://www.ruby-forum.com/u/simplydope)\
**Replies:** 3\
**Last updated:** [October 29, 2006, 11:26pm UTC](https://www.ruby-forum.com/t/scaling-and-class-methods/74037 "2006-10-29T23:26:02Z")

</div>

This is a generic question but I’ll use Globalize as the example. On each page request a class method is called on Locale to set the page locale from the url - eg …/en/index… would be en=english. I later perform som…

---

## [\[Fwd: \[Rails-core\] Strange behavior with session\]](https://www.ruby-forum.com/t/fwd-rails-core-strange-behavior-with-session/70841)

<div class="topic-metadata">

**Author:** [@marek](https://www.ruby-forum.com/u/marek)\
**Replies:** 3\
**Last updated:** [October 3, 2006, 7:58pm UTC](https://www.ruby-forum.com/t/fwd-rails-core-strange-behavior-with-session/70841 "2006-10-03T19:58:28Z")

</div>

Hi, when I create the following method inside a controller which has sessions enabled, the result I get (“nil”) is not the one I am expecting (CGI::Session). Has anybody an explanation for this strange behavior? — c…

---

## [RMagick 1.13.0 for Windows](https://www.ruby-forum.com/t/rmagick-1-13-0-for-windows/64922)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/rmagick-1-13-0-for-windows/64922 "2006-08-15T14:20:51Z")

</div>

Brett DiFrischia has prepared a new release of RMagick for Win32. This release is based on very latest versions of Ruby, RMagick, and ImageMagick. Specifically, this is RMagick 1.13.0 compiled for the Ruby One-Click I…

---

## [How can I create OrderItems that go in a Order?](https://www.ruby-forum.com/t/how-can-i-create-orderitems-that-go-in-a-order/99299)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [July 23, 2006, 2:55am UTC](https://www.ruby-forum.com/t/how-can-i-create-orderitems-that-go-in-a-order/99299 "2006-07-23T02:55:42Z")

</div>

I suspect my problem is similar to having an order and wanting to have order items as part of the order, so I’ll explain the problem in those more familiar terms and then explain what if anything makes my actual situa…

---

## [More fcgi problems on apache](https://www.ruby-forum.com/t/more-fcgi-problems-on-apache/62027)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 3\
**Last updated:** [May 30, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/more-fcgi-problems-on-apache/62027 "2006-05-30T22:04:07Z")

</div>

I’m having tons of problems with fcgi on apache2. The app didn’t crash over the weekend when it wasn’t used. I ran it this morning and it was fine. It’s an inhouse app so it wasn’t used for 3 days over the weekend.…

---

## [Class Variable](https://www.ruby-forum.com/t/class-variable/95308)

<div class="topic-metadata">

**Author:** [@Paul\_DSKraus](https://www.ruby-forum.com/u/Paul_DSKraus)\
**Replies:** 3\
**Last updated:** [May 27, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/class-variable/95308 "2006-05-27T18:41:31Z")

</div>

Perl has me all turned around with ruby classes. I see some classes use a ‘self.’ and others don’t. When to use? Also what does an @ do in front of a variable? I think i understand private methods basically they are t…

---

## [Ruby 1.8 & soap](https://www.ruby-forum.com/t/ruby-1-8-soap/61681)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 3\
**Last updated:** [May 26, 2006, 2:57am UTC](https://www.ruby-forum.com/t/ruby-1-8-soap/61681 "2006-05-26T02:57:51Z")

</div>

I’m trying to run some test scripts using SOAP on a debian installation. ruby 1.8.4 (2005-12-24) \[i486-linux\] There’s nothing in the ri docs tree or anything else that I can find which knows the PATH to the objects (…

---

## [Using the MySQL SET datatype](https://www.ruby-forum.com/t/using-the-mysql-set-datatype/61255)

<div class="topic-metadata">

**Author:** [@Hates\_S](https://www.ruby-forum.com/u/Hates_S)\
**Replies:** 3\
**Last updated:** [May 22, 2006, 3:17pm UTC](https://www.ruby-forum.com/t/using-the-mysql-set-datatype/61255 "2006-05-22T15:17:52Z")

</div>

Does anyone have any links to example code showing how to use the MySQL SET datatype in my ActiveRecord objects.

---

## [Action Variables Not Available In The View For A Specific Ac](https://www.ruby-forum.com/t/action-variables-not-available-in-the-view-for-a-specific-ac/60159)

<div class="topic-metadata">

**Author:** [@jwigal](https://www.ruby-forum.com/u/jwigal)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/action-variables-not-available-in-the-view-for-a-specific-ac/60159 "2006-05-10T20:45:32Z")

</div>

I am setting an action variable in my PagesController such as: def manage render(:layout =\> “admin”) @strOut = “STRING Variable Set From The MANAGE Action!” end And in the /views/pages/manage.rhtml view, I don?t hav…

---

## [Regex in HTML](https://www.ruby-forum.com/t/regex-in-html/94171)

<div class="topic-metadata">

**Author:** [@Hampton](https://www.ruby-forum.com/u/Hampton)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 4:03am UTC](https://www.ruby-forum.com/t/regex-in-html/94171 "2006-04-24T04:03:42Z")

</div>

So, I’m trying to write a nice bit of regex to handle finding anchor tags in a bit of html. This is what I’ve got… /\<\[aA\]\[^\>\]\>\[^\<\]\</\[aA\]\>/ I’m planning on using this with a gsub!. Here is what it has to do… Anythi…

---

## [Sponsoring the Sponsors of the Summer of Code](https://www.ruby-forum.com/t/sponsoring-the-sponsors-of-the-summer-of-code/58070)

<div class="topic-metadata">

**Author:** [@agorilla](https://www.ruby-forum.com/u/agorilla)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/sponsoring-the-sponsors-of-the-summer-of-code/58070 "2006-04-19T15:48:30Z")

</div>

I know that the folks at Ruby Central (David Black, Chad F., Rich Kilmer, et al) had a big impact on Ruby being added to Google’s ‘Summer of Code’. They tried last year, but they made it happen this year. Based on t…

---

## [Updating the dom](https://www.ruby-forum.com/t/updating-the-dom/93429)

<div class="topic-metadata">

**Author:** [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 3:09am UTC](https://www.ruby-forum.com/t/updating-the-dom/93429 "2006-04-03T03:09:18Z")

</div>

Hi list, Say I’ve got a page that lists the students names and grades. Grades are clickable using a form\_remote\_tag that then renders a new partial on the right hand side of the page that then lists the individual tes…

---

## [Basic YAML help - collection of objects with attributes](https://www.ruby-forum.com/t/basic-yaml-help-collection-of-objects-with-attributes/86897)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 3\
**Last updated:** [March 27, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/basic-yaml-help-collection-of-objects-with-attributes/86897 "2006-03-27T17:06:29Z")

</div>

Hi everyone, I’m trying to output a YAML file that will list users and some of their LDAP attributes. For instance (non-YAML): uid: seanhussey dn: uid=seanhussey,dc=company,dc=com anotherattr: 39392:12341 The last…

---

## [Ruby::Watir Forum?](https://www.ruby-forum.com/t/ruby-watir-forum/54858)

<div class="topic-metadata">

**Author:** [@kalensr](https://www.ruby-forum.com/u/kalensr)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 9:48pm UTC](https://www.ruby-forum.com/t/ruby-watir-forum/54858 "2006-03-23T21:48:55Z")

</div>

Hello All! I was wondering if there was any interest in starting a Watir forum? I have some questions around using Watir to do some web app testing, and from time to time I have general Ruby questions also. Thanks, K…

---

## [How to identify the browser?](https://www.ruby-forum.com/t/how-to-identify-the-browser/54361)

<div class="topic-metadata">

**Author:** [@godsmurf](https://www.ruby-forum.com/u/godsmurf)\
**Replies:** 3\
**Last updated:** [March 2, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/how-to-identify-the-browser/54361 "2006-03-02T17:02:58Z")

</div>

I need to generate some browser-specific code; can I identify which browser is being used from within my RoR code?

---

## [Ruby plugin for spreadsheet?](https://www.ruby-forum.com/t/ruby-plugin-for-spreadsheet/72606)

<div class="topic-metadata">

**Author:** [@grantspeelman](https://www.ruby-forum.com/u/grantspeelman)\
**Replies:** 3\
**Last updated:** [February 24, 2006, 7:16am UTC](https://www.ruby-forum.com/t/ruby-plugin-for-spreadsheet/72606 "2006-02-24T07:16:05Z")

</div>

I know this may sound insane… but is there anything like a ruby plugin for spreadsheets? Sadly, I guess I’d prefer Excel, but I use OpenOffice alot too. basically, there is always text manipulation of fields I need to …

---

## [Newbie trouble with RubyGems](https://www.ruby-forum.com/t/newbie-trouble-with-rubygems/69014)

<div class="topic-metadata">

**Author:** [@don](https://www.ruby-forum.com/u/don)\
**Replies:** 3\
**Last updated:** [February 16, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/newbie-trouble-with-rubygems/69014 "2006-02-16T15:24:32Z")

</div>

This is a newbie question. I used OneClick to install Ruby onto my Windows XP machine. OneClick installed RubyGems. When I try the command gem list â??remote the commands prints \*\*\* REMOTE GEMS \*\*\* to the conso…

---

## [Mongrel 0.3.2 -- The Right Site/All Requests Answered](https://www.ruby-forum.com/t/mongrel-0-3-2-the-right-site-all-requests-answered/67549)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 3\
**Last updated:** [February 14, 2006, 3:18am UTC](https://www.ruby-forum.com/t/mongrel-0-3-2-the-right-site-all-requests-answered/67549 "2006-02-14T03:18:55Z")

</div>

“Another Mongrel release?! Is he insane?” Yeah, basically. This is yet another release of Mongrel that adds a bunch of little features people requested and I found were needed. This release is almost entirely tar…

---

## [Re: How to improve this kind of API?](https://www.ruby-forum.com/t/re-how-to-improve-this-kind-of-api/65120)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [February 9, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/re-how-to-improve-this-kind-of-api/65120 "2006-02-09T22:42:28Z")

</div>

it always boils down to some widget attribute that can have a splitter3.expanded? :bottom\_left Thanks in advance for your suggestions! Lyle FWIW, I think what you’ve posted here looks good, so long as I could use …

---

## [Newb, how to start coding question - and - flash & ruby?](https://www.ruby-forum.com/t/newb-how-to-start-coding-question-and-flash-ruby/52729)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/newb-how-to-start-coding-question-and-flash-ruby/52729 "2006-01-18T16:33:39Z")

</div>

Hi there, I’m a web developer (mainly front end) of 10 years but am new to Ruby. I got the pickaxe book and really have been enjoying it (although things are getting hairy for me now halfway through!) Ruby seems like …

---

## [Newbie: functions don't work in script](https://www.ruby-forum.com/t/newbie-functions-dont-work-in-script/52281)

<div class="topic-metadata">

**Author:** [@corck](https://www.ruby-forum.com/u/corck)\
**Replies:** 3\
**Last updated:** [January 12, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/newbie-functions-dont-work-in-script/52281 "2006-01-12T15:04:13Z")

</div>

sorry for this newbie question, just started ruby programming today, Try to work me through the book Programming Ruby the script: #!/usr/local/bin/ruby a = \[ “a”, “b”, “c” \] a.include?(“b”) returns me nothing, if …

---

## [Module loading](https://www.ruby-forum.com/t/module-loading/78326)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 3\
**Last updated:** [December 28, 2005, 9:02pm UTC](https://www.ruby-forum.com/t/module-loading/78326 "2005-12-28T21:02:06Z")

</div>

I’ve looked high and low for the answer to this and can’t seem to find anything that helps. I have an admin section (much like Typo) where all controllers are based on the Admin::BaseController. My directory structur…

---

## [HTML Scraping Using WWW::Mechanize](https://www.ruby-forum.com/t/html-scraping-using-www-mechanize/60814)

<div class="topic-metadata">

**Author:** [@james\_b](https://www.ruby-forum.com/u/james_b)\
**Replies:** 3\
**Last updated:** [December 4, 2005, 8:44pm UTC](https://www.ruby-forum.com/t/html-scraping-using-www-mechanize/60814 "2005-12-04T20:44:19Z")

</div>

Recent discussion here on HTML parsing and using Michael N.'s outstanding Mechanize library prompted me to straighten up some code and write up an explanation of how I parse CafePress pages to build the rubystuff.com …

---

## [Newbie question: HTTP 500 0 errors - no output to browser](https://www.ruby-forum.com/t/newbie-question-http-500-0-errors-no-output-to-browser/50727)

<div class="topic-metadata">

**Author:** [@esloane](https://www.ruby-forum.com/u/esloane)\
**Replies:** 3\
**Last updated:** [November 30, 2005, 1:07am UTC](https://www.ruby-forum.com/t/newbie-question-http-500-0-errors-no-output-to-browser/50727 "2005-11-30T01:07:37Z")

</div>

Hi, I asked this question a day or so ago - heres an update. I’m following the “Agile Web D. with RAils” book and succesfully built the application therein. I’ve been banging my head against a wall for a few days t…

---

## [RubyOnRailsJobs.com](https://www.ruby-forum.com/t/rubyonrailsjobs-com/48522)

<div class="topic-metadata">

**Author:** [@marcus](https://www.ruby-forum.com/u/marcus)\
**Replies:** 3\
**Last updated:** [November 23, 2005, 6:59am UTC](https://www.ruby-forum.com/t/rubyonrailsjobs-com/48522 "2005-11-23T06:59:46Z")

</div>

Hello, I’m writing to ask if there any developers that would provide a good home to a few Rails-oriented domain names that I bought with the intention of building a jobs portal for Rails developers: RubyonRailsJobs.…

---

## [Please help modelling "has-a-vector-of-3" relationship](https://www.ruby-forum.com/t/please-help-modelling-has-a-vector-of-3-relationship/241274)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 21, 2014, 5:47pm UTC](https://www.ruby-forum.com/t/please-help-modelling-has-a-vector-of-3-relationship/241274 "2014-05-21T17:47:37Z")

</div>

In my application, I have 3 models. Let’s call them X, Y and Z for brevity. Their relationship are as follows: One X has an arbitrary number (maybe zero) items of type Y. One Y has 2 or 3 items of type Z. Moreover…

---

## [For loop int i in block](https://www.ruby-forum.com/t/for-loop-int-i-in-block/240688)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 25, 2014, 5:23pm UTC](https://www.ruby-forum.com/t/for-loop-int-i-in-block/240688 "2014-04-25T17:23:11Z")

</div>

Dear sir What is the maximum i value in for loop in a c++ block Neil

---

## [Beginner to ruby programming](https://www.ruby-forum.com/t/beginner-to-ruby-programming/240071)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 4:15pm UTC](https://www.ruby-forum.com/t/beginner-to-ruby-programming/240071 "2014-03-26T16:15:25Z")

</div>

hi every one , i am beginner to ruby, i don’t know a little bit of ruby, but i have to learn it bcz i m going to work as a system admin , and for client server automation using puppet i required concept of ruby, can a…

---

## [GUI block for file read?](https://www.ruby-forum.com/t/gui-block-for-file-read/235733)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 11, 2013, 8:44pm UTC](https://www.ruby-forum.com/t/gui-block-for-file-read/235733 "2013-07-11T20:44:36Z")

</div>

File Sink block dumps lot of data in a file, and to analyze that I have to run this code snippet \*import scipy f = scipy.fromfile(open(“your\_file\_name.txt”), dtype=scipy.float32) \*\*print f Is there any ready fi…

---

## [Mobile Ruby Website](https://www.ruby-forum.com/t/mobile-ruby-website/235171)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 5, 2013, 3:03am UTC](https://www.ruby-forum.com/t/mobile-ruby-website/235171 "2013-06-05T03:03:24Z")

</div>

I’m doing a mobile version of a Ruby on Rails website – and i’ve decided to use the Jquery libraries. Any recommendation on open-source tools to use for working not he site? Regards, Kirk K.

---

## [Transmiting a sequence of known bits using OFDM and file source](https://www.ruby-forum.com/t/transmiting-a-sequence-of-known-bits-using-ofdm-and-file-source/226472)

<div class="topic-metadata">

**Author:** [@jiajue\_ou](https://www.ruby-forum.com/u/jiajue_ou)\
**Replies:** 2\
**Last updated:** [December 11, 2012, 1:31pm UTC](https://www.ruby-forum.com/t/transmiting-a-sequence-of-known-bits-using-ofdm-and-file-source/226472 "2012-12-11T13:31:56Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [Pmt and dictionary blowing out memory](https://www.ruby-forum.com/t/pmt-and-dictionary-blowing-out-memory/224717)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 25, 2012, 12:00am UTC](https://www.ruby-forum.com/t/pmt-and-dictionary-blowing-out-memory/224717 "2012-11-25T00:00:29Z")

</div>

Hi All, I’m using some blocks that I created using pmt dictionaries. Each of these blocks can run in an infinite loop, so that it is what I am testing. I connect 2 blocks and I left them running for 10 minutes, what …

---

## [Override a set\_empty variable from http params](https://www.ruby-forum.com/t/override-a-set-empty-variable-from-http-params/223695)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 17, 2012, 6:05am UTC](https://www.ruby-forum.com/t/override-a-set-empty-variable-from-http-params/223695 "2012-10-17T06:05:41Z")

</div>

Hi all, I set the some params to my backend server as shown below set\_if\_empty $country\_code $http\_x\_country\_code; proxy\_set\_header X-Country-Code $country\_code; Now the http\_x\_country\_code comes via the GeoIP mo…

---

## [Convert Date to DateTime](https://www.ruby-forum.com/t/convert-date-to-datetime/169297)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [October 10, 2012, 10:38pm UTC](https://www.ruby-forum.com/t/convert-date-to-datetime/169297 "2012-10-10T22:38:13Z")

</div>

The method I am using to convert Date objects to DateTime objects is: date\_obj = DateTime.parse(Date.to\_s) Is this an okay way to go about doing this? Or is there a more efficient way?

---

## [Trigger a git commit for static site generator](https://www.ruby-forum.com/t/trigger-a-git-commit-for-static-site-generator/222005)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 10, 2012, 12:42am UTC](https://www.ruby-forum.com/t/trigger-a-git-commit-for-static-site-generator/222005 "2012-08-10T00:42:48Z")

</div>

I build a small static site generator: just PUT markdown from a textarea to a git versioned file and post-commit markdown.sh (and little bit templating) to html for nginx. The only thing I miss the commit triggerd by …

---

## [Runtime errors vs. logic errors](https://www.ruby-forum.com/t/runtime-errors-vs-logic-errors/218917)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 19, 2012, 4:23pm UTC](https://www.ruby-forum.com/t/runtime-errors-vs-logic-errors/218917 "2012-04-19T16:23:46Z")

</div>

Kind of a nitpicky C++ thing, but shouldn’t argument checks on the access code in gr\_correlate\_access\_code\_tag\_bb.cc throw std::invalid\_argument or std::range\_error, which are both derived from std::runtime\_error, ver…

---

## [Build problems and some possible solutions](https://www.ruby-forum.com/t/build-problems-and-some-possible-solutions/215566)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 3, 2012, 12:20am UTC](https://www.ruby-forum.com/t/build-problems-and-some-possible-solutions/215566 "2012-04-03T00:20:54Z")

</div>

Hi ! I’m using gentoo linux with multilib support and did a fresh git clone from the repository. running ./bootstrap results in configure.ac:39: installing ./install-sh' configure.ac:39: installing./missing’ gnuradi…

---

## [Unique server for all domains or a server per domain?](https://www.ruby-forum.com/t/unique-server-for-all-domains-or-a-server-per-domain/216599)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 9, 2012, 7:05pm UTC](https://www.ruby-forum.com/t/unique-server-for-all-domains-or-a-server-per-domain/216599 "2012-02-09T19:05:08Z")

</div>

Hello, I am currently using a unique server conf for all my domains. When I wanna restrain certain activity to certain domains (subdirectories, URL rewriting, etc.) I do not have other choice than using ‘if’ on the …

---

## [\[ruby-trunk - Bug #5941\]\[Open\] 補完候補にマルチバイト文字が含まれる場合の挙動](https://www.ruby-forum.com/t/ruby-trunk-bug-5941-open/216209)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 7, 2012, 1:57am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5941-open/216209 "2012-02-07T01:57:25Z")

</div>

Issue #5941 has been reported by Nobuhiro IMAI. Bug #5941: 補完候補にマルチバイト文字が含まれる場合の挙動 Author: Nobuhiro IMAI Status: Open Priority: Normal Assignee: Kouji T. Category: ext Target version: ruby -v: ruby 2.0.0dev (20…

---

## [Named Scope bug?](https://www.ruby-forum.com/t/named-scope-bug/215812)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 16, 2012, 8:58pm UTC](https://www.ruby-forum.com/t/named-scope-bug/215812 "2012-01-16T20:58:15Z")

</div>

Hi guys, I’m having a hard time with a scope within an ActiveRecord model. Here’s my class: https://gist.github.com/1622314 The scope is named “current” and should select records between two dates and here is what ha…

---

## [$fastcgi\_script\_name set incorrectly with alias directive](https://www.ruby-forum.com/t/fastcgi-script-name-set-incorrectly-with-alias-directive/211189)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 28, 2011, 11:47pm UTC](https://www.ruby-forum.com/t/fastcgi-script-name-set-incorrectly-with-alias-directive/211189 "2011-08-28T23:47:13Z")

</div>

Hi, I having trouble getting alias directive to work as I would expect. One thing I find is that the location part of the request is not being dropped in the $fastcgi\_script\_name. Here’s my location block locat…

---

## [Location of trusted SSL certificates on Windows (7)](https://www.ruby-forum.com/t/location-of-trusted-ssl-certificates-on-windows-7/210009)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 28, 2011, 2:44pm UTC](https://www.ruby-forum.com/t/location-of-trusted-ssl-certificates-on-windows-7/210009 "2011-07-28T14:44:13Z")

</div>

I am trying to access Exchange server with viewpoint gem. Connection is not successful and it ends with this message: C:/RUBY187/lib/ruby/gems/1.8/gems/httpclient-2.1.7.2/lib/httpclient/session.rb:276:in \`connect’: SS…

---

## [Weird problem between windows and mac versions of some code](https://www.ruby-forum.com/t/weird-problem-between-windows-and-mac-versions-of-some-code/209394)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 13, 2011, 10:05pm UTC](https://www.ruby-forum.com/t/weird-problem-between-windows-and-mac-versions-of-some-code/209394 "2011-07-13T22:05:52Z")

</div>

peruse the following: Mac version ruby-1.9.2-p180 :005 \> @u=User.find(:first, :conditions=\>\[“login = ?”, “rgtest”\]) =\> #\<User id: 1068138631, login: “rgtest”, crypted\_password: “a13970eb729c1f0761242f1995a2d2f7b2e52…

---

## [Plugin or Gem reuirement, if gem is not installed](https://www.ruby-forum.com/t/plugin-or-gem-reuirement-if-gem-is-not-installed/205787)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 16, 2011, 3:20pm UTC](https://www.ruby-forum.com/t/plugin-or-gem-reuirement-if-gem-is-not-installed/205787 "2011-04-16T15:20:24Z")

</div>

It is about rails2 I have a gem that I install as a plugin, I want in development environment use it from vendor/plugins folder and if it is installed in system to use the systems gem But if I use config.gem in envir…

---

## [Solving a problem: keep tracking of an index through controller & view](https://www.ruby-forum.com/t/solving-a-problem-keep-tracking-of-an-index-through-controller-view/203262)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 16, 2011, 6:51pm UTC](https://www.ruby-forum.com/t/solving-a-problem-keep-tracking-of-an-index-through-controller-view/203262 "2011-02-16T18:51:35Z")

</div>

Hi, I want some help to solve this problem that I have: I have a form for some controller/model called Expense(s) in the new\_daily method, in that form I have a table with 5 rows, where I have to put the fields neede…

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

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