# Top

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

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

---

## [New (potential) user + question](https://www.ruby-forum.com/t/new-potential-user-question/153476)

<div class="topic-metadata">

**Author:** [@Peter\_OSDoherty](https://www.ruby-forum.com/u/Peter_OSDoherty)\
**Replies:** 4\
**Last updated:** [November 18, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/new-potential-user-question/153476 "2008-11-18T17:06:16Z")

</div>

Hi, This is my first post to this list. I’m a sound artist and I’ve just started to explore the world of software radio and have been eavesdropping on this list for a while and have a few questions. There seems to be…

---

## [Render a url?](https://www.ruby-forum.com/t/render-a-url/144662)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 4\
**Last updated:** [August 1, 2008, 12:28am UTC](https://www.ruby-forum.com/t/render-a-url/144662 "2008-08-01T00:28:07Z")

</div>

uri = session\[:original\_uri\] session\[:original\_uri\] = nil render (uri || { :action =\> :index }) is it possible? Thanks!

---

## [DRY validates\_format\_of?](https://www.ruby-forum.com/t/dry-validates-format-of/139817)

<div class="topic-metadata">

**Author:** [@jc71229](https://www.ruby-forum.com/u/jc71229)\
**Replies:** 4\
**Last updated:** [June 7, 2008, 8:14pm UTC](https://www.ruby-forum.com/t/dry-validates-format-of/139817 "2008-06-07T20:14:23Z")

</div>

In a model I have following validates\_format\_of. Is there an easy way to DRY this up? It seems to be rather repetitive. validates\_format\_of :expiration\_date, :with =\> /^\[0-9\]{4}\[-\]\[0-9\]{2}\[-\]\[0-9\]{2}$/ valid…

---

## [Searching has\_many with UltraSphinx](https://www.ruby-forum.com/t/searching-has-many-with-ultrasphinx/132290)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 4\
**Last updated:** [May 26, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/searching-has-many-with-ultrasphinx/132290 "2008-05-26T15:08:24Z")

</div>

I’m switching from ferret to ultrasphinx… in ferret I used to search on tags for a model by just including the tag\_string method in the list of fields and implementing this method: def tag\_string tags.map(&:name).jo…

---

## [N00b question on passing parameters to a webservice](https://www.ruby-forum.com/t/n00b-question-on-passing-parameters-to-a-webservice/138369)

<div class="topic-metadata">

**Author:** [@Rey9999](https://www.ruby-forum.com/u/Rey9999)\
**Replies:** 4\
**Last updated:** [May 23, 2008, 10:36am UTC](https://www.ruby-forum.com/t/n00b-question-on-passing-parameters-to-a-webservice/138369 "2008-05-23T10:36:09Z")

</div>

Let us say I have a webservice method: api\_method :login, :expects =\> \[:name=\>:string, :password=\>:string\], :returns =\> \[:int\] defined as: def login(name, password) #do something here and returns an int end how d…

---

## [How to return more than one object to a block](https://www.ruby-forum.com/t/how-to-return-more-than-one-object-to-a-block/135870)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 11:35am UTC](https://www.ruby-forum.com/t/how-to-return-more-than-one-object-to-a-block/135870 "2008-04-26T11:35:37Z")

</div>

Hi, I’m kinda new to blocks, and I’m trying to create my own Rails form builder, which I want to work like this: form\_for … do |f| f.form\_label ‘Some label’ do f.text\_field :something link\_to ‘somewhere’, somewhere…

---

## [ActionView::TemplateError](https://www.ruby-forum.com/t/actionview-templateerror/135465)

<div class="topic-metadata">

**Author:** [@saravanankrishnan](https://www.ruby-forum.com/u/saravanankrishnan)\
**Replies:** 4\
**Last updated:** [April 23, 2008, 6:11am UTC](https://www.ruby-forum.com/t/actionview-templateerror/135465 "2008-04-23T06:11:22Z")

</div>

Hi, I have a problem that only occurs on the production server. I’ve tried to figure it out with no success. Below is a copy of the error from the production log. Can anyone help me :frowning: ActionView::TemplateEr…

---

## [\[ANN\] Ebb web server version 0.0.3](https://www.ruby-forum.com/t/ann-ebb-web-server-version-0-0-3/130894)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 4, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/ann-ebb-web-server-version-0-0-3/130894 "2008-03-04T16:04:31Z")

</div>

Ebb aims to be a small and fast web server, written in C, specifically for hosting web frameworks like Rails and Merb. It is not meant to be a full featured web server like Lighttpd, Apache, or Nginx. Rather it should…

---

## [Migration between versions](https://www.ruby-forum.com/t/migration-between-versions/128380)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [February 8, 2008, 5:05am UTC](https://www.ruby-forum.com/t/migration-between-versions/128380 "2008-02-08T05:05:28Z")

</div>

Hi how to migrate in between versions ? suppose if i have version 1-76 . if i want to revert from 57-65 then what should i do ?without affecting data of migrations from 66-76.Please help Sijo

---

## [Best way to do redirect\_to using multiple controllers?](https://www.ruby-forum.com/t/best-way-to-do-redirect-to-using-multiple-controllers/126338)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 4\
**Last updated:** [January 18, 2008, 12:57am UTC](https://www.ruby-forum.com/t/best-way-to-do-redirect-to-using-multiple-controllers/126338 "2008-01-18T00:57:25Z")

</div>

I’m using the same comment system for two different controllers, so users post a comment to a game and a post using the same “create” action in the comments controller. I did comments for games first, so my comments c…

---

## [Paginate collection bug](https://www.ruby-forum.com/t/paginate-collection-bug/122186)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 4\
**Last updated:** [January 5, 2008, 10:44am UTC](https://www.ruby-forum.com/t/paginate-collection-bug/122186 "2008-01-05T10:44:14Z")

</div>

Hello, I was looking to do pagination for collection and I found this bunch of code. def paginate\_collection(collection, options = {}) default\_options = {:per\_page =\> 5, :page =\> 1} options = default\_options.merge(o…

---

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

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 4\
**Last updated:** [November 14, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/module-constants/120135 "2007-11-14T21:42:20Z")

</div>

According to my trials nor Module#constants neither Module#const\_get work with constants defined in enclosing modules: module M C = 1 module N C # -\> 1 end end M::N.constants # -\> \[\] M::N.const\_get(“C”) # -\> Nam…

---

## [Multilingual Site](https://www.ruby-forum.com/t/multilingual-site/115104)

<div class="topic-metadata">

**Author:** [@jonbaty](https://www.ruby-forum.com/u/jonbaty)\
**Replies:** 4\
**Last updated:** [September 20, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/multilingual-site/115104 "2007-09-20T23:54:58Z")

</div>

I am starting a new project and I am somewhat new to Rails. One of the requirements for the new site is it going to have to handle multiple languages. Currently around 14 languages. I will be creating the English vers…

---

## [Edge Rails documentation?](https://www.ruby-forum.com/t/edge-rails-documentation/114856)

<div class="topic-metadata">

**Author:** [@dparkmit](https://www.ruby-forum.com/u/dparkmit)\
**Replies:** 4\
**Last updated:** [September 18, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/edge-rails-documentation/114856 "2007-09-18T20:42:37Z")

</div>

Hi All, I just started using Edge Rails. Where can I find the documentation for it? I know that there are some new features and changed features. Would love to learn more. Thanks!

---

## [Protected methods: not clear to me and highly confusing](https://www.ruby-forum.com/t/protected-methods-not-clear-to-me-and-highly-confusing/111376)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 4\
**Last updated:** [August 6, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/protected-methods-not-clear-to-me-and-highly-confusing/111376 "2007-08-06T19:44:58Z")

</div>

class Person def initialize(name,age) @name,@age = name,age end def \<=\>(other) age \<=\> other.age end attr\_reader :name,:age protected :age end p1 = Person.new(“Fred”,21) puts p1.age That causes an error: …

---

## [Stamping my own timestamp](https://www.ruby-forum.com/t/stamping-my-own-timestamp/109530)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 4\
**Last updated:** [July 16, 2007, 4:05pm UTC](https://www.ruby-forum.com/t/stamping-my-own-timestamp/109530 "2007-07-16T16:05:20Z")

</div>

Is there a way to “touch” a file with a time stamp of my own choosing, in other words, not the “now” time? I’ve got a bunch of files that have been inadvertently “touched” time-wise, and I need them to have truer time…

---

## [Javascript\_inlcude\_tag :default error](https://www.ruby-forum.com/t/javascript-inlcude-tag-default-error/88922)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 4\
**Last updated:** [March 15, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/javascript-inlcude-tag-default-error/88922 "2007-03-15T17:00:49Z")

</div>

I’m running rails 1.2.2 with ruby 1.8.5. I have a layout with: \<%= javascript\_include\_tag :default %\> which gives this error: can’t dup Symbol However, this works: \<%= javascript\_include\_tag ‘prototype’ %\> Any ide…

---

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

<div class="topic-metadata">

**Author:** [@jbell38](https://www.ruby-forum.com/u/jbell38)\
**Replies:** 4\
**Last updated:** [January 24, 2007, 6:26am UTC](https://www.ruby-forum.com/t/newbie-questions/82889 "2007-01-24T06:26:30Z")

</div>

I am trying to work through the Wrox Beginning Ruby on Rails and have a few specific questions about the examples in the book. My questions for this forum are: Is that a good book to start with? and Where is the bes…

---

## [RFC2822::EmailAddress](https://www.ruby-forum.com/t/rfc2822-emailaddress/82096)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 4\
**Last updated:** [January 17, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/rfc2822-emailaddress/82096 "2007-01-17T16:38:08Z")

</div>

I am checking email addresses using RFC2822::EmailAddress address =~ RFC2822::EmailAddress seems to work fine, but I wonder why an email address like : me@somewhere is accepeted… there is no domain is it right ? tf…

---

## [Parent::Children controller](https://www.ruby-forum.com/t/parent-children-controller/80859)

<div class="topic-metadata">

**Author:** [@Klaus\_Paiva](https://www.ruby-forum.com/u/Klaus_Paiva)\
**Replies:** 4\
**Last updated:** [January 3, 2007, 1:04pm UTC](https://www.ruby-forum.com/t/parent-children-controller/80859 "2007-01-03T13:04:07Z")

</div>

Hello! I’m creating a simple blog to test RoR. I’ve created an area to manage my blog posts by using the “generate controller Admin::Posts”. After creating my actions, I can acess them by using: http://localhost:3000…

---

## [InstantRails problem](https://www.ruby-forum.com/t/instantrails-problem/76026)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 4\
**Last updated:** [November 15, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/instantrails-problem/76026 "2006-11-15T16:56:35Z")

</div>

I am using InstantRails, and i have the webrick server running on port 3000. when i run the rails app, i cannot run another instance of it. So only 1 person can use the app at a time. how do i allow multiple instance…

---

## [\[\]= with moredimensional Arrays](https://www.ruby-forum.com/t/with-moredimensional-arrays/73194)

<div class="topic-metadata">

**Author:** [@naPOLeon](https://www.ruby-forum.com/u/naPOLeon)\
**Replies:** 4\
**Last updated:** [October 22, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/with-moredimensional-arrays/73194 "2006-10-22T21:22:57Z")

</div>

Hi all, I want to code the “game of life” in ruby. I use a moredimensional array as the field and another one to provide an easy way to input the pattern of the start-population. (See the code below) So my question i…

---

## [Basic Active Record find question](https://www.ruby-forum.com/t/basic-active-record-find-question/67950)

<div class="topic-metadata">

**Author:** [@Cocoa\_G](https://www.ruby-forum.com/u/Cocoa_G)\
**Replies:** 4\
**Last updated:** [September 8, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/basic-active-record-find-question/67950 "2006-09-08T23:09:08Z")

</div>

Given the following simple model: A page has many sections A section has many entries Each entry has a time\_stamp I can easily find all the entries of a section sorted by time\_stamp: section.entries.find (:all, :ord…

---

## [A newbie question about case and ===](https://www.ruby-forum.com/t/a-newbie-question-about-case-and/66763)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 4\
**Last updated:** [August 29, 2006, 6:29am UTC](https://www.ruby-forum.com/t/a-newbie-question-about-case-and/66763 "2006-08-29T06:29:11Z")

</div>

Hey Guys, Let me apologize upfront if this is not the appropriate place to ask newbie questions. I can repost, if someone can point me to the correct location. Assuming no is offended, my question is: I read that t…

---

## [Ruby-lang.org down?](https://www.ruby-forum.com/t/ruby-lang-org-down/66438)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 4\
**Last updated:** [August 26, 2006, 1:06pm UTC](https://www.ruby-forum.com/t/ruby-lang-org-down/66438 "2006-08-26T13:06:21Z")

</div>

It’s because of digg effect? Sincerely, Minkoo S.

---

## [Deploying only what you need with Capistrano?](https://www.ruby-forum.com/t/deploying-only-what-you-need-with-capistrano/65194)

<div class="topic-metadata">

**Author:** [@Charles\_O\_Nutter](https://www.ruby-forum.com/u/Charles_O_Nutter)\
**Replies:** 4\
**Last updated:** [August 16, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/deploying-only-what-you-need-with-capistrano/65194 "2006-08-16T22:30:59Z")

</div>

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

---

## [Plugins and svn](https://www.ruby-forum.com/t/plugins-and-svn/65123)

<div class="topic-metadata">

**Author:** [@papipo](https://www.ruby-forum.com/u/papipo)\
**Replies:** 4\
**Last updated:** [August 16, 2006, 1:05pm UTC](https://www.ruby-forum.com/t/plugins-and-svn/65123 "2006-08-16T13:05:00Z")

</div>

Hi railers, What do you do when you must use a plugin in a rails app that is under subversion? I think that an approach is simply install a version of the plugin, and once all the test pass, commit the plugin itself…

---

## [SOAP and WSDL?](https://www.ruby-forum.com/t/soap-and-wsdl/97322)

<div class="topic-metadata">

**Author:** [@fishman2001](https://www.ruby-forum.com/u/fishman2001)\
**Replies:** 4\
**Last updated:** [July 13, 2006, 12:58pm UTC](https://www.ruby-forum.com/t/soap-and-wsdl/97322 "2006-07-13T12:58:27Z")

</div>

Hi, is there a RUBY library which will automatically generate a WSDL file for a SOAP service? Thanks. Dan.

---

## [Java to Ruby](https://www.ruby-forum.com/t/java-to-ruby/96736)

<div class="topic-metadata">

**Author:** [@indianguru](https://www.ruby-forum.com/u/indianguru)\
**Replies:** 4\
**Last updated:** [July 1, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/java-to-ruby/96736 "2006-07-01T15:22:00Z")

</div>

Is there any site that lists out the similarities and differences between Java and Ruby? Thanks,

---

## [Redcloth poblems](https://www.ruby-forum.com/t/redcloth-poblems/58759)

<div class="topic-metadata">

**Author:** [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Replies:** 4\
**Last updated:** [May 19, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/redcloth-poblems/58759 "2006-05-19T22:16:13Z")

</div>

Hi, I’m having some problems with redcloth(3.0.4 gem) and textilize. I have a string: "h2. hello what’s up?" which is being textilized as: hello what’s up? so no paragraph and h2 wrapped all the way. the input is…

---

## [Rails internals?](https://www.ruby-forum.com/t/rails-internals/77479)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 4\
**Last updated:** [March 29, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/rails-internals/77479 "2006-03-29T22:59:11Z")

</div>

Is there a list for discussing Rails internals or is that kind of one of those jealously guarded secret things? Also, I seem to be being a bit of a prat today, but if you read this closely: Bit of a grammatical err…

---

## [Changing link\_to link location slightly](https://www.ruby-forum.com/t/changing-link-to-link-location-slightly/188357)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 5\
**Last updated:** [May 11, 2010, 8:24am UTC](https://www.ruby-forum.com/t/changing-link-to-link-location-slightly/188357 "2010-05-11T08:24:00Z")

</div>

Hi, Basically I’m just wondering how I can change my link\_to’s location slightly. At the moment I have a system with categories and tutorials, and the categories have\_many tutorials. The link itself is like this: \<%…

---

## [Symfony like "forward404"](https://www.ruby-forum.com/t/symfony-like-forward404/141406)

<div class="topic-metadata">

**Author:** [@christoph](https://www.ruby-forum.com/u/christoph)\
**Replies:** 5\
**Last updated:** [June 26, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/symfony-like-forward404/141406 "2008-06-26T13:47:18Z")

</div>

Hi community, as I’m a previous PHP and especially symfony programmer, I often try to find features of symfony in rails. Now I’m looking for a method which forwards to a 404 error page (but with stack trace and so on …

---

## [My app is still in development... should I upgrade it to 2.1?](https://www.ruby-forum.com/t/my-app-is-still-in-development-should-i-upgrade-it-to-2-1/139878)

<div class="topic-metadata">

**Author:** [@wemagor](https://www.ruby-forum.com/u/wemagor)\
**Replies:** 5\
**Last updated:** [June 16, 2008, 3:24am UTC](https://www.ruby-forum.com/t/my-app-is-still-in-development-should-i-upgrade-it-to-2-1/139878 "2008-06-16T03:24:15Z")

</div>

Well, this is probably a pretty straightforward question. I started developing an app a few weeks ago with Rails 2.0.2, since 2.1 was still in RC status. The app is still in development, and probably about a quarter…

---

## [Any population geneticists out there? interested in a Ruby SIG?](https://www.ruby-forum.com/t/any-population-geneticists-out-there-interested-in-a-ruby-sig/137605)

<div class="topic-metadata">

**Author:** [@philippeqc](https://www.ruby-forum.com/u/philippeqc)\
**Replies:** 5\
**Last updated:** [May 15, 2008, 10:20am UTC](https://www.ruby-forum.com/t/any-population-geneticists-out-there-interested-in-a-ruby-sig/137605 "2008-05-15T10:20:31Z")

</div>

People, I have previously done all my simulation work in C/C++ (as a C++ exercise really) but it would be nice to do further work in Ruby (although I am concerned about performance for big simulations - might need a …

---

## [Help Adding "class method" to model](https://www.ruby-forum.com/t/help-adding-class-method-to-model/134421)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 5\
**Last updated:** [April 10, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/help-adding-class-method-to-model/134421 "2008-04-10T17:53:11Z")

</div>

I can’t help but think this should be really easy, but I am pulling my hair out. I have a model “Task” class Task \< ActiveRecord::Base acts\_as\_nested\_set def rootsForUser(user) … end end In the controller, I hav…

---

## [RSS feed help](https://www.ruby-forum.com/t/rss-feed-help/132504)

<div class="topic-metadata">

**Author:** [@megax](https://www.ruby-forum.com/u/megax)\
**Replies:** 5\
**Last updated:** [March 21, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/rss-feed-help/132504 "2008-03-21T17:45:37Z")

</div>

I have created a xml file that I want to change into and rss feed and then parse it so it looks anyother rss feed. The file takes data from my database but I am at a loss on how to get this to an rss feed, can anyone …

---

## [Lost in "=", forest searching for methods of abstraction (bad habits die hard)](https://www.ruby-forum.com/t/lost-in-forest-searching-for-methods-of-abstraction-bad-habits-die-hard/128695)

<div class="topic-metadata">

**Author:** [@prhlava](https://www.ruby-forum.com/u/prhlava)\
**Replies:** 5\
**Last updated:** [February 14, 2008, 2:50am UTC](https://www.ruby-forum.com/t/lost-in-forest-searching-for-methods-of-abstraction-bad-habits-die-hard/128695 "2008-02-14T02:50:46Z")

</div>

Hello, I have done few years of programming in Clipper and few more in MS Access (experience not worth repeating). Since then I have being using ruby (sporadically and not for big projects), but with a bad style (I r…

---

## [Big announcement?](https://www.ruby-forum.com/t/big-announcement/69169)

<div class="topic-metadata">

**Author:** [@mly](https://www.ruby-forum.com/u/mly)\
**Replies:** 5\
**Last updated:** [September 20, 2006, 8:05am UTC](https://www.ruby-forum.com/t/big-announcement/69169 "2006-09-20T08:05:55Z")

</div>

Since tomorrow (today in some parts of the world) is September 19th, it seems an appropriate time for the release of YARV. After all, it is International Talk Like A Pirate Day… Just a bit of silliness that I hope y’…

---

## [(again) Rescue clauses on do/end blocks?](https://www.ruby-forum.com/t/again-rescue-clauses-on-do-end-blocks/66432)

<div class="topic-metadata">

**Author:** [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Replies:** 5\
**Last updated:** [September 4, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/again-rescue-clauses-on-do-end-blocks/66432 "2006-09-04T14:46:33Z")

</div>

Sorry to beat a dead horse, but I still have a question on the optional ‘begin’ sentiment when rescuing exceptions. It seems like the standing issue was with the use of it in brackets. Especially when deciding which…

---

## [Using @request.user\_agent to determine if someone is using I](https://www.ruby-forum.com/t/using-request-user-agent-to-determine-if-someone-is-using-i/66299)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [August 26, 2006, 12:16pm UTC](https://www.ruby-forum.com/t/using-request-user-agent-to-determine-if-someone-is-using-i/66299 "2006-08-26T12:16:59Z")

</div>

Hello: I’d like to use @request.user\_agent to determine if someone is using IE. So I thought the line if @request.user\_agent=“Microsoft Internet Explorer” would be a bit of programming genius. Sadly, it does not wor…

---

## [Remove from an array](https://www.ruby-forum.com/t/remove-from-an-array/65663)

<div class="topic-metadata">

**Author:** [@bincedecrabe](https://www.ruby-forum.com/u/bincedecrabe)\
**Replies:** 5\
**Last updated:** [August 20, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/remove-from-an-array/65663 "2006-08-20T14:42:42Z")

</div>

Hello, I have an array, let’s name it items\[\] I want to remove an object in a elegant way items.remove(3) does not work How should I do ? Thanks

---

## [Unix Shell](https://www.ruby-forum.com/t/unix-shell/75719)

<div class="topic-metadata">

**Author:** [@gjohnson71](https://www.ruby-forum.com/u/gjohnson71)\
**Replies:** 5\
**Last updated:** [March 3, 2006, 9:24am UTC](https://www.ruby-forum.com/t/unix-shell/75719 "2006-03-03T09:24:23Z")

</div>

I’m new to RUBY, but am familar with other scripting languages, PHP, Perl, Wscript, etc. I’d like to be able to run items from the shell such as ls -l \> dirlisting.txt. Just an example. Can I do this? I would have…

---

## [POST/PATCH html, css & js as JSON values in rails?](https://www.ruby-forum.com/t/post-patch-html-css-js-as-json-values-in-rails/243897)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 23, 2016, 6:02pm UTC](https://www.ruby-forum.com/t/post-patch-html-css-js-as-json-values-in-rails/243897 "2016-01-23T18:02:29Z")

</div>

I’m gonna summarise the question here, but the code and detailed situation is best described at StackOverFlow: http://stackoverflow.com/questions/34960077/post-patch-html-css-js-as-json-values-in-rails I’m POSTing/PA…

---

## [How to Isolate Formtastic helpers/config to Rails engine?](https://www.ruby-forum.com/t/how-to-isolate-formtastic-helpers-config-to-rails-engine/242532)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 1, 2015, 5:43pm UTC](https://www.ruby-forum.com/t/how-to-isolate-formtastic-helpers-config-to-rails-engine/242532 "2015-07-01T17:43:24Z")

</div>

Hello… I would like to use Formtastic and set Formtastic configs inside a Rails Engine, without having those changes to form helpers/config ‘leak’ into my main application. Specifically I am trying to isolate an imp…

---

## [Error\_page at http context](https://www.ruby-forum.com/t/error-page-at-http-context/242302)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 16, 2015, 10:48pm UTC](https://www.ruby-forum.com/t/error-page-at-http-context/242302 "2015-06-16T22:48:21Z")

</div>

I can’t get error\_page override default error pages when using it in HTTP context (rather than server {} / location {}). Can someone share a real-world working example? Posted at Nginx Forum:

---

## [No route matches "/javascripts/eop-rails-external-vendor.js](https://www.ruby-forum.com/t/no-route-matches-javascripts-eop-rails-external-vendor-js/241941)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 14, 2015, 3:42pm UTC](https://www.ruby-forum.com/t/no-route-matches-javascripts-eop-rails-external-vendor-js/241941 "2015-05-14T15:42:23Z")

</div>

Weird bug in my application when running in production. I precompile my assets, I keep getting No route matches “/javascripts/eop-rails-external-vendor.js” an asset which no longer exists in the application. The appl…

---

## [Message Strobe Block Stopping Unexpectedly](https://www.ruby-forum.com/t/message-strobe-block-stopping-unexpectedly/241609)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 19, 2015, 11:06am UTC](https://www.ruby-forum.com/t/message-strobe-block-stopping-unexpectedly/241609 "2015-04-19T11:06:17Z")

</div>

I’m having a problem with the Message Strobe block. I have a simple flowgraph, which can be found here: \<?xml version='1.0' encoding='ASCII'?\>\<?grc format='1' created='3.7.6'?\>\<flo - Pastebin.com There are two indepen…

---

## [How to $POST variables to php-fpm with nginx](https://www.ruby-forum.com/t/how-to-post-variables-to-php-fpm-with-nginx/234289)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 23, 2015, 5:03am UTC](https://www.ruby-forum.com/t/how-to-post-variables-to-php-fpm-with-nginx/234289 "2015-02-23T05:03:20Z")

</div>

Hi all, In one of my sites, sks.disunitedstates.com, I have a single index page–index.html–which has a number of forms, one of which calls a php script named server-lookup.php. It means to pass a $POST variable to th…

---

## [Rate-limiting across connections](https://www.ruby-forum.com/t/rate-limiting-across-connections/233064)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 14, 2014, 10:44pm UTC](https://www.ruby-forum.com/t/rate-limiting-across-connections/233064 "2014-11-14T22:44:29Z")

</div>

Hello, The limit\_rate http://nginx.org/en/docs/http/ngx\_http\_core\_module.html#limit\_rate directive documentation clearly states that it is applied on a per-request basis. How would one rate-limit a client over N co…

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

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