# Top

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

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

---

## [M:n realtions don't work with fixtures?!](https://www.ruby-forum.com/t/m-n-realtions-dont-work-with-fixtures/152609)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 6\
**Last updated:** [November 5, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/m-n-realtions-dont-work-with-fixtures/152609 "2008-11-05T18:13:41Z")

</div>

Hello, I’m currently trying to populate my database with fixtures and having a problem. The table USER has many GROUPS he belongs to and vice versa so it’s m:n relationship. Model: class User \< ActiveRecord::Base …

---

## [Rake spec:rcov =\> Segmentation fault ruby 1.8.6 (2007-09-24) \[i386-mswin32\]](https://www.ruby-forum.com/t/rake-spec-rcov-segmentation-fault-ruby-1-8-6-2007-09-24-i386-mswin32/148516)

<div class="topic-metadata">

**Author:** [@scottnj](https://www.ruby-forum.com/u/scottnj)\
**Replies:** 6\
**Last updated:** [October 5, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/rake-spec-rcov-segmentation-fault-ruby-1-8-6-2007-09-24-i386-mswin32/148516 "2008-10-05T17:20:54Z")

</div>

i have a rails app that tests fine with “rake spec” but gets a segmentation fault when “rake spec:rcov” is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test\_blog/tr…

---

## [Can't install file\_column](https://www.ruby-forum.com/t/cant-install-file-column/147366)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 6\
**Last updated:** [September 2, 2008, 11:55am UTC](https://www.ruby-forum.com/t/cant-install-file-column/147366 "2008-09-02T11:55:54Z")

</div>

Hi - I just tried to install file\_column and can’t install it according to the original instructions anymore. The original instructions (at http://www.kanthak.net/opensource/file\_column/) say to do this: ./script/pl…

---

## [Array API](https://www.ruby-forum.com/t/array-api/146238)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 6\
**Last updated:** [August 19, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/array-api/146238 "2008-08-19T18:45:58Z")

</div>

Hi, I am going through the ruby Array API. In the API , there is staetment Included Modules Enumerable Is this means that we are inheriting the enumerable class to array? Also there is sort\_by method for the enumera…

---

## ["reversing" a Time](https://www.ruby-forum.com/t/reversing-a-time/117184)

<div class="topic-metadata">

**Author:** [@mortee](https://www.ruby-forum.com/u/mortee)\
**Replies:** 6\
**Last updated:** [October 17, 2007, 6:10am UTC](https://www.ruby-forum.com/t/reversing-a-time/117184 "2007-10-17T06:10:38Z")

</div>

Hello, is it possible to reverse order when using a Time as sort key for sort\_by? I know I could use sort, and time2 \<=\> time1, but it’s getting complicated when the sort key is compound, like sort\_by{|e| \[e.name, e…

---

## [Acts\_as\_attachment - on server copy?](https://www.ruby-forum.com/t/acts-as-attachment-on-server-copy/112771)

<div class="topic-metadata">

**Author:** [@bakki](https://www.ruby-forum.com/u/bakki)\
**Replies:** 6\
**Last updated:** [August 24, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/acts-as-attachment-on-server-copy/112771 "2007-08-24T17:39:20Z")

</div>

Hi all, I am using aaa for uploads (Upload model) of assets to a dir below public. I also need to save files, into the Upload model, which come as attachments by email. Is there a way I can ask aaa to save the attac…

---

## [RubyOSA for QuickTime](https://www.ruby-forum.com/t/rubyosa-for-quicktime/108480)

<div class="topic-metadata">

**Author:** [@mtnbiker](https://www.ruby-forum.com/u/mtnbiker)\
**Replies:** 6\
**Last updated:** [July 5, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/rubyosa-for-quicktime/108480 "2007-07-05T23:59:23Z")

</div>

How do I access the properties of a QuickTime movie? I’m trying RubyOSA, but am open to other ideas. I ultimately want to save the middle frame of movies I download from my digital camera. That jpg will be a placehold…

---

## [For user submitted content on website, use textile or html?](https://www.ruby-forum.com/t/for-user-submitted-content-on-website-use-textile-or-html/91767)

<div class="topic-metadata">

**Author:** [@Dorren](https://www.ruby-forum.com/u/Dorren)\
**Replies:** 6\
**Last updated:** [April 13, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/for-user-submitted-content-on-website-use-textile-or-html/91767 "2007-04-13T13:50:00Z")

</div>

I know use another markup language, like wiki syntax or textile is to prevent javascript injection. But for user who don’t know about wiki syntax or textile, I’m thinking about just allow them to enter plain html, pa…

---

## [How to deal with NULL columns when displaying db tables?](https://www.ruby-forum.com/t/how-to-deal-with-null-columns-when-displaying-db-tables/71140)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 6\
**Last updated:** [October 5, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/how-to-deal-with-null-columns-when-displaying-db-tables/71140 "2006-10-05T17:57:07Z")

</div>

Hi, I’m displaying a simple table from my model like : \<% @people.each do |person| %\> \<tr\> \<td\>\<%= h(person.email) %\>\</td\> \<td\>\<%= h(person.name) %\> \<td\>\<%= h(person.adress) %\> (...) \</tr\> \<% end %\> T…

---

## [FIR filter 'filterN' method](https://www.ruby-forum.com/t/fir-filter-filtern-method/96981)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 6\
**Last updated:** [July 4, 2006, 9:29am UTC](https://www.ruby-forum.com/t/fir-filter-filtern-method/96981 "2006-07-04T09:29:58Z")

</div>

I’m designing an adaptive FIR filter base class. In the guts of all the current FIR filter types, there are filterN and filterNdec methods that compute multiple outputs as a batch. These are called in the ::work meth…

---

## [Newbie question: Can't find info on 'define'](https://www.ruby-forum.com/t/newbie-question-cant-find-info-on-define/243889)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 25, 2016, 6:55pm UTC](https://www.ruby-forum.com/t/newbie-question-cant-find-info-on-define/243889 "2016-01-25T18:55:35Z")

</div>

Hi, I’m looking over some code (Asciidoctor), and in one file there are several ‘define’ statements enclosed in a module. An example of this is the following in a .rb file: define :block\_terminates\_paragraph, true d…

---

## [How to deny access to a folder, but allow access to every subfolders (wildcard)](https://www.ruby-forum.com/t/how-to-deny-access-to-a-folder-but-allow-access-to-every-subfolders-wildcard/233752)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 9, 2015, 8:05pm UTC](https://www.ruby-forum.com/t/how-to-deny-access-to-a-folder-but-allow-access-to-every-subfolders-wildcard/233752 "2015-01-09T20:05:15Z")

</div>

Hi, I need to deny access to /members but allow access to every folders below. There may be a lot of folders, maybe a thousan, and each of those folders contain 5 other folders. So i need a wildcard. Here is what …

---

## [Phase change for Transmitted Signal Bursts - The relation to clock?](https://www.ruby-forum.com/t/phase-change-for-transmitted-signal-bursts-the-relation-to-clock/246012)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 23, 2014, 8:02pm UTC](https://www.ruby-forum.com/t/phase-change-for-transmitted-signal-bursts-the-relation-to-clock/246012 "2014-10-23T20:02:00Z")

</div>

Hi, I am transmitting a series of BPSK burst signal and try to observe the phase distortion for the BPSK signal on air. But it is found that the Phases of different BPSK bursts are different. I think this change is c…

---

## [Override index.php for a subdirectory](https://www.ruby-forum.com/t/override-index-php-for-a-subdirectory/238101)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 18, 2013, 4:06pm UTC](https://www.ruby-forum.com/t/override-index-php-for-a-subdirectory/238101 "2013-12-18T16:06:09Z")

</div>

Hi. I need to override default index file for a subdirectory only. My actual config (pretty much ubuntu’s default): server { listen 80 default\_server; root /var/www; index index.php index.html index.htm; server\_na…

---

## [Checkbox problemi da rails 2 a 3](https://www.ruby-forum.com/t/checkbox-problemi-da-rails-2-a-3/237804)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 1, 2013, 4:00pm UTC](https://www.ruby-forum.com/t/checkbox-problemi-da-rails-2-a-3/237804 "2013-12-01T16:00:48Z")

</div>

Salve a tutti, non riesco a capire perché non riesco a far funzionare più il checkbox che nella versione Rails 2 funzionava perfettamente mentre nella 3 non funziona più. Nella mia vista modifica.html.erb accedo e mo…

---

## [Linkedin login using omniauth](https://www.ruby-forum.com/t/linkedin-login-using-omniauth/246110)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 27, 2013, 7:06am UTC](https://www.ruby-forum.com/t/linkedin-login-using-omniauth/246110 "2013-08-27T07:06:25Z")

</div>

Hi, I am trying to add linkedin login feature in my rails application using omniauth gem…I used omniauth gem for Fb login and it’s working fine…but it’s not working for linkedin login this is my code /model/user.rb …

---

## [Ruby Language Reference Manual (syntax) for 2.0](https://www.ruby-forum.com/t/ruby-language-reference-manual-syntax-for-2-0/236112)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 6, 2013, 3:33pm UTC](https://www.ruby-forum.com/t/ruby-language-reference-manual-syntax-for-2-0/236112 "2013-08-06T15:33:55Z")

</div>

Hi - can anyone point me to an updated version of the following link, updated to include the 2.0 syntax? http://web.njit.edu/all\_topics/Prog\_Lang\_Docs/html/ruby/syntax.html I find this kind of consolidated reference m…

---

## [S/N ratio vs BER reference?](https://www.ruby-forum.com/t/s-n-ratio-vs-ber-reference/228549)

<div class="topic-metadata">

**Author:** [@Gregory\_W](https://www.ruby-forum.com/u/Gregory_W)\
**Replies:** 2\
**Last updated:** [April 28, 2013, 7:20pm UTC](https://www.ruby-forum.com/t/s-n-ratio-vs-ber-reference/228549 "2013-04-28T19:20:19Z")

</div>

Hi All, I’m playing around with digital modulation techniques in GnuRadio and would like to get a sense of how successful my efforts are in terms of BER vs. S/N ratio. Can someone suggest a reference that provides BE…

---

## [STI, #update\_attributes and validations](https://www.ruby-forum.com/t/sti-update-attributes-and-validations/225556)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 16, 2013, 7:56pm UTC](https://www.ruby-forum.com/t/sti-update-attributes-and-validations/225556 "2013-01-16T19:56:47Z")

</div>

I would like to know if there’s a way to when doing STI the update\_attributes, validate the attributes based on the new class type? For e.g. suppose i have: class A \< ActiveRecord::Base end class B \< A validates :…

---

## [RedCloth: Adding custom verbatim tag](https://www.ruby-forum.com/t/redcloth-adding-custom-verbatim-tag/214517)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 6, 2011, 5:08pm UTC](https://www.ruby-forum.com/t/redcloth-adding-custom-verbatim-tag/214517 "2011-12-06T17:08:21Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I’m using RedCloth for writing texts, it however doesn’t know anything about syntax highlighting. So I came up with the idea of combining it with CodeRay by me…

---

## [Getting Syntax error while using raise and rescue in a method](https://www.ruby-forum.com/t/getting-syntax-error-while-using-raise-and-rescue-in-a-method/212327)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 30, 2011, 1:27pm UTC](https://www.ruby-forum.com/t/getting-syntax-error-while-using-raise-and-rescue-in-a-method/212327 "2011-09-30T13:27:49Z")

</div>

Hi All, I am relatively new to ruby programming, I am trying to capture if any kind of exception happens in a Click method. so, I am using raise and rescue in the “Click” method. Looks like I am doing something not c…

---

## [Undefined methods: has\_selector? and flunk](https://www.ruby-forum.com/t/undefined-methods-has-selector-and-flunk/194240)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [September 1, 2010, 3:47pm UTC](https://www.ruby-forum.com/t/undefined-methods-has-selector-and-flunk/194240 "2010-09-01T15:47:53Z")

</div>

I’m in the process of updating an app for Rails 3.0 and rspec-rails 2.0.0.beta20. When I’m running my specs (rake spec) I get a large number of errors caused by two undefined methods undefined method \`has\_selector?’ f…

---

## [Help with nested routes test in Rails 3](https://www.ruby-forum.com/t/help-with-nested-routes-test-in-rails-3/191038)

<div class="topic-metadata">

**Author:** [@Lalish-MenaghS\_Trev](https://www.ruby-forum.com/u/Lalish-MenaghS_Trev)\
**Replies:** 2\
**Last updated:** [July 5, 2010, 2:13pm UTC](https://www.ruby-forum.com/t/help-with-nested-routes-test-in-rails-3/191038 "2010-07-05T14:13:13Z")

</div>

Hi all, I must be doing something wrong here. Could someone point me in the right direction? I am trying to test my nested resources in Rails 3. The route: resources :students do resources :days end The test: it …

---

## [\[rails\] undefined method \`handling\_predicate!'](https://www.ruby-forum.com/t/rails-undefined-method-handling-predicate/181980)

<div class="topic-metadata">

**Author:** [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Replies:** 2\
**Last updated:** [January 21, 2010, 11:52pm UTC](https://www.ruby-forum.com/t/rails-undefined-method-handling-predicate/181980 "2010-01-21T23:52:39Z")

</div>

I’m trying to use authlogic and factory\_girl with rspec and I am getting an error I don’t understand. Basically I have this failing spec: it “should succeed in creating a user from a factory” do testuser = Factory.…

---

## [Problem with spacing](https://www.ruby-forum.com/t/problem-with-spacing/164662)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [April 5, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/problem-with-spacing/164662 "2009-04-05T17:12:34Z")

</div>

I’m having the devil’s time trying to get things laid out correctly. I’ve attached a screenshot so that you can get an idea of what I’m seeing. I’ve got a very unattractive space under the two combo boxes, and another…

---

## [How to call instance method from within Treetop gem](https://www.ruby-forum.com/t/how-to-call-instance-method-from-within-treetop-gem/163825)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 2\
**Last updated:** [March 25, 2009, 11:56am UTC](https://www.ruby-forum.com/t/how-to-call-instance-method-from-within-treetop-gem/163825 "2009-03-25T11:56:18Z")

</div>

I’m trying to call an instance method from within a gem (Treetop), and nothing I’ve tried is working (3 hours into it - no results). I’ll do my best to simplify the problem. I have a class instance which sets things u…

---

## [How can I use the same model/pojo as both type ActiveRecord and non-ActiveRecord. Doesn't seem dry t](https://www.ruby-forum.com/t/how-can-i-use-the-same-model-pojo-as-both-type-activerecord-and-non-activerecord-doesnt-seem-dry-t/156781)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 2\
**Last updated:** [January 3, 2009, 6:03pm UTC](https://www.ruby-forum.com/t/how-can-i-use-the-same-model-pojo-as-both-type-activerecord-and-non-activerecord-doesnt-seem-dry-t/156781 "2009-01-03T18:03:50Z")

</div>

I understand I can just define a class without extending ActiveReord::Base, but what if I want to use the model object sometimes without having the data persist. For example… Let’s say I have an “AutoManufacturer” obj…

---

## [Auto completion for dynamically created input fields](https://www.ruby-forum.com/t/auto-completion-for-dynamically-created-input-fields/144016)

<div class="topic-metadata">

**Author:** [@klickverbot](https://www.ruby-forum.com/u/klickverbot)\
**Replies:** 2\
**Last updated:** [December 24, 2008, 12:41pm UTC](https://www.ruby-forum.com/t/auto-completion-for-dynamically-created-input-fields/144016 "2008-12-24T12:41:37Z")

</div>

While working on a small application for a friend of mine, I stumbled upon a particularly tricky problem. But first a few lines about my general setup: Among other things, my application is managing Employees, each of…

---

## [Ruby-Lang.org in Italiano](https://www.ruby-forum.com/t/ruby-lang-org-in-italiano/153402)

<div class="topic-metadata">

**Author:** [@phakko](https://www.ruby-forum.com/u/phakko)\
**Replies:** 2\
**Last updated:** [November 17, 2008, 12:53am UTC](https://www.ruby-forum.com/t/ruby-lang-org-in-italiano/153402 "2008-11-17T00:53:45Z")

</div>

Ciao a tutti, Volevo informarvi che Ã¨ ora disponibile la versione italiana del sito ufficiale di Ruby: http://www.ruby-lang.org/it/ Ci abbiamo messo un po’ a tradurlo (vedi Italian translation of Ruby-Lang.org fina…

---

## [Can extensions use it's own assets as is?](https://www.ruby-forum.com/t/can-extensions-use-its-own-assets-as-is/147056)

<div class="topic-metadata">

**Author:** [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Replies:** 2\
**Last updated:** [August 28, 2008, 2:28am UTC](https://www.ruby-forum.com/t/can-extensions-use-its-own-assets-as-is/147056 "2008-08-28T02:28:20Z")

</div>

I was wondering if Radiant extensions are able utilize their own assets without moving them to the public directory of your Radiant instance. I think it would be great if you could.

---

## [Problem with DreamHosts when trying to use Radiant CMS](https://www.ruby-forum.com/t/problem-with-dreamhosts-when-trying-to-use-radiant-cms/144650)

<div class="topic-metadata">

**Author:** [@lopez](https://www.ruby-forum.com/u/lopez)\
**Replies:** 2\
**Last updated:** [July 31, 2008, 10:13pm UTC](https://www.ruby-forum.com/t/problem-with-dreamhosts-when-trying-to-use-radiant-cms/144650 "2008-07-31T22:13:41Z")

</div>

Hi, Well eh followed every step of this Wiki-\> http://wiki.radiantcms.org/How\_To\_Deploy\_on\_Dreamhost But now I find the following problem: When I go to visit the website to see the result I find it Next → “Ruby on…

---

## [Apache HOW-TO](https://www.ruby-forum.com/t/apache-how-to/142166)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 2\
**Last updated:** [July 6, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/apache-how-to/142166 "2008-07-06T15:29:18Z")

</div>

Can anyone please recommend a good tutorial on how to deploy a rails app on apache? My system info is: linux (non-debian) ruby 1.8.6 (2007-03-13 patchlevel 0) \[i686-linux\] gem -v 1.2.0 rails -v Rails 2.0.2 apachec…

---

## [Question on Deploying a Ferret DRb server](https://www.ruby-forum.com/t/question-on-deploying-a-ferret-drb-server/120797)

<div class="topic-metadata">

**Author:** [@sheldonmaloff](https://www.ruby-forum.com/u/sheldonmaloff)\
**Replies:** 2\
**Last updated:** [November 20, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/question-on-deploying-a-ferret-drb-server/120797 "2007-11-20T19:31:20Z")

</div>

(Sorry if some people see this twice. I originally posted this question from ruby-forum.com, but didn’t realize that the Ferret forum was a mirror and that I actually wasn’t a member.) Anyway, I’ve read all the docum…

---

## [Problems after gem update](https://www.ruby-forum.com/t/problems-after-gem-update/108542)

<div class="topic-metadata">

**Author:** [@georgina](https://www.ruby-forum.com/u/georgina)\
**Replies:** 2\
**Last updated:** [July 4, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/problems-after-gem-update/108542 "2007-07-04T16:17:54Z")

</div>

Hi, I had ferret working wonderfully but i am regretting doing a gem update today. I had alot of trouble first installing it and was really happy to have it working. The upgrade was from 0.3.1 to 0.4.0. The problem i…

---

## [Sending mail (ActionMailer) after a delay](https://www.ruby-forum.com/t/sending-mail-actionmailer-after-a-delay/88563)

<div class="topic-metadata">

**Author:** [@akapal](https://www.ruby-forum.com/u/akapal)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 3:39am UTC](https://www.ruby-forum.com/t/sending-mail-actionmailer-after-a-delay/88563 "2007-03-13T03:39:47Z")

</div>

Hi, I’d like my app to be able to send an email off at a predetermined time after a given contoller action occurs. Oh, and I’d like to be able to change this time on the fly (ie, reset the timer) if the controller ac…

---

## [Mongrel 0.3.13.2 Pre-Release -- RailsConf](https://www.ruby-forum.com/t/mongrel-0-3-13-2-pre-release-railsconf/64359)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 7:22pm UTC](https://www.ruby-forum.com/t/mongrel-0-3-13-2-pre-release-railsconf/64359 "2006-06-24T19:22:57Z")

</div>

Hey Folks, I’ve been meeting lots of great folks at RailsConf and in my spare time hacking up this latest pre-release of Mongrel. It features the following new goodies: Change to user:group is done after the socket…

---

## [Retrieve the current controller name from a view](https://www.ruby-forum.com/t/retrieve-the-current-controller-name-from-a-view/60552)

<div class="topic-metadata">

**Author:** [@Gael\_P](https://www.ruby-forum.com/u/Gael_P)\
**Replies:** 2\
**Last updated:** [May 15, 2006, 3:47pm UTC](https://www.ruby-forum.com/t/retrieve-the-current-controller-name-from-a-view/60552 "2006-05-15T15:47:10Z")

</div>

Hi all, I wonder if it’s possible to retrieve the current controller name and possibly the action when you’re in a view. i.e. I call the same template/partial view from different controllers and I’d like to know when …

---

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

<div class="topic-metadata">

**Author:** [@Scott\_Phelps](https://www.ruby-forum.com/u/Scott_Phelps)\
**Replies:** 2\
**Last updated:** [December 17, 2005, 5:57pm UTC](https://www.ruby-forum.com/t/link-to-question/70992 "2005-12-17T17:57:37Z")

</div>

Man, I was up until 5am coding Hey, does anyone know how to pass extra paramaters in a link\_to - I can’t seem to get the syntax right: This does NOT work: \<%= link\_to 'General',{:action =\> "…

---

## [Default route not working?](https://www.ruby-forum.com/t/default-route-not-working/50010)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 2\
**Last updated:** [December 12, 2005, 3:36am UTC](https://www.ruby-forum.com/t/default-route-not-working/50010 "2005-12-12T03:36:20Z")

</div>

Hi everyone, Did this stop working in a recent version of Rails? I’m on 0.14.3 right now. map.connect ‘’, :controller =\> “personnel”, :action =\> ‘list’ When running this, shouldn’t http://localhost:3000/ bring me to …

---

## [How to use with existing app?](https://www.ruby-forum.com/t/how-to-use-with-existing-app/48786)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 2\
**Last updated:** [December 3, 2005, 12:09pm UTC](https://www.ruby-forum.com/t/how-to-use-with-existing-app/48786 "2005-12-03T12:09:36Z")

</div>

I have rewritten one of our sites using Rails, but now need to add a forum to it. Would love to use a native Rails app for that purpose, and RForum seems the way to go. But how to integrate RForum with an existing a…

---

## [I need to create a validation using regex](https://www.ruby-forum.com/t/i-need-to-create-a-validation-using-regex/260462)

<div class="topic-metadata">

**Author:** [@ryuk](https://www.ruby-forum.com/u/ryuk)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 6:39am UTC](https://www.ruby-forum.com/t/i-need-to-create-a-validation-using-regex/260462 "2020-11-06T06:39:47Z")

</div>

Using ruby 2.6.1, rails 6.0.3.4 Do not allow /n, /t, more than 1 whitespace Allow only uppercase and lowercase letters, numbers, . - / chars but only between letters and/or numbers. At the moment have only this. /^\[A…

---

## [Method to class difficulties](https://www.ruby-forum.com/t/method-to-class-difficulties/259525)

<div class="topic-metadata">

**Author:** [@rubynewbee](https://www.ruby-forum.com/u/rubynewbee)\
**Replies:** 1\
**Last updated:** [May 12, 2020, 3:35am UTC](https://www.ruby-forum.com/t/method-to-class-difficulties/259525 "2020-05-12T03:35:19Z")

</div>

With some help from here I got the menu method working as a standalone but when I try to make it into a class I can’t seem to get the syntax right. Any pointers would be appreciated. Thanks, Mike def initialize(mHa…

---

## [From Delphi's Indy10 to Ruby](https://www.ruby-forum.com/t/from-delphis-indy10-to-ruby/242628)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 9, 2015, 1:33pm UTC](https://www.ruby-forum.com/t/from-delphis-indy10-to-ruby/242628 "2015-07-09T13:33:45Z")

</div>

I come from Delphi programming and I have chosen Rubyi as the new programming language that I would like to learn. In Delphi XE8, I build an internet tools generally using the TIdMappedPortTCP, a multithreaded compone…

---

## [Migrating Topincs to nginx](https://www.ruby-forum.com/t/migrating-topincs-to-nginx/245705)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 11, 2013, 12:51am UTC](https://www.ruby-forum.com/t/migrating-topincs-to-nginx/245705 "2013-07-11T00:51:31Z")

</div>

Dear list, This is going to be a long post, but I hope you will bear with me. I am trying to find a way to run Topincs, an agile web application framework based on Topic Maps paradigm, on nginx. Topincs is a typical…

---

## [Tutorial on profiling JRuby with NetBeans profiler](https://www.ruby-forum.com/t/tutorial-on-profiling-jruby-with-netbeans-profiler/224022)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 27, 2012, 8:47am UTC](https://www.ruby-forum.com/t/tutorial-on-profiling-jruby-with-netbeans-profiler/224022 "2012-10-27T08:47:14Z")

</div>

I’ve been working a lot with the NetBeans profiler lately, and I wrote up a tutorial on how I’ve been using it. I hope others will find it useful. http://polycrystal.org/2012/10/26/profiling\_jruby\_with\_netbeans.html …

---

## [Taking about a minute do display error in development](https://www.ruby-forum.com/t/taking-about-a-minute-do-display-error-in-development/222773)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [September 10, 2012, 2:15pm UTC](https://www.ruby-forum.com/t/taking-about-a-minute-do-display-error-in-development/222773 "2012-09-10T14:15:45Z")

</div>

All of the sudden it takes about a minute to display error in development environment. Server just waits a minute before displaying standard error message. I have no idea what could cause a problem. by TheR

---

## [Fwd: Fwd: utf-8 or unicode on Swing jlabel](https://www.ruby-forum.com/t/fwd-fwd-utf-8-or-unicode-on-swing-jlabel/221442)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 19, 2012, 2:19am UTC](https://www.ruby-forum.com/t/fwd-fwd-utf-8-or-unicode-on-swing-jlabel/221442 "2012-07-19T02:19:14Z")

</div>

Hi… I try to print a utf-8 string into a jlabel but it’s not readeable… but when i put to console all are ok… any idea of a solution …

---

## [Prevent user from abusing form](https://www.ruby-forum.com/t/prevent-user-from-abusing-form/210367)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [August 5, 2011, 7:44pm UTC](https://www.ruby-forum.com/t/prevent-user-from-abusing-form/210367 "2011-08-05T19:44:53Z")

</div>

I have a Forgot my password page where the user enters his/her email. How can I prevent someone from entering different email addresses trying to guess them or spamming my users? Is there like an IP-based time expirin…

---

## [X-Accel-Expires passed or not?](https://www.ruby-forum.com/t/x-accel-expires-passed-or-not/205991)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 20, 2011, 7:38am UTC](https://www.ruby-forum.com/t/x-accel-expires-passed-or-not/205991 "2011-04-20T07:38:17Z")

</div>

Hi all, I was looking into fastcgi\_cache settings, in Nginx. Is it required to pass the header X-Accel-Expires, in order for Nginx to cache the data, or do I have set only the fastcgi\_no\_cache and fastcgi\_cache\_bypas…

---

## [Sheets extension and packing/minification](https://www.ruby-forum.com/t/sheets-extension-and-packing-minification/199383)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 20, 2010, 1:21am UTC](https://www.ruby-forum.com/t/sheets-extension-and-packing-minification/199383 "2010-11-20T01:21:22Z")

</div>

Has anyone had any success with packing/minifying/compressing the css and javascript when using the sheets extension or sns extension? We’re currently using the sns extension, but I’m looking to update the site to us…

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

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