# Top

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

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

---

## [Beginners Guide to analyze USRP GSM data in MatLab](https://www.ruby-forum.com/t/beginners-guide-to-analyze-usrp-gsm-data-in-matlab/87416)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 12:33pm UTC](https://www.ruby-forum.com/t/beginners-guide-to-analyze-usrp-gsm-data-in-matlab/87416 "2007-03-02T12:33:13Z")

</div>

Hi, 3 weeks ago The GSM Scanner Project created a challenge to find as much GSM data in 3 USRP data dumps as possible. The first price was a USRP + daugtherboard. Tore won the challenge. His results are now online: h…

---

## [scRUBYt! 0.2.3 - Hpricot and Mechanize on steroids](https://www.ruby-forum.com/t/scrubyt-0-2-3-hpricot-and-mechanize-on-steroids/86308)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 3\
**Last updated:** [February 21, 2007, 11:19am UTC](https://www.ruby-forum.com/t/scrubyt-0-2-3-hpricot-and-mechanize-on-steroids/86308 "2007-02-21T11:19:17Z")

</div>

Hello, I am pleased to announce that the new release of scRUBYt!, 0.2.3 is available for download. scRUBYt! is a very easy to learn and use, yet powerful Web scraping framework based on Hpricot and mechanize. It’s pu…

---

## [HTTP POST redirect](https://www.ruby-forum.com/t/http-post-redirect/85326)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [February 12, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/http-post-redirect/85326 "2007-02-12T22:04:13Z")

</div>

Is there a way to create an HTTP POST redirect? So when the user is redirected, the browser visits that URL but POSTs to it instead of GETting it. Pat

---

## [NameError que no comprendo](https://www.ruby-forum.com/t/nameerror-que-no-comprendo/78357)

<div class="topic-metadata">

**Author:** [@xarc](https://www.ruby-forum.com/u/xarc)\
**Replies:** 3\
**Last updated:** [December 5, 2006, 9:59am UTC](https://www.ruby-forum.com/t/nameerror-que-no-comprendo/78357 "2006-12-05T09:59:01Z")

</div>

Hola a todos. Tengo un problema… Tengo 2 clases, clan y mafia. una mafia tiene un clan (clan\_id) y un clan varias mafias… class Clan \< ActiveRecord::Base has\_many :mafia end class Mafia \< ActiveRecord::Base belong…

---

## [\[OT\] sync of static resources in shared-nothing architecture](https://www.ruby-forum.com/t/ot-sync-of-static-resources-in-shared-nothing-architecture/76168)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 3\
**Last updated:** [November 16, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/ot-sync-of-static-resources-in-shared-nothing-architecture/76168 "2006-11-16T16:02:45Z")

</div>

If we have the setup 1 balances N web-servers 1 database server, and users my upload resources like an image, how do you sync the public directories? – fxn

---

## [Ruby appscript 0.1.1 released](https://www.ruby-forum.com/t/ruby-appscript-0-1-1-released/71863)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 10:38am UTC](https://www.ruby-forum.com/t/ruby-appscript-0-1-1-released/71863 "2006-10-18T10:38:53Z")

</div>

Announcing the first public release of Ruby appscript, a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications using ordinary Ruby scripts. http://rb-appscript.rubyfo…

---

## [Array issues](https://www.ruby-forum.com/t/array-issues/72254)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 3\
**Last updated:** [October 16, 2006, 7:57am UTC](https://www.ruby-forum.com/t/array-issues/72254 "2006-10-16T07:57:08Z")

</div>

Hey all, When I do: @posts = Post.find(:all)\[0,5\] it gives me the first 5 posts But when I do: @posts = Post.find(:all)\[10,20\] it gives me something like 20 posts or more, shouldn’t this give me only 10 post from…

---

## [How to use iterator for access to multiple elements?](https://www.ruby-forum.com/t/how-to-use-iterator-for-access-to-multiple-elements/69898)

<div class="topic-metadata">

**Author:** [@sven](https://www.ruby-forum.com/u/sven)\
**Replies:** 3\
**Last updated:** [September 26, 2006, 6:45am UTC](https://www.ruby-forum.com/t/how-to-use-iterator-for-access-to-multiple-elements/69898 "2006-09-26T06:45:37Z")

</div>

Hi, I want to write a function that calculate the time difference between two following elements in an array. But then I need access to both elements in this array. When I use an iterator I only get the actual elemen…

---

## [Website Link Query](https://www.ruby-forum.com/t/website-link-query/69618)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [September 25, 2006, 10:07am UTC](https://www.ruby-forum.com/t/website-link-query/69618 "2006-09-25T10:07:38Z")

</div>

Hi, Say in mywebsite i have 20 pages which all use the same method to get some data from a model. So for example i have the follwoing pages(aboutus,news, resources), inside my site i would have the following to pro…

---

## [Architectural question: one model, different properties](https://www.ruby-forum.com/t/architectural-question-one-model-different-properties/69764)

<div class="topic-metadata">

**Author:** [@Elektroholunder](https://www.ruby-forum.com/u/Elektroholunder)\
**Replies:** 3\
**Last updated:** [September 24, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/architectural-question-one-model-different-properties/69764 "2006-09-24T18:32:06Z")

</div>

Hi everybody, I’m currently trying to implement some kind of calendaring system which manages a multitude of different kinds of events, and I am unsure about how to represent them properly as models. All these types …

---

## [Reading font metrics](https://www.ruby-forum.com/t/reading-font-metrics/67134)

<div class="topic-metadata">

**Author:** [@RaySSbiesS\_Smundo](https://www.ruby-forum.com/u/RaySSbiesS_Smundo)\
**Replies:** 3\
**Last updated:** [September 6, 2006, 9:34am UTC](https://www.ruby-forum.com/t/reading-font-metrics/67134 "2006-09-06T09:34:41Z")

</div>

Hi, I’m looking for a way to read Truetype & PS Type 1 font metrics so that I can generate a list of installed fonts by name in a Ruby script. I have been searching the Internet for some tips on how-to with no luck so…

---

## [Writing XML Documents](https://www.ruby-forum.com/t/writing-xml-documents/67239)

<div class="topic-metadata">

**Author:** [@Amri\_H](https://www.ruby-forum.com/u/Amri_H)\
**Replies:** 3\
**Last updated:** [September 1, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/writing-xml-documents/67239 "2006-09-01T20:23:58Z")

</div>

Dear Ruby on Rails Experts, I’m having difficulties writing XML document. So far i’ve writen it using rxml. Here is my rxml file : xml.instruct! :xml, :version=\>"1.0" xml.Order( "xmlns" =\> “urn:oasis:names:speci…

---

## [Ruby In Steel 0.75 now available for download](https://www.ruby-forum.com/t/ruby-in-steel-0-75-now-available-for-download/64836)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/ruby-in-steel-0-75-now-available-for-download/64836 "2006-08-15T14:19:50Z")

</div>

{{Version 0.75 of Ruby In Steel}} is now available for download. This release includes significantly enhanced colour coding and collapsing for both Ruby and Rails (RHTML) files and provides support for debugging suppo…

---

## [PDF::Writer Table of Contents problem](https://www.ruby-forum.com/t/pdf-writer-table-of-contents-problem/101227)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/pdf-writer-table-of-contents-problem/101227 "2006-08-03T18:22:29Z")

</div>

Hello, I am having some problems with the PDF::Writer gem. I cannot get the table of contents to display any items. Has anyone had this problem or used this library? I am unable to get feedback using their rubyforge …

---

## [Splitting a story with double-spaced para's](https://www.ruby-forum.com/t/splitting-a-story-with-double-spaced-paras/97131)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [July 5, 2006, 8:07am UTC](https://www.ruby-forum.com/t/splitting-a-story-with-double-spaced-paras/97131 "2006-07-05T08:07:50Z")

</div>

Quick question - if i want to separate a long string of text, separated by single carriage returns, into an array of paragraphs, I can use the following code: paragraphs = article.content.split("\\n") The “\\n” means a…

---

## [Concatenate hash](https://www.ruby-forum.com/t/concatenate-hash/96060)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 25, 2006, 8:53pm UTC](https://www.ruby-forum.com/t/concatenate-hash/96060 "2006-06-25T20:53:11Z")

</div>

Hello, Is there a built-in method to concatenate 2 hashes? Couldn’t find anything on this topic. Thanks Cliff.

---

## [ActiveRecord, using sql functions for some attributes](https://www.ruby-forum.com/t/activerecord-using-sql-functions-for-some-attributes/63582)

<div class="topic-metadata">

**Author:** [@zven](https://www.ruby-forum.com/u/zven)\
**Replies:** 3\
**Last updated:** [June 16, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/activerecord-using-sql-functions-for-some-attributes/63582 "2006-06-16T20:32:21Z")

</div>

Hi. I need to use functions INET\_ATON, INET\_NTOA for IP address retrieving. Is it possible to make this transparently (without custom SQL for saving, updating and retrieving)?

---

## [Delete image through plugin file\_column?](https://www.ruby-forum.com/t/delete-image-through-plugin-file-column/61467)

<div class="topic-metadata">

**Author:** [@ilyas](https://www.ruby-forum.com/u/ilyas)\
**Replies:** 3\
**Last updated:** [May 24, 2006, 12:06pm UTC](https://www.ruby-forum.com/t/delete-image-through-plugin-file-column/61467 "2006-05-24T12:06:04Z")

</div>

how can i delete image through plugin file\_column?

---

## [Modelling data to specify user access](https://www.ruby-forum.com/t/modelling-data-to-specify-user-access/60199)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 3\
**Last updated:** [May 11, 2006, 3:00am UTC](https://www.ruby-forum.com/t/modelling-data-to-specify-user-access/60199 "2006-05-11T03:00:29Z")

</div>

Hello, this is my second Rails app, and the first one I did had simple data mapping. This time I am building a site for a photographer, and they want to upload photos, and create galleries that only certain clients c…

---

## [Please explain me this ruby code](https://www.ruby-forum.com/t/please-explain-me-this-ruby-code/59595)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 3\
**Last updated:** [May 4, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/please-explain-me-this-ruby-code/59595 "2006-05-04T15:39:47Z")

</div>

Hi all, This is small code from typo 2.6.0’s “articles\_helper.rb” file def author\_link(article) if config\[‘link\_to\_author’\] and article.user and article.user.email.to\_s.size\>0 “\<a href=“mailto:#{article.user.email}”\>…

---

## [Conceptual q about rails](https://www.ruby-forum.com/t/conceptual-q-about-rails/94112)

<div class="topic-metadata">

**Author:** [@zven](https://www.ruby-forum.com/u/zven)\
**Replies:** 3\
**Last updated:** [April 21, 2006, 3:26am UTC](https://www.ruby-forum.com/t/conceptual-q-about-rails/94112 "2006-04-21T03:26:23Z")

</div>

Classes like activerecord, etc contains strange elements like ‘belongs\_to :something’, ‘has\_many :smth’ etc… what is it? I can’t find them in ruby lang documentation… it’s similar to ‘attr\_accessor’ and other costruct…

---

## [Flex or OpenLaszlo](https://www.ruby-forum.com/t/flex-or-openlaszlo/58224)

<div class="topic-metadata">

**Author:** [@Alex\_MacCaw](https://www.ruby-forum.com/u/Alex_MacCaw)\
**Replies:** 3\
**Last updated:** [April 20, 2006, 1:43am UTC](https://www.ruby-forum.com/t/flex-or-openlaszlo/58224 "2006-04-20T01:43:53Z")

</div>

I’m just wondering if anybody has got any experience in integrating Flex or OpenLaszlo with Rails and which people prefer. I’ve seen some of the tutorials but am pondering which one, if any, I should turn to: http://…

---

## [Howto set a global parameter](https://www.ruby-forum.com/t/howto-set-a-global-parameter/57142)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 3\
**Last updated:** [April 11, 2006, 3:20am UTC](https://www.ruby-forum.com/t/howto-set-a-global-parameter/57142 "2006-04-11T03:20:38Z")

</div>

Hi, In my login\_controller I get the usename of the person logging in. @username = @user.name puts " DEBUG: #{@username} just logged in\\n" # This works But @username seems empty when accessed from numbers\_controll…

---

## [Database passwords with numbers](https://www.ruby-forum.com/t/database-passwords-with-numbers/90109)

<div class="topic-metadata">

**Author:** [@Scott\_FSWalter](https://www.ruby-forum.com/u/Scott_FSWalter)\
**Replies:** 3\
**Last updated:** [April 5, 2006, 8:40pm UTC](https://www.ruby-forum.com/t/database-passwords-with-numbers/90109 "2006-04-05T20:40:50Z")

</div>

I have database password in my database.yml as “passw0rd” however when I go to http://localhost:3000/rails/info/properties I get this error: private method \`gsub’ called for 1:Fixnum But if I just use “password” for m…

---

## [RoR user group in NYC?](https://www.ruby-forum.com/t/ror-user-group-in-nyc/93655)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 3\
**Last updated:** [April 5, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/ror-user-group-in-nyc/93655 "2006-04-05T19:47:33Z")

</div>

Hi all, On the Rails wiki there are a few user groups listed, including one in Long Island, but none in New York City proper. Are there any user groups in NYC not listed to which people belong (including relevant non…

---

## [Pilot to Bombardier](https://www.ruby-forum.com/t/pilot-to-bombardier/86895)

<div class="topic-metadata">

**Author:** [@gravyface](https://www.ruby-forum.com/u/gravyface)\
**Replies:** 3\
**Last updated:** [March 25, 2006, 12:13am UTC](https://www.ruby-forum.com/t/pilot-to-bombardier/86895 "2006-03-25T00:13:52Z")

</div>

do you read me? Testing, one, two, three… not seeing my post – just want to make sure its working.

---

## [JS validation on a form/submit tag? Like :condition=\>](https://www.ruby-forum.com/t/js-validation-on-a-form-submit-tag-like-condition/55870)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 3\
**Last updated:** [March 24, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/js-validation-on-a-form-submit-tag-like-condition/55870 "2006-03-24T15:31:01Z")

</div>

Hallo – is there a way anyone know of that I can add a :confirm clause to a form submit? Something like: \<%= submit\_tag ‘commit’, :confirm=\>“are you certain?” %\> Does anyone know how to achieve this? Cheers, doug.

---

## [Modular Ruby](https://www.ruby-forum.com/t/modular-ruby/78756)

<div class="topic-metadata">

**Author:** [@Bernhard\_SelvenS\_St](https://www.ruby-forum.com/u/Bernhard_SelvenS_St)\
**Replies:** 3\
**Last updated:** [March 9, 2006, 12:05am UTC](https://www.ruby-forum.com/t/modular-ruby/78756 "2006-03-09T00:05:57Z")

</div>

Hi. Im looking for a framework or some other means of un-/loading ruby code into a live interpreter. Im thinking along the lines of TCLs interp command here, which instanciates a new slave interpreter completely unre…

---

## [\[ANN\] rubyforge-0.1.1](https://www.ruby-forum.com/t/ann-rubyforge-0-1-1/53745)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/ann-rubyforge-0-1-1/53745 "2006-02-19T23:36:12Z")

</div>

SIMPLIFY SHARING YOUR RUBYGEMS ON RUBYFORGE! ~\> gem install rubyforge SYNOPSIS rubyforge \[options\]\* mode \[mode\_args\]\* DESCRIPTION simplistic script which automates a limited set of rubyforge operations MODES setu…

---

## [Using shared RJS templates](https://www.ruby-forum.com/t/using-shared-rjs-templates/53512)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 3\
**Last updated:** [February 8, 2006, 7:01pm UTC](https://www.ruby-forum.com/t/using-shared-rjs-templates/53512 "2006-02-08T19:01:53Z")

</div>

I’ve got an action in my application controller that needs to call a shared RJS template. Typically it’s actually being called by subclasses of the application controller. I’ve tried this… def action …code… render…

---

## [Cookbook2 tutorial error: The error occured while evaluatin](https://www.ruby-forum.com/t/cookbook2-tutorial-error-the-error-occured-while-evaluatin/101300)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 6, 2006, 5:43am UTC](https://www.ruby-forum.com/t/cookbook2-tutorial-error-the-error-occured-while-evaluatin/101300 "2006-02-06T05:43:39Z")

</div>

I am following the Cookbook2 tutorial on the InstantRails website ( http://instantrails.rubyforge.org/tutorial/index.html ). I am almost finshed with the tutorial but have started getting the following error: NoMetho…

---

## [XML on a external website](https://www.ruby-forum.com/t/xml-on-a-external-website/99736)

<div class="topic-metadata">

**Author:** [@Daan](https://www.ruby-forum.com/u/Daan)\
**Replies:** 3\
**Last updated:** [February 1, 2006, 11:46pm UTC](https://www.ruby-forum.com/t/xml-on-a-external-website/99736 "2006-02-01T23:46:33Z")

</div>

In my rails application i want to fetch an external xml file So my website www.test.com needs an xml file from www.example.com/xml.asp?query=hallo. In my rails application i want to fetch and handle this file as an xm…

---

## [Block and method local variables](https://www.ruby-forum.com/t/block-and-method-local-variables/51596)

<div class="topic-metadata">

**Author:** [@SSSISO-8859-1SQSDan](https://www.ruby-forum.com/u/SSSISO-8859-1SQSDan)\
**Replies:** 3\
**Last updated:** [January 4, 2006, 2:09am UTC](https://www.ruby-forum.com/t/block-and-method-local-variables/51596 "2006-01-04T02:09:39Z")

</div>

hello all, consider follow code irb(main):528:0\* def abc irb(main):529:1\> ppp=111 irb(main):530:1\> puts ppp irb(main):531:1\> yield irb(main):532:1\> puts ppp irb(main):533:1\> ppp irb(main):534:1\> end =\> nil irb(…

---

## [Rails: Select and html forms](https://www.ruby-forum.com/t/rails-select-and-html-forms/50362)

<div class="topic-metadata">

**Author:** [@jersingh](https://www.ruby-forum.com/u/jersingh)\
**Replies:** 3\
**Last updated:** [December 15, 2005, 10:20pm UTC](https://www.ruby-forum.com/t/rails-select-and-html-forms/50362 "2005-12-15T22:20:52Z")

</div>

I’m close to getting this to work, but not quite there. I’m trying to implement a dropdown control, with the current choice selected. I have the following code in the view: 5 \<select id="product\_product\_type" name=…

---

## [Efficient use of layouts - how do I?](https://www.ruby-forum.com/t/efficient-use-of-layouts-how-do-i/49767)

<div class="topic-metadata">

**Author:** [@brucebalmer](https://www.ruby-forum.com/u/brucebalmer)\
**Replies:** 3\
**Last updated:** [December 8, 2005, 6:25pm UTC](https://www.ruby-forum.com/t/efficient-use-of-layouts-how-do-i/49767 "2005-12-08T18:25:32Z")

</div>

Hi: I have one application and four controllers. 3 controllers need identical code in their layouts. The fourth is a superset of the other 3. To be more specific, there is 10 lines of code buried between the & ta…

---

## [What's this called again ...?](https://www.ruby-forum.com/t/whats-this-called-again/49042)

<div class="topic-metadata">

**Author:** [@monch1962](https://www.ruby-forum.com/u/monch1962)\
**Replies:** 3\
**Last updated:** [November 29, 2005, 7:23pm UTC](https://www.ruby-forum.com/t/whats-this-called-again/49042 "2005-11-29T19:23:37Z")

</div>

Hello list, Some time back I remember discussion of a tool (I think it pre-dates engines) that let you quickly/easily deploy multiple instances of a single Rails app onto a single server. If, for example, you had mu…

---

## [String separated](https://www.ruby-forum.com/t/string-separated/209073)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [July 8, 2011, 6:37pm UTC](https://www.ruby-forum.com/t/string-separated/209073 "2011-07-08T18:37:57Z")

</div>

How to separate this string “ABC\_DEFG\_HIJK\_\_LMN:1234” to ABCDEFGHIJKLMN :1234 Thanks,

---

## [Ð’ð¾ð¿ñ€ð¾ñ ð¿ð¾ ð»ð¸ð¼ð¸ñ‚ð¸ñ€ð¾ð²ð°ð½ð¸ñž ñ ðºð¾ñ€ð¾ññ‚ð¸](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-d-d-d-d-d-n-d-n-d-d-d-d-d-nz-n-d-d-n-d-n-n-d/188688)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 19, 2010, 2:36pm UTC](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-d-d-d-d-d-n-d-n-d-d-d-d-d-nz-n-d-d-n-d-n-n-d/188688 "2010-06-19T14:36:41Z")

</div>

Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹Ñ‚Ðµ. Ð£Ð²Ð¸Ð´ÐµÐ» http://sysoev.ru/nginx/docs/http/ngx\_http\_core\_module.html#limit\_rate location /flv/ { flv; limit\_rate\_after 500k; limit\_rate 50k; } Ð¯ Ñ‚Ð°Ðº Ð¿Ð¾Ð½ÑÐ», Ñ‡Ñ‚Ð¾ ÑÑ‚Ð¾ Ð»Ð¸…

---

## [Rails 3.o](https://www.ruby-forum.com/t/rails-3-o/174852)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [September 4, 2009, 3:34am UTC](https://www.ruby-forum.com/t/rails-3-o/174852 "2009-09-04T03:34:40Z")

</div>

So… “Beginning Rails 3” is supposedly due Sept 2009 http://www.apress.com/book/view/9781430224334 “Rails 3 in Action” is due February 2010 (est.) … can we assume a beta release of Rails 3 is very close? Would like …

---

## [Rails 2 general info](https://www.ruby-forum.com/t/rails-2-general-info/137810)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 5\
**Last updated:** [May 16, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/rails-2-general-info/137810 "2008-05-16T18:36:39Z")

</div>

Hi, I’m starting a new Rails project on Rails 2. But I run in an error with authentication token on my register form. Searching this forum, I think I have found a solution. But my main consern is that I will stumble …

---

## [Migrations in plugin](https://www.ruby-forum.com/t/migrations-in-plugin/136061)

<div class="topic-metadata">

**Author:** [@MohsinHijazee](https://www.ruby-forum.com/u/MohsinHijazee)\
**Replies:** 5\
**Last updated:** [April 29, 2008, 8:14am UTC](https://www.ruby-forum.com/t/migrations-in-plugin/136061 "2008-04-29T08:14:23Z")

</div>

Hi! I have to move a complete model and its migration into a plugin. I know how can I do that for a model but what about the migration??? Regards, Mohsin

---

## [Multiple has\_many's](https://www.ruby-forum.com/t/multiple-has-manys/134720)

<div class="topic-metadata">

**Author:** [@rick\_531](https://www.ruby-forum.com/u/rick_531)\
**Replies:** 5\
**Last updated:** [April 14, 2008, 9:54pm UTC](https://www.ruby-forum.com/t/multiple-has-manys/134720 "2008-04-14T21:54:43Z")

</div>

Hello, I have the following database structure: accounts account\_jobs (account\_id, job\_id) jobs job\_submissions (job\_id, submission\_id) submissions My Account model looks like this: has\_many :account\_jobs has\_m…

---

## [Array#find!](https://www.ruby-forum.com/t/array-find/130638)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 5\
**Last updated:** [March 1, 2008, 3:22am UTC](https://www.ruby-forum.com/t/array-find/130638 "2008-03-01T03:22:04Z")

</div>

How to remove the first occurrence of something? a=\[1,2,3,4\] a.find!{ |e| a==2 } #=\> 2 But there is no #find!, how to define it? My solutions seem unduly complex. Thanks, T.

---

## [Image\_tag weirdness - dodgy return value - HELP PLEASE!](https://www.ruby-forum.com/t/image-tag-weirdness-dodgy-return-value-help-please/111454)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [August 8, 2007, 2:09am UTC](https://www.ruby-forum.com/t/image-tag-weirdness-dodgy-return-value-help-please/111454 "2007-08-08T02:09:29Z")

</div>

Can anyone help? I’ve been going round in circles for two days, tearing my hair out trying to show a thumbnail and a full sized version of pictures i have stored in my appname/data/pictures folder. I’ve tried imagema…

---

## [Need help with a regexp](https://www.ruby-forum.com/t/need-help-with-a-regexp/78736)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 5\
**Last updated:** [December 8, 2006, 6:17am UTC](https://www.ruby-forum.com/t/need-help-with-a-regexp/78736 "2006-12-08T06:17:29Z")

</div>

I’m trying to write a regular expression to replace a … block or a … block with a blank (’’). I can only get the … to work correctly. Here’s what I have: text.gsub(/^ \[^\<\]\</pre\>$|^(. ?)\</p\>\</blockquote\>$/,’’) Can s…

---

## [Class redefinition](https://www.ruby-forum.com/t/class-redefinition/65241)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 11:00am UTC](https://www.ruby-forum.com/t/class-redefinition/65241 "2006-11-07T11:00:21Z")

</div>

Hi, Suppose I want to redefine the Ruby String class in a Rails app. In which file is it the most suitable to write the redefinition? Thanks Guillaume C.

---

## [Table.find(@params\["tag"\])](https://www.ruby-forum.com/t/table-find-params-tag/68143)

<div class="topic-metadata">

**Author:** [@blacknight](https://www.ruby-forum.com/u/blacknight)\
**Replies:** 5\
**Last updated:** [September 9, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/table-find-params-tag/68143 "2006-09-09T20:50:15Z")

</div>

ok this gets all records from the table where the id = tag how do i change this for it to compare the “tag” with a other column apart from the id?? sorry for being such a noob but thats what i am

---

## [Uml](https://www.ruby-forum.com/t/uml/102261)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/uml/102261 "2006-08-15T14:19:59Z")

</div>

In Rolling with Ruby on Rails tutorial - http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html - I saw that to introduce a new element to my domain, I needed to define it in a table, generate a model element with a…

---

## [Is there a metod to dynamic creating a variable?](https://www.ruby-forum.com/t/is-there-a-metod-to-dynamic-creating-a-variable/244507)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 24, 2016, 2:03pm UTC](https://www.ruby-forum.com/t/is-there-a-metod-to-dynamic-creating-a-variable/244507 "2016-04-24T14:03:21Z")

</div>

I keep the variable name in the database and I would like to use this name (in database) to create a variable (name from database). Is it possible?

---

## [How to call: module Foo; def self.bar](https://www.ruby-forum.com/t/how-to-call-module-foo-def-self-bar/242473)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 6:54pm UTC](https://www.ruby-forum.com/t/how-to-call-module-foo-def-self-bar/242473 "2015-06-26T18:54:14Z")

</div>

Say you have: module Foo def self.bar (And more ruby code etc…; I only wanted to focus on the definition) How do you call such a definition like the above, ideally in a way that this will commonly be understood as a…

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

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