# Top

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

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

---

## [Validates\* gives me problems](https://www.ruby-forum.com/t/validates-gives-me-problems/59072)

<div class="topic-metadata">

**Author:** [@antoniorv](https://www.ruby-forum.com/u/antoniorv)\
**Replies:** 2\
**Last updated:** [May 2, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/validates-gives-me-problems/59072 "2006-05-02T20:38:02Z")

</div>

Hi, In Debian/testing (mysql-5.0.20, ruby1.8, rails 1.1.0) Im trying to follow up the fourdaysonrails tutorial, and when putting: validates\_uniqueness\_of :category, :message =\> “Already exists” in /myapplication/app/…

---

## [:after\_update\_element on text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/after-update-element-on-text-field-with-auto-complete/57936)

<div class="topic-metadata">

**Author:** [@jdhale](https://www.ruby-forum.com/u/jdhale)\
**Replies:** 2\
**Last updated:** [April 16, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/after-update-element-on-text-field-with-auto-complete/57936 "2006-04-16T19:57:42Z")

</div>

I have a a basic prototype coded: #view \<%= text\_field\_with\_auto\_complete :student, :last\_name, { :size =\> 15 }, :after\_update\_element =\> “alert(‘hello world’);” %\> #controller class ScoresController \< ApplicationC…

---

## [Rails 1.1.2 is working on shared hosting that has rails 1.0](https://www.ruby-forum.com/t/rails-1-1-2-is-working-on-shared-hosting-that-has-rails-1-0/93923)

<div class="topic-metadata">

**Author:** [@peterpunk](https://www.ruby-forum.com/u/peterpunk)\
**Replies:** 2\
**Last updated:** [April 14, 2006, 6:19pm UTC](https://www.ruby-forum.com/t/rails-1-1-2-is-working-on-shared-hosting-that-has-rails-1-0/93923 "2006-04-14T18:19:52Z")

</div>

After many hours I got working It is in spanish but you can copy paste the code. http://wiki.onrails.com.ar/onrailscomarwiki/show/Instalacion+de+Rails+y+Gems+en+un+hosting+compartido P http://wiki.onrails.com.ar

---

## [Perform action after in-place edit](https://www.ruby-forum.com/t/perform-action-after-in-place-edit/52715)

<div class="topic-metadata">

**Author:** [@Shane\_V](https://www.ruby-forum.com/u/Shane_V)\
**Replies:** 2\
**Last updated:** [April 11, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/perform-action-after-in-place-edit/52715 "2006-04-11T14:18:25Z")

</div>

I want to be able to call an action after performing an edit using the in-place editor macro. I want to update multiple divs so I was thinking about using an RJS template. However, I can’t figure out how to trigger …

---

## ["script/server -e production" doesn't work](https://www.ruby-forum.com/t/script-server-e-production-doesnt-work/93561)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 2\
**Last updated:** [April 4, 2006, 8:43pm UTC](https://www.ruby-forum.com/t/script-server-e-production-doesnt-work/93561 "2006-04-04T20:43:07Z")

</div>

I’ve got an error that’s only happening on my live webserver, so wanted to test on my local machine in the production environment. On my local machine, I tried to run… script/server -e production … but get: server: …

---

## [Rjs woes](https://www.ruby-forum.com/t/rjs-woes/81832)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 2\
**Last updated:** [March 15, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/rjs-woes/81832 "2006-03-15T14:45:33Z")

</div>

i’ve just installed the RJS plugin per cody’s instructiuons and read through tutorials. I’ve made the necessary changes to my existing code and everything appears to be working, except that the returned javascript is …

---

## [Actionmailer](https://www.ruby-forum.com/t/actionmailer/95390)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 2\
**Last updated:** [January 17, 2006, 9:11am UTC](https://www.ruby-forum.com/t/actionmailer/95390 "2006-01-17T09:11:47Z")

</div>

I’m getting an error when I’m tyring to use the actionmailer. undefined method \`deliver\_signup\_thanks’ for Notifier:Class This is what I have in the controller. def emailTest Notifier::deliver\_signup\_thanks() render…

---

## [Default unit tests failing?](https://www.ruby-forum.com/t/default-unit-tests-failing/52012)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 2\
**Last updated:** [January 12, 2006, 12:19am UTC](https://www.ruby-forum.com/t/default-unit-tests-failing/52012 "2006-01-12T00:19:35Z")

</div>

I’ve got a strange issue. My default unit tests are failing for two models. I haven’t changed anything in the test. Here’s an example: Output: Error: test\_truth(ShippingCostTypeTest): NoMethodError: You have a …

---

## [Simple Trie Data Structure](https://www.ruby-forum.com/t/simple-trie-data-structure/252975)

<div class="topic-metadata">

**Author:** [@G4143](https://www.ruby-forum.com/u/G4143)\
**Replies:** 0\
**Last updated:** [September 4, 2019, 7:10pm UTC](https://www.ruby-forum.com/t/simple-trie-data-structure/252975 "2019-09-04T19:10:56Z")

</div>

Disclaimer… I’ve only used Ruby for a few days and I can say I’m impressed at how easy it is to write code in this language. I’m surprised I never tried Ruby before. I tried Python before and I didn’t like the language a…

---

## [Using sub-subfolder structure](https://www.ruby-forum.com/t/using-sub-subfolder-structure/252849)

<div class="topic-metadata">

**Author:** [@gregimagines](https://www.ruby-forum.com/u/gregimagines)\
**Replies:** 0\
**Last updated:** [August 8, 2019, 3:07pm UTC](https://www.ruby-forum.com/t/using-sub-subfolder-structure/252849 "2019-08-08T15:07:39Z")

</div>

I am trying to organize files better within our site. We have several folders already set within views but I want to add subfolders to some of them. Below is an example of what we have and what I would like to achieve. …

---

## [Software Testing Training in Chennai](https://www.ruby-forum.com/t/software-testing-training-in-chennai/248637)

<div class="topic-metadata">

**Author:** [@pavithradass123](https://www.ruby-forum.com/u/pavithradass123)\
**Replies:** 0\
**Last updated:** [October 16, 2018, 7:20am UTC](https://www.ruby-forum.com/t/software-testing-training-in-chennai/248637 "2018-10-16T07:20:36Z")

</div>

Software testing is an activity to check whether the actual results match the expected results and to ensure that the software system is Defect free. It involves execution of a software component or system component to e…

---

## [\[Blog post\] (Rails) Application directories named as architectural patterns antipattern](https://www.ruby-forum.com/t/blog-post-rails-application-directories-named-as-architectural-patterns-antipattern/243298)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 8, 2015, 11:14pm UTC](https://www.ruby-forum.com/t/blog-post-rails-application-directories-named-as-architectural-patterns-antipattern/243298 "2015-09-08T23:14:36Z")

</div>

Ciao, ho scritto un articolo su come chiamare le directory di un applicazione (Rails) con dei pattern sia una cattiva abitudine e suggerisco un approccio piu’ trasparente: Enrico – \[skype\] enrico.teotti \[web\] ht…

---

## [Ruby gem install FilePermissionError](https://www.ruby-forum.com/t/ruby-gem-install-filepermissionerror/233303)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 8:26pm UTC](https://www.ruby-forum.com/t/ruby-gem-install-filepermissionerror/233303 "2014-12-02T20:26:47Z")

</div>

Hi community ! Since yesterday, I can’t install gem (Windows and Linux). I have the following error : ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write permissions into the /var/lib/gems/1…

---

## [PYBOMBS Build Failure](https://www.ruby-forum.com/t/pybombs-build-failure/245855)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 26, 2013, 11:20pm UTC](https://www.ruby-forum.com/t/pybombs-build-failure/245855 "2013-07-26T23:20:53Z")

</div>

Hi, I’ve been trying out pybombs for building the latest gnuradio. I had a successful build at home last week, but I am having repeated failures in a test environment VM (virtualbox, ubuntu 12.04 x64). I am running…

---

## [Gr-modtool and SWIG file line order](https://www.ruby-forum.com/t/gr-modtool-and-swig-file-line-order/226935)

<div class="topic-metadata">

**Author:** [@Martin\_BSSCEL](https://www.ruby-forum.com/u/Martin_BSSCEL)\
**Replies:** 0\
**Last updated:** [February 26, 2013, 11:11am UTC](https://www.ruby-forum.com/t/gr-modtool-and-swig-file-line-order/226935 "2013-02-26T11:11:04Z")

</div>

This seems to have been confusing everyone, so here’s the answer: == \>= 3.7 == In the 3.7-style module structure (which uses the include/MODULENAME/ directory and omits the module prefix from the file names), the cor…

---

## [Helpers and content\_tag](https://www.ruby-forum.com/t/helpers-and-content-tag/226800)

<div class="topic-metadata">

**Author:** [@sebkom](https://www.ruby-forum.com/u/sebkom)\
**Replies:** 0\
**Last updated:** [February 21, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/helpers-and-content-tag/226800 "2013-02-21T15:24:26Z")

</div>

Hello everyone, new rails developer wannabe here! I am trying to create a calendar table to display the daily availability of every staff member of a company. What I think I need is a header with the days of the month…

---

## [Gabor transform to GNU Radio](https://www.ruby-forum.com/t/gabor-transform-to-gnu-radio/229267)

<div class="topic-metadata">

**Author:** [@adriatik](https://www.ruby-forum.com/u/adriatik)\
**Replies:** 3\
**Last updated:** [January 15, 2013, 6:43pm UTC](https://www.ruby-forum.com/t/gabor-transform-to-gnu-radio/229267 "2013-01-15T18:43:03Z")

</div>

Hi everyone!Anyone know if there is a block or a function on GNU Radio for make Gabor transform? Thanks! AA

---

## [Internally redirected requests](https://www.ruby-forum.com/t/internally-redirected-requests/224674)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 21, 2012, 4:13pm UTC](https://www.ruby-forum.com/t/internally-redirected-requests/224674 "2012-11-21T16:13:46Z")

</div>

How to do internal redirect (which is the best way)? I do not want to apply to this “include”. Maybe I can do something like this: location /a { alias @app; } location /b { alias @app; } location @app { … } Should…

---

## [GRC: set order of block instantiations](https://www.ruby-forum.com/t/grc-set-order-of-block-instantiations/223632)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 15, 2012, 9:45pm UTC](https://www.ruby-forum.com/t/grc-set-order-of-block-instantiations/223632 "2012-10-15T21:45:00Z")

</div>

Hi list, is there a way to set the order of block instantiations in GNU Radio companion? The reason I am asking is, that I want to pass one block as a parameter to another block to get access to its methods. Is there…

---

## [Managing long actions through better workflow](https://www.ruby-forum.com/t/managing-long-actions-through-better-workflow/221539)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 20, 2012, 5:50pm UTC](https://www.ruby-forum.com/t/managing-long-actions-through-better-workflow/221539 "2012-07-20T17:50:42Z")

</div>

In our application we have a number controller actions that have gotten very long and difficult to maintain. Usually #create and #update. A huge reason for this is that the objects handled by the controllers have a bu…

---

## [Overriding validates in the subclass which is first defined in the superclass](https://www.ruby-forum.com/t/overriding-validates-in-the-subclass-which-is-first-defined-in-the-superclass/221561)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 19, 2012, 11:47am UTC](https://www.ruby-forum.com/t/overriding-validates-in-the-subclass-which-is-first-defined-in-the-superclass/221561 "2012-07-19T11:47:08Z")

</div>

I have a little problem when it comes to trying to override a validates, first defined in superclass in subclass. Please see the following stackoverflow post: Am I going about this the wrong way? What would be the be…

---

## [Removed .py extensions from uhd apps](https://www.ruby-forum.com/t/removed-py-extensions-from-uhd-apps/218827)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [April 13, 2012, 5:29pm UTC](https://www.ruby-forum.com/t/removed-py-extensions-from-uhd-apps/218827 "2012-04-13T17:29:23Z")

</div>

I just noticed this evening that the uhd apps have had their “.py” extensions removed. Which is cool 'n all, but the old ones are left lying around, which can trip you up. – Marcus L. Principal Investigator Shirl…

---

## [Isolating controller tests from models](https://www.ruby-forum.com/t/isolating-controller-tests-from-models/218425)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 7:11am UTC](https://www.ruby-forum.com/t/isolating-controller-tests-from-models/218425 "2012-03-31T07:11:45Z")

</div>

This is a rehash of a question I posed at: ruby on rails 3 - isolating controller tests from models - Stack Overflow The basic question: If I have a FoosController and a Foo model, can I run FoosController rspec tests…

---

## [Port 80 issue](https://www.ruby-forum.com/t/port-80-issue/217294)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 28, 2012, 4:18pm UTC](https://www.ruby-forum.com/t/port-80-issue/217294 "2012-02-28T16:18:22Z")

</div>

hi all, i have strange problem,i have two instances running on live of my app. one on port 80 and other on port 8881 but the port 80 instance loading very slowly as compare to port 8881 instance. you check on url’…

---

## [Exploding active record results](https://www.ruby-forum.com/t/exploding-active-record-results/216241)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 31, 2012, 9:01am UTC](https://www.ruby-forum.com/t/exploding-active-record-results/216241 "2012-01-31T09:01:18Z")

</div>

Hey guys, I’ve got a table that stores events with a recurrence pattern. I found a stored procedure that will generate occurrence dates for an event between a start and end date. What I’m wondering is how to go abou…

---

## [Help with some ugly code: refactoring](https://www.ruby-forum.com/t/help-with-some-ugly-code-refactoring/215488)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 6, 2012, 12:57am UTC](https://www.ruby-forum.com/t/help-with-some-ugly-code-refactoring/215488 "2012-01-06T00:57:04Z")

</div>

Hi all, I have a user model and associated controller/views. the model has a password field and the security for logging into my site etc. and all of this works pretty well. When i implemented it i had a need to be …

---

## [How to check whether the character is utf-8](https://www.ruby-forum.com/t/how-to-check-whether-the-character-is-utf-8/215192)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 26, 2011, 4:02pm UTC](https://www.ruby-forum.com/t/how-to-check-whether-the-character-is-utf-8/215192 "2011-12-26T16:02:43Z")

</div>

Hi All, I want to check whether the input string is in UTF-8 encoding formate, I googled but didnt get any fruitful results, pls assit me , thanks in advance. regards, Loganathan

---

## [Software Radio Implementation Forum workshop](https://www.ruby-forum.com/t/software-radio-implementation-forum-workshop/215025)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 20, 2011, 12:56pm UTC](https://www.ruby-forum.com/t/software-radio-implementation-forum-workshop/215025 "2011-12-20T12:56:56Z")

</div>

Hey everyone, I just wanted to let everyone know that I will be speaking at the new Software Radio Implementation Forum’s (SRIF) first workshop this January. It’s in Hong Kong, but registration is free for people in …

---

## [Working from a string to an array](https://www.ruby-forum.com/t/working-from-a-string-to-an-array/213397)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 1, 2011, 11:42pm UTC](https://www.ruby-forum.com/t/working-from-a-string-to-an-array/213397 "2011-11-01T23:42:07Z")

</div>

Supposing there’s the following key-value: hash = { @bob: 42, @joe: 1, @tom: 16, @luc: 872, @mike: 32, ... } And we would like to transform those string such as: transform("Hello @bob!") # =\> \["Hello ", 42…

---

## [Location not called properly](https://www.ruby-forum.com/t/location-not-called-properly/213098)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 24, 2011, 10:13pm UTC](https://www.ruby-forum.com/t/location-not-called-properly/213098 "2011-10-24T22:13:16Z")

</div>

Hi all, I’m trying to call a location of this format: location = /somedir/file1.php { try\_files @cache =404; } location = /anotherdir/file2.php { try\_files @cache =404; } location @cache { try\_files $uri =404…

---

## [\[Ruby 1.9 - Feature #4871\]\[Open\] envのコンパクト化](https://www.ruby-forum.com/t/ruby-1-9-feature-4871-open-env/208176)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 31, 2011, 4:18pm UTC](https://www.ruby-forum.com/t/ruby-1-9-feature-4871-open-env/208176 "2011-07-31T16:18:18Z")

</div>

Issue #4871 has been reported by Kazuki Tsujimoto. Feature #4871: envのコンパクト化 Author: Kazuki Tsujimoto Status: Open Priority: Normal Assignee: Category: core Target version: =begin 辻本です。 rb\_env\_tのenvは以下の構造を持ちま…

---

## [RDoc-style Labelled Lists in Markdown?](https://www.ruby-forum.com/t/rdoc-style-labelled-lists-in-markdown/208191)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 12, 2011, 11:04am UTC](https://www.ruby-forum.com/t/rdoc-style-labelled-lists-in-markdown/208191 "2011-06-12T11:04:30Z")

</div>

Any way to get RDoc style labelled lists in Markdown? e.g. in RDoc: Author:: John Joe License:: MIT In Markdown?

---

## [Real life audio data transmit & recive](https://www.ruby-forum.com/t/real-life-audio-data-transmit-recive/206398)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 29, 2011, 11:14pm UTC](https://www.ruby-forum.com/t/real-life-audio-data-transmit-recive/206398 "2011-04-29T23:14:16Z")

</div>

hi i have installed a gnu radio companion in linux ubuntu 10.4 with USRP2 N210.Now i want to transmit real life audio data and receive it properly , if anyone can do it then give me the steps and procedure and also gn…

---

## [Display specific field that has duplicate name to other table](https://www.ruby-forum.com/t/display-specific-field-that-has-duplicate-name-to-other-table/205623)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 11, 2011, 11:15am UTC](https://www.ruby-forum.com/t/display-specific-field-that-has-duplicate-name-to-other-table/205623 "2011-04-11T11:15:46Z")

</div>

HI TO ALL I want to display a specific field in my VIEW but they have the same FIELD name…For example, th id in the PAYMENTS table and the id in the SUGGESTS table have the same field name… I want to be able to displ…

---

## [Please help me to creating model of server](https://www.ruby-forum.com/t/please-help-me-to-creating-model-of-server/203322)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 17, 2011, 8:55pm UTC](https://www.ruby-forum.com/t/please-help-me-to-creating-model-of-server/203322 "2011-02-17T20:55:24Z")

</div>

I need TCPServer, who should: accept and maintain a connection of clients send to client response for their requests send to client responses from redis database I don’t know how to correct do this. If i do something…

---

## [Newbie doubt in links and controllers](https://www.ruby-forum.com/t/newbie-doubt-in-links-and-controllers/202853)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 7, 2011, 7:21pm UTC](https://www.ruby-forum.com/t/newbie-doubt-in-links-and-controllers/202853 "2011-02-07T19:21:19Z")

</div>

Hi all, I’ve the following doubt. I’ve this controller methods: def set\_elaborator @entry = Entry.find(params\[:id\]) @entry.geomatics\_elaboration\_id = current\_user.id if @entry.save! redirect\_to(@entry, :notice =\> ‘…

---

## [Group elements by category](https://www.ruby-forum.com/t/group-elements-by-category/202406)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 2, 2011, 9:36am UTC](https://www.ruby-forum.com/t/group-elements-by-category/202406 "2011-02-02T09:36:25Z")

</div>

Hi! I’m a newbie on RoR, i’m just starting with it but i like it! But I don’t know how to do this avoiding loops,etc… I have a collection of Link instances; this model has a “Category” attribute. I need to group them …

---

## [Rake task dependencies question](https://www.ruby-forum.com/t/rake-task-dependencies-question/194785)

<div class="topic-metadata">

**Author:** [@rawroe](https://www.ruby-forum.com/u/rawroe)\
**Replies:** 3\
**Last updated:** [September 10, 2010, 10:24pm UTC](https://www.ruby-forum.com/t/rake-task-dependencies-question/194785 "2010-09-10T22:24:59Z")

</div>

Quick question about rake task dependencies. Suppose I have the following: task :prepare\_to\_fight =\> :has\_weapons do … end task :attack\_with\_gun =\> :prepare\_to\_fight do … end task :attack\_with\_sword =\> :prepare\_t…

---

## [Test Database Empty after "rake test"?](https://www.ruby-forum.com/t/test-database-empty-after-rake-test/192872)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [August 12, 2010, 11:41am UTC](https://www.ruby-forum.com/t/test-database-empty-after-rake-test/192872 "2010-08-12T11:41:13Z")

</div>

Hey, can somebody tell me why my test database is always empty after I run “rake test” but not after I test single test files? My rake db:seed for the test database takes like 6 minutes and I don’t really wanna reseed …

---

## [Having trouble with Validatable](https://www.ruby-forum.com/t/having-trouble-with-validatable/187951)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 3\
**Last updated:** [May 4, 2010, 12:57pm UTC](https://www.ruby-forum.com/t/having-trouble-with-validatable/187951 "2010-05-04T12:57:08Z")

</div>

I need to use the level option for my app, so I did ‘gem install validatable’ Next I got an error when it tried to run, so after some searching, 'require ‘validatable’ in environment.rb Now it says ‘Unknown key(s): l…

---

## [Exception handling](https://www.ruby-forum.com/t/exception-handling/187584)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 3\
**Last updated:** [April 27, 2010, 9:46am UTC](https://www.ruby-forum.com/t/exception-handling/187584 "2010-04-27T09:46:04Z")

</div>

Hi I have controller edit action like def edit begin @user = User.find(params\[:id\]) rescue ActiveRecord::RecordNotFound logger.warn “User with id #{current\_user.id} tried to edit user with id #{params\[:id\]}” rend…

---

## [Clearing a plugins instance variables on each request](https://www.ruby-forum.com/t/clearing-a-plugins-instance-variables-on-each-request/186717)

<div class="topic-metadata">

**Author:** [@SeanWalberg](https://www.ruby-forum.com/u/SeanWalberg)\
**Replies:** 3\
**Last updated:** [April 13, 2010, 4:48am UTC](https://www.ruby-forum.com/t/clearing-a-plugins-instance-variables-on-each-request/186717 "2010-04-13T04:48:40Z")

</div>

I’m trying to move some of my application’s code into a plugin, specifically the part that deals with web analytics. Some of the features allow the controller to fire events that get displayed in the views as JS code …

---

## [Add a class variable with a mixin](https://www.ruby-forum.com/t/add-a-class-variable-with-a-mixin/182446)

<div class="topic-metadata">

**Author:** [@ncho](https://www.ruby-forum.com/u/ncho)\
**Replies:** 3\
**Last updated:** [January 28, 2010, 10:42am UTC](https://www.ruby-forum.com/t/add-a-class-variable-with-a-mixin/182446 "2010-01-28T10:42:18Z")

</div>

Is it easily possible to add a class variable to a class via a Mixin? I’m running into insane problems. Can I access a Class’s class variables at all(outside of an instance), or are they otherwise private?

---

## [What's the best cross platform approach (Windows/Mac) to deploy a simple service/daemon (with simpl](https://www.ruby-forum.com/t/whats-the-best-cross-platform-approach-windows-mac-to-deploy-a-simple-service-daemon-with-simpl/175517)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [September 16, 2009, 3:44pm UTC](https://www.ruby-forum.com/t/whats-the-best-cross-platform-approach-windows-mac-to-deploy-a-simple-service-daemon-with-simpl/175517 "2009-09-16T15:44:13Z")

</div>

Hi, I’m getting confused re the range of options for development & deploying some simple code & UI to both Windows & Mac. Can anyone assist re a good direction here. I do like Ruby, however if it makes sense to mov…

---

## [Character Counter (javascript required?)](https://www.ruby-forum.com/t/character-counter-javascript-required/175341)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 3\
**Last updated:** [September 13, 2009, 12:21am UTC](https://www.ruby-forum.com/t/character-counter-javascript-required/175341 "2009-09-13T00:21:47Z")

</div>

Can anyone help me out with a javascript walk through. I assume this is something that lots of other’s have done. I have an Advert form and on it I have a text\_field “Advert.description”, it’s validated on characters,…

---

## [Workling's spiraling memory usage](https://www.ruby-forum.com/t/worklings-spiraling-memory-usage/172816)

<div class="topic-metadata">

**Author:** [@zaczheng](https://www.ruby-forum.com/u/zaczheng)\
**Replies:** 3\
**Last updated:** [August 25, 2009, 11:58pm UTC](https://www.ruby-forum.com/t/worklings-spiraling-memory-usage/172816 "2009-08-25T23:58:34Z")

</div>

First of all, much thanks to Workling and Starling’s creators. They are great pieces of software. I have started to use Workling/Starling to process fairly big amounts of data, importing 2000+ records of 20+ fields ea…

---

## [A inherent class, how to write?](https://www.ruby-forum.com/t/a-inherent-class-how-to-write/171846)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 3\
**Last updated:** [July 10, 2009, 2:25pm UTC](https://www.ruby-forum.com/t/a-inherent-class-how-to-write/171846 "2009-07-10T14:25:47Z")

</div>

I have a file like this; class File class \<\< self def diff #some stuff-------------- end end end def method\_1 #----------- end def method\_2 #------------ end method\_1 method\_2 now ,I need to rewrite this f…

---

## [Strange link on wiki.nginx.org](https://www.ruby-forum.com/t/strange-link-on-wiki-nginx-org/168590)

<div class="topic-metadata">

**Author:** [@Kurt\_Hansen](https://www.ruby-forum.com/u/Kurt_Hansen)\
**Replies:** 3\
**Last updated:** [May 22, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/strange-link-on-wiki-nginx-org/168590 "2009-05-22T19:41:24Z")

</div>

Hello, There is an inaccurate link on the wiki. I’m not sure if it is in error or someone is trying to generate ad revenue. Here’s the wiki page: http://wiki.nginx.org/NginxResources If you click on the “Short Nginx…

---

## [Undefined Method '|'](https://www.ruby-forum.com/t/undefined-method/167608)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 3\
**Last updated:** [May 12, 2009, 6:12am UTC](https://www.ruby-forum.com/t/undefined-method/167608 "2009-05-12T06:12:54Z")

</div>

I generated scaffolding for User with the following schema: create\_table “users”, :force =\> true do |t| t.string “name” t.string “company” t.string “lastcompany” t.datetime “changed” t.datetime “created\_at” …

---

## [Create reports with ActiveRecord to download by user](https://www.ruby-forum.com/t/create-reports-with-activerecord-to-download-by-user/162315)

<div class="topic-metadata">

**Author:** [@gte351s](https://www.ruby-forum.com/u/gte351s)\
**Replies:** 3\
**Last updated:** [March 9, 2009, 5:01pm UTC](https://www.ruby-forum.com/t/create-reports-with-activerecord-to-download-by-user/162315 "2009-03-09T17:01:38Z")

</div>

Hi - I want to enable the user to generate a report based on the database used by the application. I have a few related questions: Assuming my script is called ‘create\_report.rb’ and stored under /lib/tasks, how do…

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

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