# Top

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

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

---

## [Newsletter extension questions](https://www.ruby-forum.com/t/newsletter-extension-questions/154131)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 2\
**Last updated:** [November 25, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/newsletter-extension-questions/154131 "2008-11-25T18:32:13Z")

</div>

Hey all, I am about to add the newsletter extension to a project, but first I wanted to ask a few questions about it. Can it send an email confirmation back to the person that signed up? Is it set up to force them t…

---

## [Method\_defined? doesn't see module methods?](https://www.ruby-forum.com/t/method-defined-doesnt-see-module-methods/127282)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 2\
**Last updated:** [January 27, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/method-defined-doesnt-see-module-methods/127282 "2008-01-27T22:10:40Z")

</div>

module M def self.howdy “hello” end end p M.method\_defined? :howdy #=\> false What question should I ask in order to get “true”? Thx - m.

---

## [Can't search for OR (as in the state)](https://www.ruby-forum.com/t/cant-search-for-or-as-in-the-state/111186)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 11:53am UTC](https://www.ruby-forum.com/t/cant-search-for-or-as-in-the-state/111186 "2007-09-27T11:53:28Z")

</div>

I’m trying to search a Model by the state field using Acts As Ferret. The query for this is ‘+state:NY’ (substitute state abbreviation for NY). This works find however ‘+state:OR’ returns nothing, though just ‘portla…

---

## [Retour sur Pound + Mongrel?](https://www.ruby-forum.com/t/retour-sur-pound-mongrel/64833)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/retour-sur-pound-mongrel/64833 "2006-08-15T14:19:44Z")

</div>

Bonjour Ã tous, quelqu’un a-t-il dÃ©jÃ mis en prod un Pound + Mongrel ? Cette solution a l’air sÃ©duisante et semble offrir ce qu’il me faut pour un client Ã moi (Ã savoir load-balancing, SSL, et simplicitÃ©). si…

---

## [Help with mysql and installer](https://www.ruby-forum.com/t/help-with-mysql-and-installer/102330)

<div class="topic-metadata">

**Author:** [@slembcke](https://www.ruby-forum.com/u/slembcke)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:15pm UTC](https://www.ruby-forum.com/t/help-with-mysql-and-installer/102330 "2006-08-15T14:15:12Z")

</div>

I don’t use mysql, so fixing mysql problems is kind of hard for me :-). I’d like to get native mysql support into the installer. I’d really like to get it in today. So I’d like some help. It’s not all that complex–…

---

## [\[ANN\] Bloggy 0.1.0 Release](https://www.ruby-forum.com/t/ann-bloggy-0-1-0-release/74364)

<div class="topic-metadata">

**Author:** [@maurocicio](https://www.ruby-forum.com/u/maurocicio)\
**Replies:** 2\
**Last updated:** [February 28, 2006, 1:11am UTC](https://www.ruby-forum.com/t/ann-bloggy-0-1-0-release/74364 "2006-02-28T01:11:56Z")

</div>

Hello folks, We announce the first version of Bloggy, a blog engine. While working on Riki (http://smart-engines.dyndns.org/riki) we at smart-engines have decided to invest some time investigating how to make as eas…

---

## [Issue with has\_and\_belongs\_to\_many connection to an inherited subclass](https://www.ruby-forum.com/t/issue-with-has-and-belongs-to-many-connection-to-an-inherited-subclass/261506)

<div class="topic-metadata">

**Author:** [@nikign](https://www.ruby-forum.com/u/nikign)\
**Replies:** 1\
**Last updated:** [July 16, 2021, 1:50am UTC](https://www.ruby-forum.com/t/issue-with-has-and-belongs-to-many-connection-to-an-inherited-subclass/261506 "2021-07-16T01:50:31Z")

</div>

I am trying to connect two classes (conversation and user) by a many-to-many relationship in Ruby on Rails. I set them both up and added a connection table called conversations\_custom\_users to connect them and it was wor…

---

## [How to Properly Use caching in Rails 5.2.3?](https://www.ruby-forum.com/t/how-to-properly-use-caching-in-rails-5-2-3/253174)

<div class="topic-metadata">

**Author:** [@giridharan](https://www.ruby-forum.com/u/giridharan)\
**Replies:** 1\
**Last updated:** [October 16, 2019, 7:01pm UTC](https://www.ruby-forum.com/t/how-to-properly-use-caching-in-rails-5-2-3/253174 "2019-10-16T19:01:42Z")

</div>

How to use Action caching? How to expire the action caching in the model? My controller app/controllers/normal\_reservation\_controller.rb class NormalReservationsController \< ApplicationController cache\_sweeper: no…

---

## [Building a redundant mail service](https://www.ruby-forum.com/t/building-a-redundant-mail-service/232108)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 17, 2015, 10:55am UTC](https://www.ruby-forum.com/t/building-a-redundant-mail-service/232108 "2015-12-17T10:55:54Z")

</div>

Hello, I would appreciate your advice on the following: We are trying to build a redundant mail service, and we are investigating the use of nginx as smtp/pop3/imap proxy with TLS/SSL support (ports 25/587, 143/993, …

---

## [How does Nginx handle the request of the upstream server when it is marked as \`down\`?](https://www.ruby-forum.com/t/how-does-nginx-handle-the-request-of-the-upstream-server-when-it-is-marked-as-down/241539)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 13, 2015, 3:08pm UTC](https://www.ruby-forum.com/t/how-does-nginx-handle-the-request-of-the-upstream-server-when-it-is-marked-as-down/241539 "2015-04-13T15:08:04Z")

</div>

For a simple Nginx configuration like this: For a simple Nginx configuration like this: upstream myservers { server 127.0.0.1:3000; server 127.0.0.1:3001; } server { listen 80; location / { proxy\_pass http…

---

## [\[OT\] Offerta di lavoro / Sviluppatore software / Assunzione fulltime Londra](https://www.ruby-forum.com/t/ot-offerta-di-lavoro-sviluppatore-software-assunzione-fulltime-londra/233299)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 2, 2014, 5:24pm UTC](https://www.ruby-forum.com/t/ot-offerta-di-lavoro-sviluppatore-software-assunzione-fulltime-londra/233299 "2014-12-02T17:24:12Z")

</div>

Salve a tutti, scrivo per girarvi un’offerta di lavoro da parte di Yieldify (con sede Londra), attualmente sono aperte diverse posizioni IT, qui elencate: http://yieldify.com/career.php Sebbene può sembrare che l’ann…

---

## [Assets without fingerprint with rails 4](https://www.ruby-forum.com/t/assets-without-fingerprint-with-rails-4/237314)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 8, 2013, 11:26am UTC](https://www.ruby-forum.com/t/assets-without-fingerprint-with-rails-4/237314 "2013-11-08T11:26:11Z")

</div>

Hi, Rails 4 seems to don’t add asset file with original filename (eg: test.jpg), But only fingerprint version (eg: test\_hash.jpg). This is not very cool for mailer. If I put an image\_tag() into my mailer, then I chan…

---

## [Still missing gnuradio-runtime in OOT modules](https://www.ruby-forum.com/t/still-missing-gnuradio-runtime-in-oot-modules/246271)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 10:33am UTC](https://www.ruby-forum.com/t/still-missing-gnuradio-runtime-in-oot-modules/246271 "2013-09-24T10:33:45Z")

</div>

I have the latest master installed and tested on a 64bit Fedora 18 . When I generate an OOT module with gr\_modtool i still cannot build/compile, since I get the error – checking for module ‘gnuradio-runtime’ – pac…

---

## [Location of ir.exe.config in IronRuby 1.1](https://www.ruby-forum.com/t/location-of-ir-exe-config-in-ironruby-1-1/201389)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 6, 2011, 6:49pm UTC](https://www.ruby-forum.com/t/location-of-ir-exe-config-in-ironruby-1-1/201389 "2011-01-06T18:49:27Z")

</div>

I’m trying to set the useLegacyV2RuntimeActivationPolicy option so that my IronRuby script can reference .NET 2.0 assemblies from .NET 4.0. I found a few references that say that .NET will run the script in IronRuby’s…

---

## [Cucumber login problem](https://www.ruby-forum.com/t/cucumber-login-problem/187810)

<div class="topic-metadata">

**Author:** [@tornado](https://www.ruby-forum.com/u/tornado)\
**Replies:** 1\
**Last updated:** [April 29, 2010, 6:14pm UTC](https://www.ruby-forum.com/t/cucumber-login-problem/187810 "2010-04-29T18:14:05Z")

</div>

Hello all, I am facing a weird problem.I am just trying to login but after entering correct parameters it is showing error as invalid username and password. I think there is some configuration or fixtures problem beca…

---

## [AFC (Automatic Frequency Control) FM demo python and GRC scripts](https://www.ruby-forum.com/t/afc-automatic-frequency-control-fm-demo-python-and-grc-scripts/185265)

<div class="topic-metadata">

**Author:** [@Martin\_DvH](https://www.ruby-forum.com/u/Martin_DvH)\
**Replies:** 1\
**Last updated:** [March 17, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/afc-automatic-frequency-control-fm-demo-python-and-grc-scripts/185265 "2010-03-17T21:10:40Z")

</div>

Hi all, I wrote two gnuradio AFC (Automatic Frequency Control) demos This AFC technique can come in handy when your tuning is critical and there is a frequency offset or doppler shift to be expected. (Like when tryin…

---

## [Option mime (-m) does'nt work](https://www.ruby-forum.com/t/option-mime-m-doesnt-work/147585)

<div class="topic-metadata">

**Author:** [@anse](https://www.ruby-forum.com/u/anse)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/option-mime-m-doesnt-work/147585 "2008-09-03T18:12:32Z")

</div>

Trying to start Mongrel with: ruby script/server -p 3001 -m config/mongrel\_mime.yml The config-file tells Mongrel to use ISO-8859-1 and includes: .htm: text/html; charset=ISO-8859-1 .html: text/html; charset=ISO-8859…

---

## [Can lock\_version be ignored?](https://www.ruby-forum.com/t/can-lock-version-be-ignored/141136)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 6:27pm UTC](https://www.ruby-forum.com/t/can-lock-version-be-ignored/141136 "2008-06-22T18:27:00Z")

</div>

I have a need to update a record but without changing the lock\_version – or to at least .save without triggering a stale error if the lock\_version has changed. Is either possible? I’ve tried the API and some blogs, so…

---

## [Acts\_as\_paranoid Unknown key(s): with\_deleted](https://www.ruby-forum.com/t/acts-as-paranoid-unknown-key-s-with-deleted/134899)

<div class="topic-metadata">

**Author:** [@jared](https://www.ruby-forum.com/u/jared)\
**Replies:** 1\
**Last updated:** [April 16, 2008, 12:31am UTC](https://www.ruby-forum.com/t/acts-as-paranoid-unknown-key-s-with-deleted/134899 "2008-04-16T00:31:40Z")

</div>

Trying this straight from the README: I have acts\_as\_paranoid in my model (Course), and added the deleted\_at column. This is OK: Course.find\_with\_deleted(:all) Course.find(:all, :with\_deleted =\> true) gives: Argum…

---

## [Viewing some links!](https://www.ruby-forum.com/t/viewing-some-links/107587)

<div class="topic-metadata">

**Author:** [@feduz](https://www.ruby-forum.com/u/feduz)\
**Replies:** 1\
**Last updated:** [June 23, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/viewing-some-links/107587 "2007-06-23T19:17:01Z")

</div>

Hello everyone hope u r doing great… \[sorry if i doubled posted this ididnt know which is the right place to do so the other post is on RoR forum (http://www.ruby-forum.com/topic/112870#new)\] Im a almost three weeks o…

---

## [Rails + Oracle problems](https://www.ruby-forum.com/t/rails-oracle-problems/92551)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 1\
**Last updated:** [April 20, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/rails-oracle-problems/92551 "2007-04-20T16:53:24Z")

</div>

I’m having a problem getting Rails to connect to my Oracle database. I have Ruby/Rails installed on a SunOS (sun0) and my Oracle database (mydb) is installed on another SunOS (sun1). sun1 has the Oracle instant clien…

---

## [Using ActiveRecord with flat files](https://www.ruby-forum.com/t/using-activerecord-with-flat-files/86505)

<div class="topic-metadata">

**Author:** [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Replies:** 1\
**Last updated:** [February 22, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/using-activerecord-with-flat-files/86505 "2007-02-22T20:42:40Z")

</div>

For the application I’m working on I would like to not save the uploaded files in the database as I have done previously. It seems more “natural” to simply store them in a directory. Now I’m thinking that it would be …

---

## [Good tutorials to start with Rails 4](https://www.ruby-forum.com/t/good-tutorials-to-start-with-rails-4/241785)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 4, 2015, 3:57pm UTC](https://www.ruby-forum.com/t/good-tutorials-to-start-with-rails-4/241785 "2015-05-04T15:57:55Z")

</div>

Hello everyone!! I am new to Ruby on Rails. Can anyone please lead me to few good tutorials to start with Rails 4. Thank you,

---

## [Html output for variables](https://www.ruby-forum.com/t/html-output-for-variables/240105)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [March 29, 2014, 12:54am UTC](https://www.ruby-forum.com/t/html-output-for-variables/240105 "2014-03-29T00:54:26Z")

</div>

Hi, To create a graph i am passing table like bellow htmloutput=’ \<td class=“graphable” id=“absolute:data:data1:”\>9 10 ' now problem is, the value comes from variables like this : #{hash\[“1”\]} but when i use this v…

---

## [USRP N200 with GNU v3.7 fails](https://www.ruby-forum.com/t/usrp-n200-with-gnu-v3-7-fails/237658)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 23, 2013, 2:12pm UTC](https://www.ruby-forum.com/t/usrp-n200-with-gnu-v3-7-fails/237658 "2013-11-23T14:12:07Z")

</div>

Hi People, My system Ubuntu 13.04 GNURADIO 3.7.1.1 USRP N200 I run: cd /usr/local/src sudo wget sudo tar xvf UHD\_003.003.000.tar.gz cd uhd/host mkdir build cd build cmake …/ make make test sudo make instal…

---

## [Trying to by pass error](https://www.ruby-forum.com/t/trying-to-by-pass-error/235504)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 26, 2013, 3:32am UTC](https://www.ruby-forum.com/t/trying-to-by-pass-error/235504 "2013-06-26T03:32:03Z")

</div>

Hello all, I am looking for a little insight on how to by pass this error when running my sctipt… any help is greatly appreciated. mysqldump: Got error: 1044: Access denied for user ‘root’@‘localhost’ to database ‘inf…

---

## [Rewrite a Shortened URL to a Pretty URL?](https://www.ruby-forum.com/t/rewrite-a-shortened-url-to-a-pretty-url/222400)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 1, 2012, 7:47pm UTC](https://www.ruby-forum.com/t/rewrite-a-shortened-url-to-a-pretty-url/222400 "2012-09-01T19:47:08Z")

</div>

Hi, I was hoping someone could help me with a rewrite question. Currently, I use a basic rewrite for my url shortener. if (!-e $request\_filename) { rewrite ^/(.\*)$ /entry/index.php?id=$1 permanent; } This forwards …

---

## [Call method from view](https://www.ruby-forum.com/t/call-method-from-view/216131)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 26, 2012, 6:06pm UTC](https://www.ruby-forum.com/t/call-method-from-view/216131 "2012-01-26T18:06:17Z")

</div>

I want to call a method that i have implemented in the controller and i don’t know how to call it from the index.html.erb file. Please help.

---

## [Ruby, How Do I Love Thee? Let Me Count the Ways](https://www.ruby-forum.com/t/ruby-how-do-i-love-thee-let-me-count-the-ways/213941)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 29, 2011, 9:09am UTC](https://www.ruby-forum.com/t/ruby-how-do-i-love-thee-let-me-count-the-ways/213941 "2011-12-29T09:09:30Z")

</div>

I just have to say that Ruby is very, very convenient. Today while working I needed to figure out which ethernet MAC was missing from a device. So I selected and copied the complete text of a web page displaying all …

---

## [Step By Step for Ruby](https://www.ruby-forum.com/t/step-by-step-for-ruby/214256)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 26, 2011, 2:58am UTC](https://www.ruby-forum.com/t/step-by-step-for-ruby/214256 "2011-11-26T02:58:40Z")

</div>

I need a little help with a step by step of Ruby. How I should I begin? How did you start? What was the biggest problem you’ve ran into? What is the point of Ruby? How does it all transfer to Rails?

---

## [Rails 3.1 e compass](https://www.ruby-forum.com/t/rails-3-1-e-compass/211562)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 7, 2011, 10:53am UTC](https://www.ruby-forum.com/t/rails-3-1-e-compass/211562 "2011-09-07T10:53:29Z")

</div>

Adesso che rails 3.1 ha sass integrato ha ancora senso usare compass? Quanti di voi lo utilizzano? Potrei farne a meno se non fosse per blueprint.

---

## [Table helper not rendering table](https://www.ruby-forum.com/t/table-helper-not-rendering-table/204697)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 18, 2011, 9:13pm UTC](https://www.ruby-forum.com/t/table-helper-not-rendering-table/204697 "2011-03-18T21:13:01Z")

</div>

Hey all, layout\_helper.rb: def table(collection, header\_names, fields, class\_name) return false unless collection.any? table\_str = “” table\_str += “\<table id=”" + class\_name + “” class="" + class\_name “”\>\\n" tab…

---

## [Cant find header file ruby.h](https://www.ruby-forum.com/t/cant-find-header-file-ruby-h/204231)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 9, 2011, 7:25pm UTC](https://www.ruby-forum.com/t/cant-find-header-file-ruby-h/204231 "2011-03-09T19:25:45Z")

</div>

hi I am trying to install passenger gem. But it is throwing the error.the error is attached in screen shot. I am using rails 2.3.10 ruby 1.8.7 enterprise edition plz gimme solution for this… Its very urgent for me…

---

## [Multiple roles of a user with STI](https://www.ruby-forum.com/t/multiple-roles-of-a-user-with-sti/201970)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 19, 2011, 4:37am UTC](https://www.ruby-forum.com/t/multiple-roles-of-a-user-with-sti/201970 "2011-01-19T04:37:40Z")

</div>

Folks, I have setup Single Table Inheritance with my User model. Now the user can have multiple roles. In my situation (a school app) the user can be a Teacher (through which I want to access the students, grades etc) …

---

## [IDE Ruby](https://www.ruby-forum.com/t/ide-ruby/193708)

<div class="topic-metadata">

**Author:** [@marco\_p](https://www.ruby-forum.com/u/marco_p)\
**Replies:** 4\
**Last updated:** [August 23, 2010, 7:09pm UTC](https://www.ruby-forum.com/t/ide-ruby/193708 "2010-08-23T19:09:21Z")

</div>

Ciao a tutti! Ho deciso di iniziare a studiare ruby. In particolare ora sto cercando qualche ide di sviluppo. Avete qualche suggerimento? Grazie!

---

## [Haml issue](https://www.ruby-forum.com/t/haml-issue/186571)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 4\
**Last updated:** [April 9, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/haml-issue/186571 "2010-04-09T19:14:40Z")

</div>

Anyone know what’s wrong with this haml that it’s not displaying a chart (= @chart)? %table.body-layout %tr %td{:colspan =\> 2} .panel#students-chart %h3.header Students #…

---

## [Error Handling in Scaffolds](https://www.ruby-forum.com/t/error-handling-in-scaffolds/177230)

<div class="topic-metadata">

**Author:** [@Phoenix\_R](https://www.ruby-forum.com/u/Phoenix_R)\
**Replies:** 4\
**Last updated:** [October 13, 2009, 10:49pm UTC](https://www.ruby-forum.com/t/error-handling-in-scaffolds/177230 "2009-10-13T22:49:38Z")

</div>

Howdy all, I’ve never been one to use scaffolds in my Rails projects, but I’m looking at it right now as a possible time saver. I spend a ridiculous amount of time building the forms, and slightly less (but more tha…

---

## [Set a particular location for address starting with '?'](https://www.ruby-forum.com/t/set-a-particular-location-for-address-starting-with/176047)

<div class="topic-metadata">

**Author:** [@mvip](https://www.ruby-forum.com/u/mvip)\
**Replies:** 4\
**Last updated:** [September 24, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/set-a-particular-location-for-address-starting-with/176047 "2009-09-24T17:13:46Z")

</div>

I think I’ve tried all different approaches for this, but here is the problem: I need to separate all URLs starting with ‘/?’ from the remaining ones (eg /?p=12). I’ve tried a bunch of different regex matches, but non…

---

## [Monitoring time spent running classes and methods](https://www.ruby-forum.com/t/monitoring-time-spent-running-classes-and-methods/161211)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 4\
**Last updated:** [February 24, 2009, 1:58pm UTC](https://www.ruby-forum.com/t/monitoring-time-spent-running-classes-and-methods/161211 "2009-02-24T13:58:15Z")

</div>

I would like to know if there is any way to know how much time my classes and methods are running. I would like to improve it running the test cases faster so I need to know which ones should be the first to improve. …

---

## [Sharing view between new and edit actions](https://www.ruby-forum.com/t/sharing-view-between-new-and-edit-actions/153176)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 4\
**Last updated:** [November 13, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/sharing-view-between-new-and-edit-actions/153176 "2008-11-13T21:46:18Z")

</div>

Hi, I had an argument with the web designer about a philosophical(not very practical) issue. Normally, we have new.html.erb and edit.html.erb and they share \_form.html.erb as a partial render. The designer said that…

---

## [Problem with attachment\_fu and ImageScience](https://www.ruby-forum.com/t/problem-with-attachment-fu-and-imagescience/149135)

<div class="topic-metadata">

**Author:** [@Victor\_Hahn](https://www.ruby-forum.com/u/Victor_Hahn)\
**Replies:** 4\
**Last updated:** [September 22, 2008, 11:51am UTC](https://www.ruby-forum.com/t/problem-with-attachment-fu-and-imagescience/149135 "2008-09-22T11:51:21Z")

</div>

Hi, I’m having trouble getting the attachment\_fu plugin to generate thumbnails. I’m using ImageScience and everything worked flawlessly on my laptop, but on the deployment server no thumbnails are being generated. Bo…

---

## [Script/generate namespaced controllers](https://www.ruby-forum.com/t/script-generate-namespaced-controllers/143748)

<div class="topic-metadata">

**Author:** [@crossblaim](https://www.ruby-forum.com/u/crossblaim)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/script-generate-namespaced-controllers/143748 "2008-07-22T13:56:30Z")

</div>

does this happen to anyone else? edge rails. kain-osx:careme kain$ script/generate controller api/documents index show create app/controllers/api create app/helpers/api create app/views/api/documents create tes…

---

## [JavaScript + RHTML + Ruby?](https://www.ruby-forum.com/t/javascript-rhtml-ruby/130476)

<div class="topic-metadata">

**Author:** [@corneto82](https://www.ruby-forum.com/u/corneto82)\
**Replies:** 4\
**Last updated:** [March 3, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/javascript-rhtml-ruby/130476 "2008-03-03T18:02:37Z")

</div>

necesito obtener el valor de la variable url (JavaScript) y enviarla al controlador, algo asi: \<%= button\_to 'Generar rerporte', {:action =\> ‘generar\_reporte’, :reporte =\> 1, :url =\> ‘return obtener\_url()’ …

---

## [File uploads in comments](https://www.ruby-forum.com/t/file-uploads-in-comments/123191)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 4\
**Last updated:** [December 19, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/file-uploads-in-comments/123191 "2007-12-19T22:09:45Z")

</div>

Does anyone have an extension that would allow site visitors to upload pictures with their comments?

---

## [Rails 1.2.5 - : warning: Object#type is deprecated; use Object#class](https://www.ruby-forum.com/t/rails-1-2-5-warning-object-type-is-deprecated-use-object-class/117567)

<div class="topic-metadata">

**Author:** [@CCH](https://www.ruby-forum.com/u/CCH)\
**Replies:** 4\
**Last updated:** [October 18, 2007, 6:21am UTC](https://www.ruby-forum.com/t/rails-1-2-5-warning-object-type-is-deprecated-use-object-class/117567 "2007-10-18T06:21:02Z")

</div>

Hi After updating to 1.2.5, I am getting : warning: Object#type is deprecated; use Object#class for this code snippet AuditTrail.create(:record\_id =\> record.id, :record\_type =\> record.type.name, :event =\> event, :…

---

## [\[ANN\] Scheduler extension](https://www.ruby-forum.com/t/ann-scheduler-extension/116028)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 4\
**Last updated:** [October 2, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028 "2007-10-02T15:18:46Z")

</div>

Ask and you shall receive. The Scheduler extension is now available from: http://dev.radiantcms.org/svn/radiant/trunk/extensions/scheduler Its primary job is to create publish and expiration dates (or appearance and …

---

## [NoMethodError in StoreController#add\_to\_cart](https://www.ruby-forum.com/t/nomethoderror-in-storecontroller-add-to-cart/109473)

<div class="topic-metadata">

**Author:** [@kapil\_kaushik](https://www.ruby-forum.com/u/kapil_kaushik)\
**Replies:** 4\
**Last updated:** [July 22, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/nomethoderror-in-storecontroller-add-to-cart/109473 "2007-07-22T22:55:09Z")

</div>

Hi I am new to Rails, and I was trying to follow the “Agile Web D. With Rails” textbook. As I was trying to create the “Add\_to\_cart” application, I found that when I clicked the “Add to Cart” link on my http://localh…

---

## [Usrp\_sink\_s and other quick questions](https://www.ruby-forum.com/t/usrp-sink-s-and-other-quick-questions/104693)

<div class="topic-metadata">

**Author:** [@stevenc](https://www.ruby-forum.com/u/stevenc)\
**Replies:** 4\
**Last updated:** [May 22, 2007, 6:08pm UTC](https://www.ruby-forum.com/t/usrp-sink-s-and-other-quick-questions/104693 "2007-05-22T18:08:51Z")

</div>

Hi all- Several quick questions. For usrp sink\_s, which bit of the short activates the MSB of the DAC chip? I.e., if I send 0bABCDEFGH IJKLMNOP, where each letter is either a 1 or a 0, which letter matches the MSB…

---

## [Join tables, must they be created manually?](https://www.ruby-forum.com/t/join-tables-must-they-be-created-manually/104545)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 4\
**Last updated:** [May 20, 2007, 4:10am UTC](https://www.ruby-forum.com/t/join-tables-must-they-be-created-manually/104545 "2007-05-20T04:10:51Z")

</div>

I’m sure this is a silly question, but I’ve been reading through the agile rails book and no surprises about using join tables so far. But I looked into the rails cookbook and it has this to say on the matter: “The m…

---

## [\[BUG\] waitpid for ruby-trunk](https://www.ruby-forum.com/t/bug-waitpid-for-ruby-trunk/88908)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 17, 2007, 4:17am UTC](https://www.ruby-forum.com/t/bug-waitpid-for-ruby-trunk/88908 "2007-03-17T04:17:22Z")

</div>

e$B$1$$$8$e!w$$$7$D$+$G$9e(B. e$B$3$s$I$Oe(B, ruby-trunk(ruby 1.9.0 (2007-03-14 patchlevel 0)\[i686-linux\]) e$B$NJ}$N%P%0$rJs9p$7$^$9e(B. e$B2\<5-%9%/%j%W%H$r\<B9T$9$k$He(B, e$BB(:B$Ke(B #\<Errno::ECHILD: No child proce…

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

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