# Top

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

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

---

## [Deleting](https://www.ruby-forum.com/t/deleting/108383)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 4\
**Last updated:** [July 3, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/deleting/108383 "2007-07-03T20:50:11Z")

</div>

I have been try to make a page where a user can add something to a list and then delete something from the same list all without re-loading the page. The adding part is easy, but the deleting part is turning out to be…

---

## [Ruby with C](https://www.ruby-forum.com/t/ruby-with-c/90014)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 4\
**Last updated:** [March 25, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/ruby-with-c/90014 "2007-03-25T20:32:00Z")

</div>

I am new at programming ruby with C. I am trying to pass in a value from a test ruby program to my C class and trying to print it out. But when i print it out i am getting the wrong number printerd out. Here is what i…

---

## [Developing without migration?](https://www.ruby-forum.com/t/developing-without-migration/86491)

<div class="topic-metadata">

**Author:** [@surfman](https://www.ruby-forum.com/u/surfman)\
**Replies:** 4\
**Last updated:** [February 23, 2007, 8:24am UTC](https://www.ruby-forum.com/t/developing-without-migration/86491 "2007-02-23T08:24:43Z")

</div>

I found sometimes developing without migration could be faster than with migration, especially for a personal project and a new developer. I know migration could bring lots of good things during development. But as a …

---

## [Applying style to the URLs](https://www.ruby-forum.com/t/applying-style-to-the-urls/81828)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 4\
**Last updated:** [January 15, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/applying-style-to-the-urls/81828 "2007-01-15T18:57:07Z")

</div>

Hi you all, I have a link with two params: \<%= link\_to “John S.”, { :action =\> “filtered\_list”, :value =\> “John Smith”, :property=\> “primaryCharacter” }, :post =\> true %\> The URL appears as: /wiki/filtered\_list?val…

---

## [Apoligies but what is the status of the Agile book?](https://www.ruby-forum.com/t/apoligies-but-what-is-the-status-of-the-agile-book/80444)

<div class="topic-metadata">

**Author:** [@gman327](https://www.ruby-forum.com/u/gman327)\
**Replies:** 4\
**Last updated:** [December 26, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/apoligies-but-what-is-the-status-of-the-agile-book/80444 "2006-12-26T20:56:28Z")

</div>

Borders show it has to be ordered but Amazon says they have it but don’t show any reviews so what exactly is the true availability of the second edition?

---

## [Preventing incorrect id params in URLs](https://www.ruby-forum.com/t/preventing-incorrect-id-params-in-urls/225934)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 4\
**Last updated:** [December 15, 2006, 7:43pm UTC](https://www.ruby-forum.com/t/preventing-incorrect-id-params-in-urls/225934 "2006-12-15T19:43:46Z")

</div>

Hi, I’m trying to put together a simple forum. I have categories and topics. To create a new topic they click on /forum/new/1 where "1’ is the id of the category. When they submit the form the I have written the fo…

---

## [Newbie question: how to read the ":"](https://www.ruby-forum.com/t/newbie-question-how-to-read-the/78046)

<div class="topic-metadata">

**Author:** [@Jake\_Barnes](https://www.ruby-forum.com/u/Jake_Barnes)\
**Replies:** 4\
**Last updated:** [December 3, 2006, 8:03pm UTC](https://www.ruby-forum.com/t/newbie-question-how-to-read-the/78046 "2006-12-03T20:03:17Z")

</div>

I’m a total beginner at Ruby. I’m trying to read this code: private def find\_cart session\[:cart\] ||= Cart.new end I’m most comfortable with PHP code, so that biases how I read this. If I had to guess, I’d say this…

---

## [Upgrade on OS X](https://www.ruby-forum.com/t/upgrade-on-os-x/73920)

<div class="topic-metadata">

**Author:** [@Tim\_McIntyre](https://www.ruby-forum.com/u/Tim_McIntyre)\
**Replies:** 4\
**Last updated:** [October 29, 2006, 3:51pm UTC](https://www.ruby-forum.com/t/upgrade-on-os-x/73920 "2006-10-29T15:51:04Z")

</div>

Hey all, Wasn’t sure if this should go to the ruby or rails list but here we are… I’ve been running OS X (10.8.4) with the packaged ruby (1.8.2) and rails for some time, no problems. I decided to test out mongrel bu…

---

## [Webrick/httpsutils missing?](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748)

<div class="topic-metadata">

**Author:** [@mxbrunet](https://www.ruby-forum.com/u/mxbrunet)\
**Replies:** 4\
**Last updated:** [October 5, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748 "2006-10-05T19:15:17Z")

</div>

I’m trying to run the ‘mechanize’ gem from ubuntu and I get the following errors: No such file to load – webrick/httputils (LoadError) What have I missed? Can anyone help? –max

---

## [Rubygems user install of extensions](https://www.ruby-forum.com/t/rubygems-user-install-of-extensions/69922)

<div class="topic-metadata">

**Author:** [@Dimitri\_A](https://www.ruby-forum.com/u/Dimitri_A)\
**Replies:** 4\
**Last updated:** [October 3, 2006, 8:38am UTC](https://www.ruby-forum.com/t/rubygems-user-install-of-extensions/69922 "2006-10-03T08:38:42Z")

</div>

Hello, My problem is that I am trying to run a gems installation as a non-root user, and this doesn’t work out-of-the-box for any gems that include the building of extensions with mkmf. For each gem (example: mongrel…

---

## [DRY Scaffolds](https://www.ruby-forum.com/t/dry-scaffolds/101598)

<div class="topic-metadata">

**Author:** [@ScuzzleButt](https://www.ruby-forum.com/u/ScuzzleButt)\
**Replies:** 4\
**Last updated:** [August 7, 2006, 1:06am UTC](https://www.ruby-forum.com/t/dry-scaffolds/101598 "2006-08-07T01:06:22Z")

</div>

I’ve got 8 scaffolds, each one can be considered an ‘item’, such as a blog, photo, etc. Using login\_engine and user\_engine, I list all blogs belonging to a user by saying: @user=session\[:user\] @blogs=@user.blogs.find…

---

## [API rails](https://www.ruby-forum.com/t/api-rails/93755)

<div class="topic-metadata">

**Author:** [@Albertito](https://www.ruby-forum.com/u/Albertito)\
**Replies:** 4\
**Last updated:** [April 9, 2006, 1:07am UTC](https://www.ruby-forum.com/t/api-rails/93755 "2006-04-09T01:07:17Z")

</div>

hi! I’m a Spanish student and I’m a new reader in this list. I’d like to ask us the next question: is it possible to download Rails API? thanks! PD: I’m sorry if my english isn’t very good.

---

## [Instance variables in Javascript param](https://www.ruby-forum.com/t/instance-variables-in-javascript-param/75650)

<div class="topic-metadata">

**Author:** [@nuubie](https://www.ruby-forum.com/u/nuubie)\
**Replies:** 4\
**Last updated:** [March 2, 2006, 9:57am UTC](https://www.ruby-forum.com/t/instance-variables-in-javascript-param/75650 "2006-03-02T09:57:26Z")

</div>

How can I make this work ? @div\_id is an instance variable ? TIA

---

## [Bug in block::declare\_sample\_delay](https://www.ruby-forum.com/t/bug-in-block-declare-sample-delay/243095)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 21, 2015, 12:48am UTC](https://www.ruby-forum.com/t/bug-in-block-declare-sample-delay/243095 "2015-08-21T00:48:29Z")

</div>

Hello, I think that the declare\_sample\_delay (and/or the way it is used) is implemented incorrectly for interpolator blocks. Using GR 3.7.6. The delay should be added after scaling the offset by the interpolation ra…

---

## [Convert python script to ruby script](https://www.ruby-forum.com/t/convert-python-script-to-ruby-script/242692)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [July 16, 2015, 5:07pm UTC](https://www.ruby-forum.com/t/convert-python-script-to-ruby-script/242692 "2015-07-16T17:07:42Z")

</div>

import json,httplib,urllib connection = httplib.HTTPSConnection(‘api.parse.com’, 443) params = urllib.urlencode({“username”:“cooldude6”,“password”:“p\_n7!-e8”}) connection.connect() connection.request(‘GET’, ‘/1/logi…

---

## [What's wrong?](https://www.ruby-forum.com/t/whats-wrong/240193)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 1, 2014, 7:54pm UTC](https://www.ruby-forum.com/t/whats-wrong/240193 "2014-04-01T19:54:00Z")

</div>

Why this program doesn’t work? Only the internal cycle works (( i = 10 cn = 0 while cn \< 3 while i \< 12 puts i, cn i += 1 end cn += 1 end Thanks!

---

## [Manual vs automatic bundler deployment with capistrano](https://www.ruby-forum.com/t/manual-vs-automatic-bundler-deployment-with-capistrano/228977)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [May 15, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/manual-vs-automatic-bundler-deployment-with-capistrano/228977 "2013-05-15T15:57:20Z")

</div>

I assume this is the most up to date documentation for running bundler install when deploying a rails application with capistrano: http://gembundler.com/v1.3/deploying.html In the documentation, it offers two methods …

---

## [Confusion with Enum#with\_index](https://www.ruby-forum.com/t/confusion-with-enum-with-index/229368)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 3\
**Last updated:** [February 2, 2013, 5:14pm UTC](https://www.ruby-forum.com/t/confusion-with-enum-with-index/229368 "2013-02-02T17:14:55Z")

</div>

I was playing to understand the method “Enum#with\_index” with the below code: =================================================== irb(main):024:0\> xs = \[‘a’, ‘b’, ‘c’\] =\> \[“a”, “b”, “c”\] irb(main):025:0\> xs.to\_enum.…

---

## [Text entry from a file](https://www.ruby-forum.com/t/text-entry-from-a-file/229293)

<div class="topic-metadata">

**Author:** [@cbnewman](https://www.ruby-forum.com/u/cbnewman)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 7:08pm UTC](https://www.ruby-forum.com/t/text-entry-from-a-file/229293 "2013-01-17T19:08:29Z")

</div>

how do i make it so that the program takes some text from a file and puts it in one of the entries?

---

## [Simple optparse question on available options](https://www.ruby-forum.com/t/simple-optparse-question-on-available-options/221666)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 25, 2012, 5:38pm UTC](https://www.ruby-forum.com/t/simple-optparse-question-on-available-options/221666 "2012-07-25T17:38:12Z")

</div>

Hello, I’m using optparse for a cli script. I need an argument (-s, --sort) to accept only 3 possible options :date, :country, :ipfreq, so here is my piece of optparse code: \[…\] Use OptionParser to Parse Commands i…

---

## [Cache and mobile video playback](https://www.ruby-forum.com/t/cache-and-mobile-video-playback/220830)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 25, 2012, 12:48pm UTC](https://www.ruby-forum.com/t/cache-and-mobile-video-playback/220830 "2012-06-25T12:48:29Z")

</div>

Hello, We are using nginx as a load balancer for mp4 videos. Everything works perfectly but we started having issues with mobile video playback. Somehow the video, after it’s stored on the nginx cache, can’t be played …

---

## [Segmentation fault](https://www.ruby-forum.com/t/segmentation-fault/217040)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 22, 2012, 3:30pm UTC](https://www.ruby-forum.com/t/segmentation-fault/217040 "2012-02-22T15:30:15Z")

</div>

Hi all, I’ve been working lately to get to work the mimo files from trondeau’s branch. After some trials, I thought I’ve successfully merged the master branch into this branch so I could use the mimo files. However, …

---

## [Ruby on Rails Developer for Berlin wanted - permanent position](https://www.ruby-forum.com/t/ruby-on-rails-developer-for-berlin-wanted-permanent-position/215892)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 18, 2012, 9:25pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-for-berlin-wanted-permanent-position/215892 "2012-01-18T21:25:30Z")

</div>

Ruby on Rails developer for company in Berlin / Germany wanted. Permanent position. Visa Sponsorship. Read more… A worldwide brand and fast-growing media and entertainment company have big expansion plans for there de…

---

## [Seattle.rb 10 Year Anniversary!](https://www.ruby-forum.com/t/seattle-rb-10-year-anniversary/215233)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 29, 2011, 7:44am UTC](https://www.ruby-forum.com/t/seattle-rb-10-year-anniversary/215233 "2011-12-29T07:44:18Z")

</div>

Seattle.rb met for the first time on February 28, 2002. (IIRC) It was just 3 (4?) people on our first meeting and we’ve grown a lot since then. We’ve gone from 3 to 273 people on our mailing list. We’ve gone from meet…

---

## [Asset pipeline giving me hard time. Please help - (rails 3.1.3)](https://www.ruby-forum.com/t/asset-pipeline-giving-me-hard-time-please-help-rails-3-1-3/214291)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 27, 2011, 10:43pm UTC](https://www.ruby-forum.com/t/asset-pipeline-giving-me-hard-time-please-help-rails-3-1-3/214291 "2011-11-27T22:43:06Z")

</div>

I am using rails 3.1.3. Inside config/ application -\> config.assets.enabled = true Inside development.rb -\> config.assets.compress = false Inside production.rb -\> config.serve\_static\_assets = false; config.asset…

---

## [Error : bundle install](https://www.ruby-forum.com/t/error-bundle-install/212287)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 28, 2011, 1:42pm UTC](https://www.ruby-forum.com/t/error-bundle-install/212287 "2011-09-28T13:42:44Z")

</div>

c:proj/proj1\> bundle install Fetching source index for http://rubygems.org/ Could not find sprockets-2.0.0.beta.10 in any of the sources C:proj/proj1\> C:proj/proj1\>gem install sprockets -v=2.0.0.beta.10 ERROR: Coul…

---

## ["Modular" application design - controller / route setup](https://www.ruby-forum.com/t/modular-application-design-controller-route-setup/207651)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 1, 2011, 1:19pm UTC](https://www.ruby-forum.com/t/modular-application-design-controller-route-setup/207651 "2011-06-01T13:19:21Z")

</div>

I am fairly new to rails, and have been through a few books, and am now starting to sketch out an application, however I have run into a problem with regards to the structure of the app. I want to build an application…

---

## [JRuby and Ruby behaves differently on trapping Ctrl-C](https://www.ruby-forum.com/t/jruby-and-ruby-behaves-differently-on-trapping-ctrl-c/246536)

<div class="topic-metadata">

**Author:** [@Jens\_Carlberg](https://www.ruby-forum.com/u/Jens_Carlberg)\
**Replies:** 0\
**Last updated:** [March 31, 2011, 4:07pm UTC](https://www.ruby-forum.com/t/jruby-and-ruby-behaves-differently-on-trapping-ctrl-c/246536 "2011-03-31T16:07:25Z")

</div>

0 \*H 010 +0 \*H $ HContent-Type: multipart/mixed; boundary=“----=\_NextPart\_000\_016B\_01CBEFBD.991F64E0” X-MS-TNEF-Correlator: 000192D5ACEFCB01 This is a multi-part message in MIME format. ------=\_NextPart\_000\_016…

---

## [Request for comment on post on SEO QuickStart for Rails](https://www.ruby-forum.com/t/request-for-comment-on-post-on-seo-quickstart-for-rails/200771)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 3\
**Last updated:** [December 28, 2010, 1:48pm UTC](https://www.ruby-forum.com/t/request-for-comment-on-post-on-seo-quickstart-for-rails/200771 "2010-12-28T13:48:24Z")

</div>

Hi, http://programmers-blog.com/2010/12/21/quick-start-to-seo-for-ruby-on-rails What do you think about this guys? I looked through the whole Internet :wink: and found nothing simple that would suit my simple needs. …

---

## [How do you get realtime visitor stats in RoR?](https://www.ruby-forum.com/t/how-do-you-get-realtime-visitor-stats-in-ror/195613)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 3\
**Last updated:** [September 28, 2010, 12:41am UTC](https://www.ruby-forum.com/t/how-do-you-get-realtime-visitor-stats-in-ror/195613 "2010-09-28T00:41:42Z")

</div>

I have found some projects as http://www.railstat.com/ but seem not updated. I have used Google Analytics too, but it is not realtime and it do not give some important information as IP address.

---

## [Load error](https://www.ruby-forum.com/t/load-error/195321)

<div class="topic-metadata">

**Author:** [@irfan](https://www.ruby-forum.com/u/irfan)\
**Replies:** 3\
**Last updated:** [September 21, 2010, 6:35pm UTC](https://www.ruby-forum.com/t/load-error/195321 "2010-09-21T18:35:50Z")

</div>

Hi, Just install ruby on the rails in my windows followed by this Ruby on the Rails on Windows (wikis)http://www.google.com/url?sa=t&source=web&cd=4&ved=0CC4QFjAD&url=http%3A%2F%2Fwiki.rubyonrails.org%2Fgetting-start…

---

## [What does this mean in the Rails installation command?](https://www.ruby-forum.com/t/what-does-this-mean-in-the-rails-installation-command/191835)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 3\
**Last updated:** [July 19, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/what-does-this-mean-in-the-rails-installation-command/191835 "2010-07-19T22:18:15Z")

</div>

In the Rails guides, it shows thee following for installing Rails: gem install rails --pre What is “–pre”? Thanks.

---

## [Rails 3 Error:uninitialized constant ActiveResource::Base](https://www.ruby-forum.com/t/rails-3-error-uninitialized-constant-activeresource-base/189057)

<div class="topic-metadata">

**Author:** [@DmitryPush](https://www.ruby-forum.com/u/DmitryPush)\
**Replies:** 0\
**Last updated:** [May 23, 2010, 2:25pm UTC](https://www.ruby-forum.com/t/rails-3-error-uninitialized-constant-activeresource-base/189057 "2010-05-23T14:25:53Z")

</div>

I’v just install rails3 for try it out. I was following “getting started guide”: rm public/index.html, change routes… and then i try to open page i’v got an error. OS: ubunto 10.04 Rails info: dpush@dpush-desktop:…

---

## [Export all gems to app\_dir/vendor](https://www.ruby-forum.com/t/export-all-gems-to-app-dir-vendor/178972)

<div class="topic-metadata">

**Author:** [@penguinjr](https://www.ruby-forum.com/u/penguinjr)\
**Replies:** 3\
**Last updated:** [November 14, 2009, 5:43pm UTC](https://www.ruby-forum.com/t/export-all-gems-to-app-dir-vendor/178972 "2009-11-14T17:43:04Z")

</div>

Hi! I’m looking form the method to export all gems of the development to app\_dir/vendor directory for setting up the production server. I saw the cmd rake -T | grep freeze And i used rake rails:freeze:gems but, it …

---

## [Pass session value in database field](https://www.ruby-forum.com/t/pass-session-value-in-database-field/175647)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 3\
**Last updated:** [September 18, 2009, 6:22am UTC](https://www.ruby-forum.com/t/pass-session-value-in-database-field/175647 "2009-09-18T06:22:58Z")

</div>

Hello - Noobie question I’m sure… I’m trying to pass a session value to a database field ‘user’ when the user creates a new blog entry. The session value is created when the user logs on to the site. I have this in…

---

## [Update record problem](https://www.ruby-forum.com/t/update-record-problem/173551)

<div class="topic-metadata">

**Author:** [@wap](https://www.ruby-forum.com/u/wap)\
**Replies:** 3\
**Last updated:** [August 11, 2009, 11:41am UTC](https://www.ruby-forum.com/t/update-record-problem/173551 "2009-08-11T11:41:58Z")

</div>

i have admins controller and in this i want to two times update one for admin and other for cateupdate both methods are different. def catedit @pro\_categorie = ProCategorie.find(params\[:id\]) end def cateupdate @pro…

---

## [Archiarchitecture Network, need some help!](https://www.ruby-forum.com/t/archiarchitecture-network-need-some-help/171118)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 3\
**Last updated:** [June 26, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/archiarchitecture-network-need-some-help/171118 "2009-06-26T20:12:56Z")

</div>

This is my problem. I have a universe of 10k gprs modems connecting on my server, they connect on the same port and ip. After the connection, the modem send a identification string, with this string i can authenticate…

---

## [Leipzig on Rails - Einladung zum nÃ¤chsten Treffen](https://www.ruby-forum.com/t/leipzig-on-rails-einladung-zum-na-chsten-treffen/169431)

<div class="topic-metadata">

**Author:** [@christophpetschnig](https://www.ruby-forum.com/u/christophpetschnig)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 5:28pm UTC](https://www.ruby-forum.com/t/leipzig-on-rails-einladung-zum-na-chsten-treffen/169431 "2009-06-03T17:28:18Z")

</div>

Hallo liebe Rails-Freunde, hiermit möchte ich wieder alle Interessierten ganz herzlich zu unserem nächsten Treffen einladen. Wir treffen uns am Montag, dem 8. Juni 2009, 19:00 Uhr in den Räumlichkeiten von Sublab e.…

---

## [Removing a Record From an Index](https://www.ruby-forum.com/t/removing-a-record-from-an-index/167326)

<div class="topic-metadata">

**Author:** [@dur\_dev](https://www.ruby-forum.com/u/dur_dev)\
**Replies:** 0\
**Last updated:** [May 6, 2009, 7:14pm UTC](https://www.ruby-forum.com/t/removing-a-record-from-an-index/167326 "2009-05-06T19:14:25Z")

</div>

How do you remove a record from an index? When a record enters a state of “inactive”, we want to remove the record from the index. I have tried calling self.ferret\_destroy but this destroys the entire index on the Mon…

---

## [My first plugin =\> my first Stack level too deep](https://www.ruby-forum.com/t/my-first-plugin-my-first-stack-level-too-deep/167195)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 3\
**Last updated:** [May 5, 2009, 1:48pm UTC](https://www.ruby-forum.com/t/my-first-plugin-my-first-stack-level-too-deep/167195 "2009-05-05T13:48:32Z")

</div>

Hello, I’ve just created my first plugin, is really a simple one, and it has only one validation, special for a spanish bank account. As I need it in more than one RoR, I’ve decided to create as a plugin, but now I’m…

---

## [What's 'logger', really](https://www.ruby-forum.com/t/whats-logger-really/164283)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 3\
**Last updated:** [April 9, 2009, 7:35pm UTC](https://www.ruby-forum.com/t/whats-logger-really/164283 "2009-04-09T19:35:55Z")

</div>

Hi, I don’t understand how we can just call ‘logger’ from any method, but when using observers we have to have it attached to some kind of object (usually the model of the object being observed). Why is that? What is …

---

## [Understanding how methods are made available within controller tests](https://www.ruby-forum.com/t/understanding-how-methods-are-made-available-within-controller-tests/162743)

<div class="topic-metadata">

**Author:** [@karl](https://www.ruby-forum.com/u/karl)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 1:48pm UTC](https://www.ruby-forum.com/t/understanding-how-methods-are-made-available-within-controller-tests/162743 "2009-03-14T13:48:26Z")

</div>

Being new to rails and ruby, I am trying to figure out how things fit together. In particular i am trying to understand how attributes such as “session” and “cookies” are made available to Controller tests. Specifica…

---

## [Be careful of BIGINT primary key fields in MySQL. Will cause problems with ActiveRecord create (but](https://www.ruby-forum.com/t/be-careful-of-bigint-primary-key-fields-in-mysql-will-cause-problems-with-activerecord-create-but/162271)

<div class="topic-metadata">

**Author:** [@chrisf](https://www.ruby-forum.com/u/chrisf)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 11:28pm UTC](https://www.ruby-forum.com/t/be-careful-of-bigint-primary-key-fields-in-mysql-will-cause-problems-with-activerecord-create-but/162271 "2009-03-07T23:28:09Z")

</div>

The MySQL/Ruby library doesn’t properly handle inserts into tables with the primary key being a BIGINT If the ID returned to the MySQL/Ruby library is LARGER than the INT range, the value is returned to Ruby truncated…

---

## [Sockets and Fedora Core 9](https://www.ruby-forum.com/t/sockets-and-fedora-core-9/161836)

<div class="topic-metadata">

**Author:** [@clanger](https://www.ruby-forum.com/u/clanger)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 10:13am UTC](https://www.ruby-forum.com/t/sockets-and-fedora-core-9/161836 "2009-03-03T10:13:49Z")

</div>

Hello, Apologies if this is well known or I’m posting in the wrong place. I have just spent too many hours trying to debug a problem when recieving multicasts with UDPSockets… code is as follows: SERVER=“192.0.0.1” …

---

## [Create a Trial Period then have an initial charge first time](https://www.ruby-forum.com/t/create-a-trial-period-then-have-an-initial-charge-first-time/158983)

<div class="topic-metadata">

**Author:** [@Sean\_McGilvray](https://www.ruby-forum.com/u/Sean_McGilvray)\
**Replies:** 3\
**Last updated:** [February 6, 2009, 9:24pm UTC](https://www.ruby-forum.com/t/create-a-trial-period-then-have-an-initial-charge-first-time/158983 "2009-02-06T21:24:29Z")

</div>

I am looking to see of someone has created a setup that will allow for a trial period of 30 days without collecting payment info up front. On the 30th day charge one fee (i.e. 4.95 + 9.95 setup fee) Then charge 4.95 a…

---

## [Relationships quickie](https://www.ruby-forum.com/t/relationships-quickie/157103)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 12:31pm UTC](https://www.ruby-forum.com/t/relationships-quickie/157103 "2009-01-07T12:31:45Z")

</div>

i have a project. the project has a status\_id. i have a statuses table with id’s and names. the project model includes “has\_one :status” the status model includes “has\_many :projects” in my projects index page inste…

---

## [No Signal from XCVR2450 using usrp2\_fft.py](https://www.ruby-forum.com/t/no-signal-from-xcvr2450-using-usrp2-fft-py/155049)

<div class="topic-metadata">

**Author:** [@Thomas\_Graf](https://www.ruby-forum.com/u/Thomas_Graf)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 7:36am UTC](https://www.ruby-forum.com/t/no-signal-from-xcvr2450-using-usrp2-fft-py/155049 "2008-12-18T07:36:44Z")

</div>

Hi, I finally got my USRP2. It seems to work as expected when I use the RFX400. I can see Ham-Radio signals with usrp2\_fft.py. Doing the same with with the XCVR2450 daughterboard doesn’t work. Just a nearly flat spec…

---

## [Link\_to and routing question](https://www.ruby-forum.com/t/link-to-and-routing-question/155636)

<div class="topic-metadata">

**Author:** [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/link-to-and-routing-question/155636 "2008-12-15T16:04:09Z")

</div>

I have the following link\_to: \<%= link\_to(“Remove”, {:action =\> “remove\_role\_from\_account”, :role\_id =\> role, :account\_id =\> @account}) %\> It generates: http://myserver.com/roles/remove\_role\_from\_account?account\_id=1&…

---

## [Is there another method like .next?](https://www.ruby-forum.com/t/is-there-another-method-like-next/153681)

<div class="topic-metadata">

**Author:** [@Michael\_WSRyder](https://www.ruby-forum.com/u/Michael_WSRyder)\
**Replies:** 3\
**Last updated:** [November 20, 2008, 5:49am UTC](https://www.ruby-forum.com/t/is-there-another-method-like-next/153681 "2008-11-20T05:49:46Z")

</div>

I was looking for a way to iterate through the ascii values and was trying to get it to not go from “9” to “10” or “Z” to “AA”. Evidently the string method .next always returns digits for digits and letters for lette…

---

## [Internal server error after editing environment.rb](https://www.ruby-forum.com/t/internal-server-error-after-editing-environment-rb/150762)

<div class="topic-metadata">

**Author:** [@tomzoo](https://www.ruby-forum.com/u/tomzoo)\
**Replies:** 3\
**Last updated:** [October 13, 2008, 8:28pm UTC](https://www.ruby-forum.com/t/internal-server-error-after-editing-environment-rb/150762 "2008-10-13T20:28:46Z")

</div>

Hi all, this is hopefully a quick one for gurus. I edited my environment.rb file, commenting out these lines: config.action\_controller.session = { :session\_key =\> ‘\_test\_session’, :secret =\> ‘long key here’ } …

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

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