# Top

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

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

---

## [Tk: setting window class](https://www.ruby-forum.com/t/tk-setting-window-class/110904)

<div class="topic-metadata">

**Author:** [@cinek](https://www.ruby-forum.com/u/cinek)\
**Replies:** 2\
**Last updated:** [August 1, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/tk-setting-window-class/110904 "2007-08-01T19:14:59Z")

</div>

I need to set (or at least have a sensible value of) X window class for all application’s windows, so that I can identify them for window manager (FVWM in this case, this is irrelevant though). What can I do to achiev…

---

## [Maintaining Multiple Versions of App](https://www.ruby-forum.com/t/maintaining-multiple-versions-of-app/107845)

<div class="topic-metadata">

**Author:** [@scottbrisko](https://www.ruby-forum.com/u/scottbrisko)\
**Replies:** 2\
**Last updated:** [June 27, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/maintaining-multiple-versions-of-app/107845 "2007-06-27T14:16:55Z")

</div>

I’m working on a major Rails project who’s code base continues to grow. The client wants to have two different versions of the software, with some features in common between the two, and some features diverging. I’m …

---

## [Model Releationship, belong, has?](https://www.ruby-forum.com/t/model-releationship-belong-has/103438)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 2\
**Last updated:** [May 6, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/model-releationship-belong-has/103438 "2007-05-06T15:54:16Z")

</div>

Hello, I have two models. blog\_post belongs\_to :blog\_category blog\_category has\_many :blog\_post Whenever I do this, I get error (uninitialized constant BlogPost::BlogCategories) \<%= post.blog\_categories.name %\> P…

---

## [Image upload problem with ajax](https://www.ruby-forum.com/t/image-upload-problem-with-ajax/86961)

<div class="topic-metadata">

**Author:** [@truptibhatt](https://www.ruby-forum.com/u/truptibhatt)\
**Replies:** 2\
**Last updated:** [February 27, 2007, 9:51am UTC](https://www.ruby-forum.com/t/image-upload-problem-with-ajax/86961 "2007-02-27T09:51:17Z")

</div>

hi friends, when i upload image with submit\_to\_remote tag it shows me nil value when i receive value of file\_field in controller. controller code if params\[:realestate\_detail\]\[:image\].original\_filename != “” file = p…

---

## [Error writing blob to sqlserver](https://www.ruby-forum.com/t/error-writing-blob-to-sqlserver/86501)

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 2\
**Last updated:** [February 22, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/error-writing-blob-to-sqlserver/86501 "2007-02-22T21:25:45Z")

</div>

I’ve got a rails app that retrieve tif files from the filesystem, creates multi-page pdfs and stores them in an image field in the database. It works great, except for a couple of files. The files it chokes on are a…

---

## [Conditional modifier syntax](https://www.ruby-forum.com/t/conditional-modifier-syntax/73140)

<div class="topic-metadata">

**Author:** [@Pau\_Garcia\_i\_Quiles](https://www.ruby-forum.com/u/Pau_Garcia_i_Quiles)\
**Replies:** 2\
**Last updated:** [October 23, 2006, 2:13am UTC](https://www.ruby-forum.com/t/conditional-modifier-syntax/73140 "2006-10-23T02:13:47Z")

</div>

Hello, Am I the only one who finds beautiful this syntax for conditional modifiers? @playlist= source\[:playlist\] if source\[:playlist\].instance\_of?(XSPF::Playlist) else raise TypeError “The playlist must be an instan…

---

## [Try catch for loading gems](https://www.ruby-forum.com/t/try-catch-for-loading-gems/73169)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 2\
**Last updated:** [October 22, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/try-catch-for-loading-gems/73169 "2006-10-22T15:03:24Z")

</div>

Hey, I have this in my environment.rb file for requiring gems require ‘action\_mailer’ require ‘sentry’ require ‘money’ require ‘active\_merchant’ require ‘pdf/writer’ require ‘pdf/simpletable’ require ‘csv’ requi…

---

## [Connecting to a Remote MySQL Server](https://www.ruby-forum.com/t/connecting-to-a-remote-mysql-server/96325)

<div class="topic-metadata">

**Author:** [@lisa-u](https://www.ruby-forum.com/u/lisa-u)\
**Replies:** 2\
**Last updated:** [June 28, 2006, 3:47am UTC](https://www.ruby-forum.com/t/connecting-to-a-remote-mysql-server/96325 "2006-06-28T03:47:20Z")

</div>

Hi All. I have one newbie question- How do I connect to a remote MySQL server using Ruby on Rails? Is it something simple like changing a few lines in database.yml?? Thanks in advance. Lisa

---

## [Win32](https://www.ruby-forum.com/t/win32/95738)

<div class="topic-metadata">

**Author:** [@Romuald\_du\_Song](https://www.ruby-forum.com/u/Romuald_du_Song)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 11:35am UTC](https://www.ruby-forum.com/t/win32/95738 "2006-06-13T11:35:12Z")

</div>

Hye, I’m looking for a way to log off a user in windows XP through a ruby script. The script is a windows service running with ruby win32/service package. I was not able to find any win32 module handling this functio…

---

## [SimpleTree: request for input](https://www.ruby-forum.com/t/simpletree-request-for-input/63071)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [June 12, 2006, 12:30pm UTC](https://www.ruby-forum.com/t/simpletree-request-for-input/63071 "2006-06-12T12:30:03Z")

</div>

A start at writing a SimpleTree class that holds both a TreeStore and a TreeView and simplifies a lot of common cases. Also provides direct access to the store and the view if you want to do something more complicated…

---

## [Transformation Ã  DNF et Ã  KNF?](https://www.ruby-forum.com/t/transformation-a-dnf-et-a-knf/95119)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 2\
**Last updated:** [May 22, 2006, 6:28pm UTC](https://www.ruby-forum.com/t/transformation-a-dnf-et-a-knf/95119 "2006-05-22T18:28:39Z")

</div>

Bonjour, Est-ce que quelqu’un pourrait me donner un exemple/code pour la transformation d’une expression logique Ã DNF ou Ã KNF ? Merci d’avance pour votre aide. Mescha

---

## [Index\_dir path](https://www.ruby-forum.com/t/index-dir-path/94096)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 2\
**Last updated:** [April 24, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/index-dir-path/94096 "2006-04-24T12:45:25Z")

</div>

Hi, I am running several applications, and I need them to share their indexed data. So instead of putting my index in the default location of RAILS\_ROOT/index/RAILS\_ENV I want it to appear in RAILS\_ROOT/…/index/RAIL…

---

## [Link\_to\_remote issue after upgrading to rails 1.0](https://www.ruby-forum.com/t/link-to-remote-issue-after-upgrading-to-rails-1-0/54929)

<div class="topic-metadata">

**Author:** [@dave\_smylie](https://www.ruby-forum.com/u/dave_smylie)\
**Replies:** 2\
**Last updated:** [March 16, 2006, 8:46am UTC](https://www.ruby-forum.com/t/link-to-remote-issue-after-upgrading-to-rails-1-0/54929 "2006-03-16T08:46:14Z")

</div>

Hi I’ve only recently noticed my notebook was using an old version of rails (0.13), and so upgraded it to 1.0 (this is on gentoo linux). The upgrade has broken some previously working code, and I’ve not been able to …

---

## [YAML - Time to give?](https://www.ruby-forum.com/t/yaml-time-to-give/52497)

<div class="topic-metadata">

**Author:** [@thila](https://www.ruby-forum.com/u/thila)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 5:28pm UTC](https://www.ruby-forum.com/t/yaml-time-to-give/52497 "2006-01-18T17:28:16Z")

</div>

Guys- I am trying to create an YAML file like the following: 3 — Begin ga: name: Georgia capital: savanah population: 1 mil cities: city: name: Atlanta zip: 30328 city: name: Savanah zip: 30304 tx: name: …

---

## [Inserting raw xml into a rexml document](https://www.ruby-forum.com/t/inserting-raw-xml-into-a-rexml-document/49966)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 2\
**Last updated:** [December 11, 2005, 8:19am UTC](https://www.ruby-forum.com/t/inserting-raw-xml-into-a-rexml-document/49966 "2005-12-11T08:19:38Z")

</div>

how can i do this: \[ahoward@localhost xhtml-0.0.0\]$ irb -r rexml/document irb(main):001:0\> REXML::Text::new("", respect\_whitespace=false, parent=nil, raw=false).to\_s =\> “\<foobar\>” irb(main):002:0\> REXML::Text::new("…

---

## [Files created by RoR are uneditable](https://www.ruby-forum.com/t/files-created-by-ror-are-uneditable/100539)

<div class="topic-metadata">

**Author:** [@jpigford](https://www.ruby-forum.com/u/jpigford)\
**Replies:** 2\
**Last updated:** [November 23, 2005, 2:49pm UTC](https://www.ruby-forum.com/t/files-created-by-ror-are-uneditable/100539 "2005-11-23T14:49:20Z")

</div>

Files that are created when say I run generate controller \_\_\_\_\_\_ apparently have some sort of permissions set that won’t let me overwrite them. So say I create something\_controller.rb…if I edit it in TextMate and then…

---

## [Love U Ruby](https://www.ruby-forum.com/t/love-u-ruby/245909)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [July 28, 2013, 11:42pm UTC](https://www.ruby-forum.com/t/love-u-ruby/245909 "2013-07-28T23:42:11Z")

</div>

On Sat, Jul 27, 2013 at 5:13 PM, Ryan D. removed\_email\_address@domain.invalid wrote in reply to Love U Ruby: I really wish you’d stop abusing this list and learn how to learn on your own. I don’t follow or participat…

---

## [Buffer overflow CVE-2011-4315](https://www.ruby-forum.com/t/buffer-overflow-cve-2011-4315/218819)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [April 13, 2012, 1:05am UTC](https://www.ruby-forum.com/t/buffer-overflow-cve-2011-4315/218819 "2012-04-13T01:05:47Z")

</div>

we are running nginx 0.8.54, I’m trying to pass PCI compliance testing they say this is vulnerable to a buffer overflow. however when i try and find out if it is i can’t seem to find out. http://web.nvd.nist.gov/view/…

---

## [Regular expression quirk?](https://www.ruby-forum.com/t/regular-expression-quirk/198161)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [October 27, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/regular-expression-quirk/198161 "2010-10-27T13:59:19Z")

</div>

Hello, AFAIK, there are no possessive quantifiers in 1.9, so I expected a syntax error from this: re = /cats?+/ =\> /cats?+/ It worked and it works, but the + is meaningless it seems: re.match “cat” =\> #\<Matc…

---

## [Making a new project, should I choose rails 2.3.5 or 3.0 .0 beta?](https://www.ruby-forum.com/t/making-a-new-project-should-i-choose-rails-2-3-5-or-3-0-0-beta/183470)

<div class="topic-metadata">

**Author:** [@princezuda](https://www.ruby-forum.com/u/princezuda)\
**Replies:** 5\
**Last updated:** [February 15, 2010, 9:01pm UTC](https://www.ruby-forum.com/t/making-a-new-project-should-i-choose-rails-2-3-5-or-3-0-0-beta/183470 "2010-02-15T21:01:31Z")

</div>

hey, I am making a new project, and I’ve been having trouble deciding between rails and 3.5 and rails 3.0.0 beta one. I realize that rails 3.0.0 should be out of beta sometime mid-summer, which is around the time I …

---

## [Non-ActiveRecord based model being passed as string?](https://www.ruby-forum.com/t/non-activerecord-based-model-being-passed-as-string/176096)

<div class="topic-metadata">

**Author:** [@nozavroni](https://www.ruby-forum.com/u/nozavroni)\
**Replies:** 5\
**Last updated:** [September 25, 2009, 3:55pm UTC](https://www.ruby-forum.com/t/non-activerecord-based-model-being-passed-as-string/176096 "2009-09-25T15:55:52Z")

</div>

I have a model that looks like this (with various other methods) class HsdPair attr\_accessor :hsd def initialize(hsd) @hsd = hsd @current\_display = 0 @has\_changed\_flag = false end end After initializing this obj…

---

## [Upstream module question](https://www.ruby-forum.com/t/upstream-module-question/169401)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 5\
**Last updated:** [June 3, 2009, 11:05am UTC](https://www.ruby-forum.com/t/upstream-module-question/169401 "2009-06-03T11:05:11Z")

</div>

Hi all, with the upstream module, in default mode (WRR), what is the best way to disable a server from the pool ? 1- simply remove the line 2- add the “down” keyword to the server 3- set server weight to 0 to disabl…

---

## [Acts as taggable on installation problem](https://www.ruby-forum.com/t/acts-as-taggable-on-installation-problem/148539)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 5\
**Last updated:** [September 17, 2008, 12:03am UTC](https://www.ruby-forum.com/t/acts-as-taggable-on-installation-problem/148539 "2008-09-17T00:03:56Z")

</div>

i am trying to install the following plugin: http://agilewebdevelopment.com/plugins/acts\_as\_taggable\_on it recommends doing by the new gemplugin for ror by adding the following in environment: config.gem “mbleigh-acs…

---

## [Ruby GSoC 2008 now accepting student applications](https://www.ruby-forum.com/t/ruby-gsoc-2008-now-accepting-student-applications/132809)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 5\
**Last updated:** [March 25, 2008, 2:54pm UTC](https://www.ruby-forum.com/t/ruby-gsoc-2008-now-accepting-student-applications/132809 "2008-03-25T14:54:07Z")

</div>

Google has just turned on the student application web page. If you’re interested in taking part in the 2008 GSoC as a student, please feel free to turn in an application: http://groups.google.com/group/google-summe…

---

## [App upgrade steps from 1.2.4 to 2.0.2?](https://www.ruby-forum.com/t/app-upgrade-steps-from-1-2-4-to-2-0-2/128112)

<div class="topic-metadata">

**Author:** [@Rheoled](https://www.ruby-forum.com/u/Rheoled)\
**Replies:** 5\
**Last updated:** [February 13, 2008, 12:05am UTC](https://www.ruby-forum.com/t/app-upgrade-steps-from-1-2-4-to-2-0-2/128112 "2008-02-13T00:05:35Z")

</div>

Hi all, experienced programmer but complete RoR newbie here, this is my first rails post/question so bear with me. I have a working RoR app on 1.2.4 and PostgreSQL, and my first efforts at running it in 2.0.2 show it…

---

## [A plea to all RubyForge maintainers](https://www.ruby-forum.com/t/a-plea-to-all-rubyforge-maintainers/121333)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 5\
**Last updated:** [November 29, 2007, 4:41am UTC](https://www.ruby-forum.com/t/a-plea-to-all-rubyforge-maintainers/121333 "2007-11-29T04:41:45Z")

</div>

Please remember that there are a number of people who read the global RubyForge RSS feed, which lists news updates to EVERY project. (OK, honestly, I have no idea how many other people do this. But “one” is a number…

---

## [Subversion and rails?](https://www.ruby-forum.com/t/subversion-and-rails/119653)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 5\
**Last updated:** [November 8, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/subversion-and-rails/119653 "2007-11-08T23:32:52Z")

</div>

Hello there, I started using subversion with my rails application, but I’m stuck with plugins, they are not added to my revision… \_\_\_\_$ svn add vendor/plugins/rspec svn: warning: ‘vendor/plugins/rspec’ is already und…

---

## [.txt on README?](https://www.ruby-forum.com/t/txt-on-readme/118657)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 5\
**Last updated:** [October 30, 2007, 6:25am UTC](https://www.ruby-forum.com/t/txt-on-readme/118657 "2007-10-30T06:25:48Z")

</div>

I’m curious about use the .txt extension on README. I know Hoe does this. Why? Is this just to make it easier for Windows developers? Or is there some other reason? T.

---

## [Validates\_uniqueness\_of does not pass unit test](https://www.ruby-forum.com/t/validates-uniqueness-of-does-not-pass-unit-test/105266)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 5\
**Last updated:** [May 29, 2007, 8:11pm UTC](https://www.ruby-forum.com/t/validates-uniqueness-of-does-not-pass-unit-test/105266 "2007-05-29T20:11:19Z")

</div>

I am doing some very very basic unit testing. If I take away the uniqueness validation, the tests pass. Could this be a bug in Edge Rails?

---

## [Question about Fixnum](https://www.ruby-forum.com/t/question-about-fixnum/91954)

<div class="topic-metadata">

**Author:** [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Replies:** 5\
**Last updated:** [April 14, 2007, 1:28am UTC](https://www.ruby-forum.com/t/question-about-fixnum/91954 "2007-04-14T01:28:36Z")

</div>

Why the range of Fixnum is -2^30 ~ 2^30 rather than -2^31 ~2^31 ?

---

## [Nil Issue](https://www.ruby-forum.com/t/nil-issue/91733)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 5\
**Last updated:** [April 12, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/nil-issue/91733 "2007-04-12T17:11:31Z")

</div>

I am using acts\_as\_attachment to upload multiple files and it works great. My problem is when I go to display the files and images. If one or more files are missing I get an error stating “can’t convert nil into Strin…

---

## [Console broken](https://www.ruby-forum.com/t/console-broken/75126)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [November 8, 2006, 2:40pm UTC](https://www.ruby-forum.com/t/console-broken/75126 "2006-11-08T14:40:45Z")

</div>

I just had to do a reinstall, and somehow something is missing. When I try to run ruby script/console, I get the error message in \`require’: no such file to load – readline Obviously, I left something out, but I’m not…

---

## [Seperate admin and public views using one controller REST CR](https://www.ruby-forum.com/t/seperate-admin-and-public-views-using-one-controller-rest-cr/73960)

<div class="topic-metadata">

**Author:** [@jorge](https://www.ruby-forum.com/u/jorge)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 10:47am UTC](https://www.ruby-forum.com/t/seperate-admin-and-public-views-using-one-controller-rest-cr/73960 "2006-11-07T10:47:47Z")

</div>

Hello, I want to seperate my admin and public views but only use one controller. How to seperate layouts ist clear but how can I tell the controller to render the \*.rhtml files in views/admin/ when logged in or rende…

---

## [WWW::Mechanize 0.6.0 (Rufus)](https://www.ruby-forum.com/t/www-mechanize-0-6-0-rufus/67807)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 5\
**Last updated:** [September 7, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/www-mechanize-0-6-0-rufus/67807 "2006-09-07T23:18:11Z")

</div>

Hi, I would like to announce that my Mechpricot pie is done baking and is ready to eat. The main feature of this release is that Mechanize uses Hpricot as its internal HTML parser and that you can now treat a page o…

---

## [Ruby on Rails resources for a 2 year consulting job in New Y](https://www.ruby-forum.com/t/ruby-on-rails-resources-for-a-2-year-consulting-job-in-new-y/102426)

<div class="topic-metadata">

**Author:** [@Dinesh\_Bakhru](https://www.ruby-forum.com/u/Dinesh_Bakhru)\
**Replies:** 5\
**Last updated:** [September 4, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-resources-for-a-2-year-consulting-job-in-new-y/102426 "2006-09-04T14:45:27Z")

</div>

Hello I am desperately searching for 17 Ruby resources for a 2 year project (consulting or full-time) in New York City to start asap (Monday if possible). Any help would be greatly appreciated Regards Dinesh Bakhru …

---

## [Changing class data in environmrnt.rb](https://www.ruby-forum.com/t/changing-class-data-in-environmrnt-rb/57691)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 5\
**Last updated:** [April 19, 2006, 12:56am UTC](https://www.ruby-forum.com/t/changing-class-data-in-environmrnt-rb/57691 "2006-04-19T00:56:27Z")

</div>

Greetings, I have a class that should allow you define some default values. It seems to make the most sense to do this environment.rb since its the default app configuration. It currently looks like this: Settings:…

---

## [Rails Docs?](https://www.ruby-forum.com/t/rails-docs/94960)

<div class="topic-metadata">

**Author:** [@untz786](https://www.ruby-forum.com/u/untz786)\
**Replies:** 5\
**Last updated:** [December 3, 2005, 10:47am UTC](https://www.ruby-forum.com/t/rails-docs/94960 "2005-12-03T10:47:21Z")

</div>

Hello again, Where are the HTML based Rails docs? My OS X Tiger Unix prompt tells me that Rails is installed under: /usr/local/ but I can’t find any of the docs anywhere? Sincere regards, Unnsse

---

## [Regular Expressions](https://www.ruby-forum.com/t/regular-expressions/49101)

<div class="topic-metadata">

**Author:** [@mememe](https://www.ruby-forum.com/u/mememe)\
**Replies:** 5\
**Last updated:** [November 30, 2005, 12:55am UTC](https://www.ruby-forum.com/t/regular-expressions/49101 "2005-11-30T00:55:31Z")

</div>

Does anyone know how can I replace all http://example.com to http://example.com in text?

---

## ["Choose from These Options, or Create a New Option"](https://www.ruby-forum.com/t/choose-from-these-options-or-create-a-new-option/112909)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 6\
**Last updated:** [August 29, 2007, 4:42am UTC](https://www.ruby-forum.com/t/choose-from-these-options-or-create-a-new-option/112909 "2007-08-29T04:42:15Z")

</div>

Let’s say I have a dropdown selection list of existing teachers. The user can (1) select any one teacher, or (2) create a new one. How would you tackle something like that? I’m thinking what I could do is check if the…

---

## [Using data in application.rhtml layout](https://www.ruby-forum.com/t/using-data-in-application-rhtml-layout/79754)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 6\
**Last updated:** [December 24, 2006, 12:44am UTC](https://www.ruby-forum.com/t/using-data-in-application-rhtml-layout/79754 "2006-12-24T00:44:17Z")

</div>

I’m setting up a forum and I’m having a sidebar which will display the recent postings and will be used throughout the site. This sidebar is part of the application.rhtml layout. How do I use data from the “forum” con…

---

## [RJS/link\_to\_remote error](https://www.ruby-forum.com/t/rjs-link-to-remote-error/102613)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 6\
**Last updated:** [December 5, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/rjs-link-to-remote-error/102613 "2006-12-05T22:46:47Z")

</div>

I’m trying to build an WebFTP application in Rails for some practice. Here is a link located in a partial named \_display\_file that is called by a partial named \_list\_files. A similar link is created for every directo…

---

## [Ruby-IXP 1.0.2](https://www.ruby-forum.com/t/ruby-ixp-1-0-2/69165)

<div class="topic-metadata">

**Author:** [@Suraj\_NSKurapati](https://www.ruby-forum.com/u/Suraj_NSKurapati)\
**Replies:** 6\
**Last updated:** [September 19, 2006, 7:50pm UTC](https://www.ruby-forum.com/t/ruby-ixp-1-0-2/69165 "2006-09-19T19:50:45Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 = Version 1.0.2 (2006-09-18) Ruby-IXP is an implementation of the 9P2000 protocol designed for use with Window Manager Improved. It is written in pure Ruby to avoid peri…

---

## [Why does unsuccesful find throw an exception?](https://www.ruby-forum.com/t/why-does-unsuccesful-find-throw-an-exception/68079)

<div class="topic-metadata">

**Author:** [@thekog](https://www.ruby-forum.com/u/thekog)\
**Replies:** 6\
**Last updated:** [September 9, 2006, 2:23am UTC](https://www.ruby-forum.com/t/why-does-unsuccesful-find-throw-an-exception/68079 "2006-09-09T02:23:26Z")

</div>

When querying my DB via find such as in: @user = User.find(:first, :conditions =\> etc) why do I get an exception when the find is unsuccessful? I thought the regular behavior would be to just set @user to nil. can I c…

---

## [Unique Capistrano Deployment](https://www.ruby-forum.com/t/unique-capistrano-deployment/67135)

<div class="topic-metadata">

**Author:** [@jcanady](https://www.ruby-forum.com/u/jcanady)\
**Replies:** 6\
**Last updated:** [September 1, 2006, 12:39am UTC](https://www.ruby-forum.com/t/unique-capistrano-deployment/67135 "2006-09-01T00:39:23Z")

</div>

I know, everyone’s Capistrano deployment is unique, however, mine may be like one I have never seen before. The app is contained on 1 server. I do not have multiple servers. The app is actually deployed twice into two…

---

## [Please help Me!](https://www.ruby-forum.com/t/please-help-me/58182)

<div class="topic-metadata">

**Author:** [@naveen](https://www.ruby-forum.com/u/naveen)\
**Replies:** 6\
**Last updated:** [April 19, 2006, 1:46pm UTC](https://www.ruby-forum.com/t/please-help-me/58182 "2006-04-19T13:46:49Z")

</div>

Hi to this Group! I am new to Ruby! I am facing problrm s to find the database functions. I want the source of sites for predifiend functions for handling the database. I develpong the shoping cart application, In t…

---

## [Check if user is in right group](https://www.ruby-forum.com/t/check-if-user-is-in-right-group/98244)

<div class="topic-metadata">

**Author:** [@Henrik\_SSiso-8859-1](https://www.ruby-forum.com/u/Henrik_SSiso-8859-1)\
**Replies:** 6\
**Last updated:** [January 28, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/check-if-user-is-in-right-group/98244 "2006-01-28T15:13:57Z")

</div>

What is the best way of checking this? I have 3 tables: groups users group\_members class GroupMember \< ActiveRecord::Base belongs\_to :group belongs\_to :user validates\_uniqueness\_of :user\_id, :scope =\> “group\_id” …

---

## [Error using gem has\_friendship](https://www.ruby-forum.com/t/error-using-gem-has-friendship/244103)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 20, 2016, 8:52pm UTC](https://www.ruby-forum.com/t/error-using-gem-has-friendship/244103 "2016-02-20T20:52:49Z")

</div>

i added the gem to my gemfile and ran bundle update but when i run rails generate has\_friendship i get the error that rails couldn’t find this generator on rails 4.2.5

---

## [Cache structs 1.6.x vs 1.8.x](https://www.ruby-forum.com/t/cache-structs-1-6-x-vs-1-8-x/243091)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 24, 2015, 7:01pm UTC](https://www.ruby-forum.com/t/cache-structs-1-6-x-vs-1-8-x/243091 "2015-08-24T19:01:38Z")

</div>

Hey Guys, We have been testing Nginx 1.8.x, and We realize that the cache structure for Nginx 1.8.x is not compatible for Nginx 1.6.x. In other words, by updating Nginx 1.6.x to 1.8.x, all the cache objects will be …

---

## [Jsfiddle demonstrating IE11 difference talking to nginx vs google](https://www.ruby-forum.com/t/jsfiddle-demonstrating-ie11-difference-talking-to-nginx-vs-google/241751)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 28, 2015, 9:09pm UTC](https://www.ruby-forum.com/t/jsfiddle-demonstrating-ie11-difference-talking-to-nginx-vs-google/241751 "2015-04-28T21:09:59Z")

</div>

See, or please try: If you see what I see in my IE11, when I press Start Test, and the target is nginx.org, the duration for each request goes slow/normal/slow/normal But when I change nginx.org to google.com, the t…

---

## [Volk atan](https://www.ruby-forum.com/t/volk-atan/234360)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 26, 2015, 10:06pm UTC](https://www.ruby-forum.com/t/volk-atan/234360 "2015-02-26T22:06:55Z")

</div>

Hi everybody, I’m using “volk\_32fc\_s32f\_atan2\_32f\_a” to compute phase of signal. It’s important to know: what is the output phase interval of this function? Is it within \[-pi/2,pi/2\] as an standard atan function? Th…

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

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