# Top

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

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

---

## [How to select only some fields?](https://www.ruby-forum.com/t/how-to-select-only-some-fields/89935)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 10:30am UTC](https://www.ruby-forum.com/t/how-to-select-only-some-fields/89935 "2007-03-27T10:30:43Z")

</div>

hi, how can i select only some fields when ferret do the query? like a :select =\> ‘id’, for the find…i’ve tried to do it where i do the :include =\> \[:something\], but it doesn’t work…is it right or i’ve to put it in an…

---

## [Fxirb-0.3.1: now with .gem and setup.rb](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 4\
**Last updated:** [December 22, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039 "2006-12-22T18:14:02Z")

</div>

Get it at: http://rubyforge.org/projects/fxirb/ This is mostly a packaging release - fxirb now comes as a gem or a tarball with setup.rb, a rakfile that uses hoe to create the aforementioned gem, and a separate fxirb …

---

## [How to have a form within a form?](https://www.ruby-forum.com/t/how-to-have-a-form-within-a-form/56426)

<div class="topic-metadata">

**Author:** [@gopunk](https://www.ruby-forum.com/u/gopunk)\
**Replies:** 4\
**Last updated:** [March 31, 2006, 6:16am UTC](https://www.ruby-forum.com/t/how-to-have-a-form-within-a-form/56426 "2006-03-31T06:16:01Z")

</div>

Say I am building a blogging platform, and I want to allow users to be able to add an avatar without leaving the page, when they’re writing a post. I need the avatar information to be included in the form for the pos…

---

## [Telnet question](https://www.ruby-forum.com/t/telnet-question/69940)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [February 22, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/telnet-question/69940 "2006-02-22T19:54:09Z")

</div>

I’ll ask the questions first, and then show the code and examples below: waitfor is timing the script out. Is it because it isn’t recognizing that password input is complete? or is it because the device doesn’t issue…

---

## [Question about testing/removing signals after signal\_connect()](https://www.ruby-forum.com/t/question-about-testing-removing-signals-after-signal-connect/244783)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 13, 2016, 11:55pm UTC](https://www.ruby-forum.com/t/question-about-testing-removing-signals-after-signal-connect/244783 "2016-06-13T23:55:02Z")

</div>

Hi: I’m having a problem with connecting signals. I need to call signal\_connect several times with the same method. However, I don’t want it to execute the method several times: def do\_something() puts “Hello” en…

---

## [Under water texting with SDR transducers](https://www.ruby-forum.com/t/under-water-texting-with-sdr-transducers/243466)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 8, 2015, 1:52pm UTC](https://www.ruby-forum.com/t/under-water-texting-with-sdr-transducers/243466 "2015-11-08T13:52:20Z")

</div>

DO WE HAVE BLOCKS IN GNU WHERE I CAN CONVERT MY TEXT MESSAGE INTO BITS AND DO THE REVERSE AT THE RECEIVER

---

## [Is there a more efficient way to remove data from a string?](https://www.ruby-forum.com/t/is-there-a-more-efficient-way-to-remove-data-from-a-string/209497)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [July 15, 2011, 5:17am UTC](https://www.ruby-forum.com/t/is-there-a-more-efficient-way-to-remove-data-from-a-string/209497 "2011-07-15T05:17:08Z")

</div>

Hi I have a regex as follows REG1=Regexp.new=(‘dodgydata’) Basically, I need to read a file in line by line, and on each line that’s a match for my regex, remove everything from the point of the regex to the end of …

---

## [Long URLs cause nginx to hang](https://www.ruby-forum.com/t/long-urls-cause-nginx-to-hang/206662)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 6, 2011, 9:28pm UTC](https://www.ruby-forum.com/t/long-urls-cause-nginx-to-hang/206662 "2011-05-06T21:28:02Z")

</div>

Hey everyone, I’m having strange issues with very long url’s under Nginx 1.0.1 (also tested under 0.8.54). Certain URL’s with a large number of GET parameters are failing. I wrote a quick test script which only prints…

---

## [Which version of UHD firmware should I be using?](https://www.ruby-forum.com/t/which-version-of-uhd-firmware-should-i-be-using/188282)

<div class="topic-metadata">

**Author:** [@cbandes](https://www.ruby-forum.com/u/cbandes)\
**Replies:** 8\
**Last updated:** [May 13, 2010, 10:16pm UTC](https://www.ruby-forum.com/t/which-version-of-uhd-firmware-should-i-be-using/188282 "2010-05-13T22:16:39Z")

</div>

Hello, I am a bit confused, there seems to be two versions of the UHD firmware a “Raw Ethernet version” and a “UDP version”. I am about to try and move my USRP2 application to UHD and I was wondering which version I …

---

## [Issues with Kernel#select](https://www.ruby-forum.com/t/issues-with-kernel-select/179314)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 8\
**Last updated:** [November 24, 2009, 8:54pm UTC](https://www.ruby-forum.com/t/issues-with-kernel-select/179314 "2009-11-24T20:54:54Z")

</div>

Waking up a thread that is waiting in Kernel#select does not appear to work in ruby 1.9 Can someone please confirm that this is the case. Is this the intended behavior, or is this a bug? cat a.rb require ‘socket’ …

---

## [Obj.attr(qualifier) = value -- possible?](https://www.ruby-forum.com/t/obj-attr-qualifier-value-possible/168099)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 8\
**Last updated:** [May 15, 2009, 10:35pm UTC](https://www.ruby-forum.com/t/obj-attr-qualifier-value-possible/168099 "2009-05-15T22:35:51Z")

</div>

I want to write a method that can be called like this obj.attr(qualifier) = value So far, I don’t see how to achieve this. I’ve tried class C def attr=(qualifier, value) … end end as well as class D def attr(qu…

---

## [An array problem](https://www.ruby-forum.com/t/an-array-problem/164570)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 8\
**Last updated:** [April 3, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/an-array-problem/164570 "2009-04-03T18:21:12Z")

</div>

Hi i have a 3 arrays(A,B,C) which are results of some analysis. Array A has all members such that array B and C are actually subsets of A. The order of elements in array A is important. What i want is to list all mem…

---

## [Internationalisation et AR::Errors#full\_messages](https://www.ruby-forum.com/t/internationalisation-et-ar-errors-full-messages/142126)

<div class="topic-metadata">

**Author:** [@Arthur\_PSSSStry](https://www.ruby-forum.com/u/Arthur_PSSSStry)\
**Replies:** 8\
**Last updated:** [July 25, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/internationalisation-et-ar-errors-full-messages/142126 "2008-07-25T12:03:46Z")

</div>

Bonjour, L’idée de ActiveRecord::Errors#full\_messages à savoir : d’avoir des messages d’erreur générique sans sujet (ex : “is invalid”) et de préfixer ce message d’erreur avec le nom de l’attribut en question (avec …

---

## [Strange error.... ActionController::RoutingError](https://www.ruby-forum.com/t/strange-error-actioncontroller-routingerror/125872)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 8\
**Last updated:** [May 22, 2008, 1:41am UTC](https://www.ruby-forum.com/t/strange-error-actioncontroller-routingerror/125872 "2008-05-22T01:41:23Z")

</div>

Hello, i have a problem, had a table called news and other called news\_images, the first é for save news and other for save url for images associated with news. Make migrations for each table manual and db:migrate af…

---

## [Will\_paginate wont\_paginate for me!](https://www.ruby-forum.com/t/will-paginate-wont-paginate-for-me/124021)

<div class="topic-metadata">

**Author:** [@agorilla](https://www.ruby-forum.com/u/agorilla)\
**Replies:** 8\
**Last updated:** [December 29, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/will-paginate-wont-paginate-for-me/124021 "2007-12-29T23:41:16Z")

</div>

Sorry for the cheesy topic name couldn’t resist. B4 I go into details I’m rocking Rails 1.2.6. I’m hosting on MediaTemple and they seem to working on some issue between their grid servers and 2.0. I’m struggling with…

---

## [Can't add page part with Shards installed?](https://www.ruby-forum.com/t/cant-add-page-part-with-shards-installed/119468)

<div class="topic-metadata">

**Author:** [@marcelo\_a](https://www.ruby-forum.com/u/marcelo_a)\
**Replies:** 8\
**Last updated:** [November 8, 2007, 3:21am UTC](https://www.ruby-forum.com/t/cant-add-page-part-with-shards-installed/119468 "2007-11-08T03:21:19Z")

</div>

Hi, guys. I am currently trying out Radiant, and I have the intention of writing an admin extension to it. It seems to me that this is easier/better using the Shards extension, so I used Piston to import shards (from …

---

## [Error during eval()](https://www.ruby-forum.com/t/error-during-eval/113867)

<div class="topic-metadata">

**Author:** [@luchp](https://www.ruby-forum.com/u/luchp)\
**Replies:** 8\
**Last updated:** [September 12, 2007, 1:47pm UTC](https://www.ruby-forum.com/t/error-during-eval/113867 "2007-09-12T13:47:50Z")

</div>

Hi, We embedded Ruby 1.3.29 in a Windows XP application, and sometimes we get strange errors back from the Ruby interpreter. The error we get is something like: #\<Errno::EBADF: (eval):3702:in \`write’Bad file descript…

---

## [Is there an online reference for dollar ($) variables?](https://www.ruby-forum.com/t/is-there-an-online-reference-for-dollar-variables/113523)

<div class="topic-metadata">

**Author:** [@lfast](https://www.ruby-forum.com/u/lfast)\
**Replies:** 8\
**Last updated:** [September 2, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/is-there-an-online-reference-for-dollar-variables/113523 "2007-09-02T18:09:03Z")

</div>

Is there an online reference that describes all the Ruby $… variables? Are there any search engines that allow you to search for something like $: ? Is there anything in the Rdocs? Personally, I’m very happy with the …

---

## [GNU Radio Release 3.0.3 Available](https://www.ruby-forum.com/t/gnu-radio-release-3-0-3-available/87208)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 8\
**Last updated:** [March 6, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/gnu-radio-release-3-0-3-available/87208 "2007-03-06T21:46:29Z")

</div>

GNU Radio Release 3.0.3 unofficial tarballs are now available: http://gnuradio.org/releases/gnuradio/gnuradio-3.0.3.tar.gz http://gnuradio.org/releases/gnuradio/gr-howto-write-a-block-3.0.3.tar.gz These are the offici…

---

## [Accessing CVS from within a ruby application](https://www.ruby-forum.com/t/accessing-cvs-from-within-a-ruby-application/82099)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [January 24, 2007, 11:36am UTC](https://www.ruby-forum.com/t/accessing-cvs-from-within-a-ruby-application/82099 "2007-01-24T11:36:17Z")

</div>

Hi, I need to access a CVS repository (read only) from within a ruby application. I have found the libraries CVStools and Ruby/CVS. Are there any others? If not has anyone used these and would you recommend? I am run…

---

## [FastRI 0.2.0: full-text searching, smarter search strategies](https://www.ruby-forum.com/t/fastri-0-2-0-full-text-searching-smarter-search-strategies/76030)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 8\
**Last updated:** [November 21, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/fastri-0-2-0-full-text-searching-smarter-search-strategies/76030 "2006-11-21T17:17:16Z")

</div>

FastRI is an alternative to the ri command-line tool. It is much faster, and also allows you to offer RI lookup services over DRb. FastRI is smarter than ri, and can find classes anywhere in the hierarchy without spe…

---

## [Tags using a snippet as a block parameter?](https://www.ruby-forum.com/t/tags-using-a-snippet-as-a-block-parameter/98894)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 8\
**Last updated:** [July 22, 2006, 12:35am UTC](https://www.ruby-forum.com/t/tags-using-a-snippet-as-a-block-parameter/98894 "2006-07-22T00:35:05Z")

</div>

I’m creating an image-tab navigation plugin. Right now, I’m just automatically scraping the top level of page titles and URLs. But it would be nicer to provide a syntax like \<r:navtab page\_snippet=“nav-pages”/\> (As…

---

## [\#append\_features deprecated?](https://www.ruby-forum.com/t/append-features-deprecated/51860)

<div class="topic-metadata">

**Author:** [@transfire](https://www.ruby-forum.com/u/transfire)\
**Replies:** 8\
**Last updated:** [December 3, 2005, 10:14pm UTC](https://www.ruby-forum.com/t/append-features-deprecated/51860 "2005-12-03T22:14:54Z")

</div>

Somone else mentioned this. Is it true? Thanks, T.

---

## [GoF design patterns in Ruby](https://www.ruby-forum.com/t/gof-design-patterns-in-ruby/245254)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [April 1, 2017, 6:04am UTC](https://www.ruby-forum.com/t/gof-design-patterns-in-ruby/245254 "2017-04-01T06:04:49Z")

</div>

Hi guys, I’m just summarizing all the GoF design patterns adapted to Ruby in Russ Olsen’s book “Design patterns in Ruby” to keep it as a reference. You can find it here: GitHub - davidgf/design-patterns-in-ruby: GoF d…

---

## [Omniauth facebook authentication failure](https://www.ruby-forum.com/t/omniauth-facebook-authentication-failure/206011)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 21, 2011, 12:29pm UTC](https://www.ruby-forum.com/t/omniauth-facebook-authentication-failure/206011 "2011-04-21T12:29:35Z")

</div>

I am using devise and omniauth for authentication. Wherever i click on the facebook login button i get this warning msg. warning: peer certificate won’t be verified in this SSL session But now i get this error msg …

---

## [Error during "sudo make install" in Ubuntu 9.10](https://www.ruby-forum.com/t/error-during-sudo-make-install-in-ubuntu-9-10/185422)

<div class="topic-metadata">

**Author:** [@S.MSHasan](https://www.ruby-forum.com/u/S.MSHasan)\
**Replies:** 1\
**Last updated:** [March 20, 2010, 12:39am UTC](https://www.ruby-forum.com/t/error-during-sudo-make-install-in-ubuntu-9-10/185422 "2010-03-20T00:39:02Z")

</div>

Any idea about the following error ? I got this during the “sudo make install”. I am using ubuntu 9.10 and gnuradio from the tar ball. Any help would be appreciated. Thanks. -Hasan make\[5\]: Nothing to be done for …

---

## [Bad permissions in /var/log/nginx after logs are rotated](https://www.ruby-forum.com/t/bad-permissions-in-var-log-nginx-after-logs-are-rotated/183974)

<div class="topic-metadata">

**Author:** [@Juan\_FcoSGiordana](https://www.ruby-forum.com/u/Juan_FcoSGiordana)\
**Replies:** 1\
**Last updated:** [February 23, 2010, 11:45am UTC](https://www.ruby-forum.com/t/bad-permissions-in-var-log-nginx-after-logs-are-rotated/183974 "2010-02-23T11:45:15Z")

</div>

Hello, I’m using daemontools to run nginx \[1\] and I’m experiencing the following problem when I send the USR1 signal to rotate the logs with another script \[2\]: The problem is that after sending the USR1 signal to ng…

---

## [Rails 1.2.4](https://www.ruby-forum.com/t/rails-1-2-4/116645)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/rails-1-2-4/116645 "2007-10-08T14:16:30Z")

</div>

Will there be a new release of engines to support 1.2.4 or does it work out of the box already? We have a few apps on engines 1.2 but want to wait for some official confirmation before we take the plunge and upgrade t…

---

## [What is BASERUBY?](https://www.ruby-forum.com/t/what-is-baseruby/90633)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 8:21am UTC](https://www.ruby-forum.com/t/what-is-baseruby/90633 "2007-04-02T08:21:13Z")

</div>

in order to install YARV i do have to configure my sheel with BASERUBY being my base ruby command. does it means it is the base of ruby bin ie : $ which ruby /opt/local/bin/ruby in that case BASERUBY would be /opt/l…

---

## [Can I change the order for before\_filter's between applicati](https://www.ruby-forum.com/t/can-i-change-the-order-for-before-filters-between-applicati/75778)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [November 14, 2006, 12:00pm UTC](https://www.ruby-forum.com/t/can-i-change-the-order-for-before-filters-between-applicati/75778 "2006-11-14T12:00:19Z")

</div>

Hi, Can I change the order for before\_filter’s between application.rb filters & another filters from another controller that inherits from “ApplicationController” ??? For example I have 3 before\_filters in applicati…

---

## [Anyone working on ticket #70? adding password confirmation](https://www.ruby-forum.com/t/anyone-working-on-ticket-70-adding-password-confirmation/89869)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 2\
**Last updated:** [March 30, 2006, 2:19am UTC](https://www.ruby-forum.com/t/anyone-working-on-ticket-70-adding-password-confirmation/89869 "2006-03-30T02:19:07Z")

</div>

This is the one where you have to type your current password before you can create a new password. I need this feature and I am almost done implementing it, there are some edge conditions left to deal with though, lik…

---

## [Advanced string comparison using active record](https://www.ruby-forum.com/t/advanced-string-comparison-using-active-record/233097)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [November 19, 2014, 12:04am UTC](https://www.ruby-forum.com/t/advanced-string-comparison-using-active-record/233097 "2014-11-19T00:04:20Z")

</div>

Hi guys, I’m looking for a way to pick up database records by comparing my string to the database record’s string. The catch is that I have to “clean up” the database strings (not change the record, just for the purp…

---

## [Different CPU loads with 2 similar GRC graphs](https://www.ruby-forum.com/t/different-cpu-loads-with-2-similar-grc-graphs/212103)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [October 4, 2011, 1:27pm UTC](https://www.ruby-forum.com/t/different-cpu-loads-with-2-similar-grc-graphs/212103 "2011-10-04T13:27:41Z")

</div>

I am comparing the following 2 systems on GRC: \[source\] --\> \[block A\] --\> \[sink\] and \[source\] --\> \[block A\] --\>\[sink\] |\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_^ where \[block A\] is a very CPU-intensive SP block, source and sink are very…

---

## [Are there other Ruby folks using "distributable dynamic agents" for project work?](https://www.ruby-forum.com/t/are-there-other-ruby-folks-using-distributable-dynamic-agents-for-project-work/206154)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [April 25, 2011, 9:14pm UTC](https://www.ruby-forum.com/t/are-there-other-ruby-folks-using-distributable-dynamic-agents-for-project-work/206154 "2011-04-25T21:14:23Z")

</div>

Good Day, My purpose to write this is to possibly discuss with people if somebody thinks they understand the nature my project. I am independent of any businesses or institutions. All the work is 100% in 1.9.1 Ruby…

---

## [FastCSV fcsv and how to keep imported field format (or how to convert it)](https://www.ruby-forum.com/t/fastcsv-fcsv-and-how-to-keep-imported-field-format-or-how-to-convert-it/202153)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 23, 2011, 5:22pm UTC](https://www.ruby-forum.com/t/fastcsv-fcsv-and-how-to-keep-imported-field-format-or-how-to-convert-it/202153 "2011-01-23T17:22:16Z")

</div>

Dear Community, I am struggling with a small problem with FasterCSV. This is a sample line from a CSV: 14;“0810065750”;“2500”;“Baiki”;;1/21/2011;Notime;08:30;17:30;08:17;20:35;1;1;;;;3:05:41 AM;09:00;;Y;Y;1;;;12:18;3…

---

## [Nginx 0.7.67 and 0.7.68 core dump on Solaris 10 - not in executable format: File format not recogniz](https://www.ruby-forum.com/t/nginx-0-7-67-and-0-7-68-core-dump-on-solaris-10-not-in-executable-format-file-format-not-recogniz/201294)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 6, 2011, 2:37pm UTC](https://www.ruby-forum.com/t/nginx-0-7-67-and-0-7-68-core-dump-on-solaris-10-not-in-executable-format-file-format-not-recogniz/201294 "2011-01-06T14:37:53Z")

</div>

Our nginx server is dumping core but I can’t debug the core file. Ideas? GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html Thi…

---

## [Assert\_select for \<p\>\<b\>text\</b\>value\</p\>](https://www.ruby-forum.com/t/assert-select-for-p-b-text-b-value-p/194013)

<div class="topic-metadata">

**Author:** [@colinloretz](https://www.ruby-forum.com/u/colinloretz)\
**Replies:** 6\
**Last updated:** [August 31, 2010, 11:03am UTC](https://www.ruby-forum.com/t/assert-select-for-p-b-text-b-value-p/194013 "2010-08-31T11:03:12Z")

</div>

I have the following html textvalue I can use assert\_select "p\>b", "text" to check the text portion, and assert\_select "p", "value" to check that the value appears in a . I cannot work out how to check that the two ar…

---

## [Stubbing @instance.association.build](https://www.ruby-forum.com/t/stubbing-instance-association-build/183617)

<div class="topic-metadata">

**Author:** [@nmk](https://www.ruby-forum.com/u/nmk)\
**Replies:** 6\
**Last updated:** [February 18, 2010, 8:24am UTC](https://www.ruby-forum.com/t/stubbing-instance-association-build/183617 "2010-02-18T08:24:57Z")

</div>

Hi all, I am trying to spec a controller for a nested resource: Running the spec as it is in the gist results in undefined method \`save’ for nil:NilClass (line 66 in the gist) So should\_receive is interfering with …

---

## [Re: HowTo install plugins from github?](https://www.ruby-forum.com/t/re-howto-install-plugins-from-github/160018)

<div class="topic-metadata">

**Author:** [@Master\_Chief\_2007](https://www.ruby-forum.com/u/Master_Chief_2007)\
**Replies:** 6\
**Last updated:** [March 18, 2009, 10:00am UTC](https://www.ruby-forum.com/t/re-howto-install-plugins-from-github/160018 "2009-03-18T10:00:22Z")

</div>

Jason R. wrote: Hi I am a noob on RoR and I will agree that this git dependency came in from the left field for me too!:confused: All the documentation I saw about plugins blithely says use the following command …

---

## [Change date and numbers format, before\_validation()](https://www.ruby-forum.com/t/change-date-and-numbers-format-before-validation/161958)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 6\
**Last updated:** [March 4, 2009, 2:45pm UTC](https://www.ruby-forum.com/t/change-date-and-numbers-format-before-validation/161958 "2009-03-04T14:45:44Z")

</div>

Hello, I need to change/adapt of the date and float numbers the user enters: dd/mm/yyyy I have to change into yyyy-mm-dd and numbers, replace the , with the . 1245,85 =\> 1245.85 I thought the best place was using th…

---

## [Google\_analytics gem problems](https://www.ruby-forum.com/t/google-analytics-gem-problems/145691)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 6\
**Last updated:** [August 13, 2008, 2:20pm UTC](https://www.ruby-forum.com/t/google-analytics-gem-problems/145691 "2008-08-13T14:20:09Z")

</div>

I’ve honestly never had any serious issues with a gem under RoR until now! I installed mark catley’s google analytics plugin (http://github.com/ markcatley/google\_analytics/tree/master) and it doesn’t seem to work at…

---

## [If || statements](https://www.ruby-forum.com/t/if-statements/128587)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 6\
**Last updated:** [February 14, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/if-statements/128587 "2008-02-14T23:10:44Z")

</div>

Hey chaps, Is is at all possible to have a statement such as p "some string " if ( stuff || more\_stuff || other\_stuff) – Regards, John M.

---

## [Auto set value for a model field](https://www.ruby-forum.com/t/auto-set-value-for-a-model-field/116901)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 6\
**Last updated:** [October 11, 2007, 11:36am UTC](https://www.ruby-forum.com/t/auto-set-value-for-a-model-field/116901 "2007-10-11T11:36:33Z")

</div>

Hello, I have a model - Post with datetime field \<added\_at\>. I need to set this value to time when in created or when it updated automatically. Thanks

---

## [How do I communicate with a shoes app spawned by a ruby app](https://www.ruby-forum.com/t/how-do-i-communicate-with-a-shoes-app-spawned-by-a-ruby-app/260606)

<div class="topic-metadata">

**Author:** [@rustysam1](https://www.ruby-forum.com/u/rustysam1)\
**Replies:** 3\
**Last updated:** [December 13, 2020, 9:34pm UTC](https://www.ruby-forum.com/t/how-do-i-communicate-with-a-shoes-app-spawned-by-a-ruby-app/260606 "2020-12-13T21:34:36Z")

</div>

I am attempting to pass data back from a shoes app that was spawned by a ruby app. Doing simple stuff like present a list of file names in the shoes app for the user to select what is to be deleted. Then want to pass …

---

## [RubyDay 2015 sera prima](https://www.ruby-forum.com/t/rubyday-2015-sera-prima/253311)

<div class="topic-metadata">

**Author:** [@hoangnam](https://www.ruby-forum.com/u/hoangnam)\
**Replies:** 0\
**Last updated:** [November 8, 2019, 3:18pm UTC](https://www.ruby-forum.com/t/rubyday-2015-sera-prima/253311 "2019-11-08T15:18:45Z")

</div>

Ciao a tutti c’è qualcuno a Torino giovedì sera? Noi saremmo in 3 e arriviamo per cena, c’è qualcuno già li che ha voglia di mangiare un boccone in compagnia. Ciao Michele PS: Noi alloggiamo all’hotel tomato.to.it

---

## [In-line if statement with parentheses vs without parentheses](https://www.ruby-forum.com/t/in-line-if-statement-with-parentheses-vs-without-parentheses/238331)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 5, 2014, 10:26pm UTC](https://www.ruby-forum.com/t/in-line-if-statement-with-parentheses-vs-without-parentheses/238331 "2014-01-05T22:26:37Z")

</div>

I’m relatively new to Ruby, and when I was reading this post http://tmm1.net/ruby21-profiling/ I came across something I did not understand. Towards the end he explains that he was able to decrease method calls to pr…

---

## [Please help: quotes in views](https://www.ruby-forum.com/t/please-help-quotes-in-views/227634)

<div class="topic-metadata">

**Author:** [@Y\_S](https://www.ruby-forum.com/u/Y_S)\
**Replies:** 3\
**Last updated:** [March 25, 2013, 8:59pm UTC](https://www.ruby-forum.com/t/please-help-quotes-in-views/227634 "2013-03-25T20:59:51Z")

</div>

Say I have a hidden field inside a form which tells me which quote character some file uses. The details are irrelevant, but I need to have a string value that could have a double quote. Assume we have a variable @qu…

---

## [Is there a "safe\_stub"?](https://www.ruby-forum.com/t/is-there-a-safe-stub/209995)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 28, 2011, 2:32am UTC](https://www.ruby-forum.com/t/is-there-a-safe-stub/209995 "2011-07-28T02:32:10Z")

</div>

Right now, #stub stubs a method even if it doesn’t exist. Is there a way to stub a method on an object, if and only if it already #responds\_to? that method? It would also be good if it raised an ArgumentError or the l…

---

## [Typo 6.0.4 memory usage](https://www.ruby-forum.com/t/typo-6-0-4-memory-usage/205925)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [April 18, 2011, 8:42pm UTC](https://www.ruby-forum.com/t/typo-6-0-4-memory-usage/205925 "2011-04-18T20:42:42Z")

</div>

I recently upgraded to the latest version of Typo and I’m noticing considerably more memory usage. I’m using an nginx proxy in front of 3 thin servers and I’m seeing about 190MB per thin instance which is causing my …

---

## [Gallery 500 Error](https://www.ruby-forum.com/t/gallery-500-error/161996)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 3\
**Last updated:** [March 10, 2009, 12:48am UTC](https://www.ruby-forum.com/t/gallery-500-error/161996 "2009-03-10T00:48:36Z")

</div>

I’m getting a 500 Error in my Gallery admin tab and the images don’t display on my site. My gallery folder with all the images is still intact in “public”. Is there a way to clear everything and rebuild, but not lose …

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

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