# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1783

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

---

## [Supressing output from FormBuilder helpers?](https://www.ruby-forum.com/t/supressing-output-from-formbuilder-helpers/110233)

<div class="topic-metadata">

**Author:** [@AndyV](https://www.ruby-forum.com/u/AndyV)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 3:05pm UTC](https://www.ruby-forum.com/t/supressing-output-from-formbuilder-helpers/110233 "2007-07-24T15:05:36Z")

</div>

The FormBuilder helper is called like this: \<% field\_validator :object, :name, {options} %\> The options hash is used to specify the different types of validation for the field (required, numeric, regex, etc). This is…

---

## [Win-Explorer Style Navigation Tree with dynamic loading](https://www.ruby-forum.com/t/win-explorer-style-navigation-tree-with-dynamic-loading/110225)

<div class="topic-metadata">

**Author:** [@Pascal\_F](https://www.ruby-forum.com/u/Pascal_F)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/win-explorer-style-navigation-tree-with-dynamic-loading/110225 "2007-07-24T13:44:53Z")

</div>

Hi There, i want to create a windows explorer style navigation tree in my application with tree branches you can expand and colapse. The nodes in the first two levels of the tree shall be loaded when the tree is disp…

---

## [Implementing commenting system using acts\_as\_nested\_set](https://www.ruby-forum.com/t/implementing-commenting-system-using-acts-as-nested-set/110223)

<div class="topic-metadata">

**Author:** [@Love\_AJAX](https://www.ruby-forum.com/u/Love_AJAX)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 12:43pm UTC](https://www.ruby-forum.com/t/implementing-commenting-system-using-acts-as-nested-set/110223 "2007-07-24T12:43:55Z")

</div>

Hi, I have been trying to implemented a commenting system for my Job model. I pretty much got my model to work using (better\_) acts\_as\_nested\_set. But I am finding it difficult to display the comments in views. How w…

---

## [Licensing patterns?](https://www.ruby-forum.com/t/licensing-patterns/110221)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 12:17pm UTC](https://www.ruby-forum.com/t/licensing-patterns/110221 "2007-07-24T12:17:18Z")

</div>

Hey all I was wondering what licensing patterns people had tried on this list? I know there have been conversations about compiling code to make it none readable and so forth, but the way I see it is that anything tha…

---

## [Disk space management](https://www.ruby-forum.com/t/disk-space-management/110129)

<div class="topic-metadata">

**Author:** [@itsybitsyspidy](https://www.ruby-forum.com/u/itsybitsyspidy)\
**Replies:** 2\
**Last updated:** [July 24, 2007, 11:57am UTC](https://www.ruby-forum.com/t/disk-space-management/110129 "2007-07-24T11:57:49Z")

</div>

Do you guys have any recommendations on how do i go about handling the function of giving my registered users on my website some disk space? I’m running a ruby website on a Fedora Core 5 Linux machine, and after my us…

---

## [Share hash beetween Mongrel instances](https://www.ruby-forum.com/t/share-hash-beetween-mongrel-instances/110208)

<div class="topic-metadata">

**Author:** [@ther](https://www.ruby-forum.com/u/ther)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 11:17am UTC](https://www.ruby-forum.com/t/share-hash-beetween-mongrel-instances/110208 "2007-07-24T11:17:18Z")

</div>

Can you tell me the easyest way to share a public variable (hash) between Mongrel instances on the same computer. I know, but loading it in every session would take too much memory and database would probably take too…

---

## [Hey Rubyonrails-talk@googlegroups.com ;)](https://www.ruby-forum.com/t/hey-rubyonrails-talk-googlegroups-com/110219)

<div class="topic-metadata">

**Author:** [@jorgez](https://www.ruby-forum.com/u/jorgez)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 10:56am UTC](https://www.ruby-forum.com/t/hey-rubyonrails-talk-googlegroups-com/110219 "2007-07-24T10:56:43Z")

</div>

Jorge

---

## [Newb question:](https://www.ruby-forum.com/t/newb-question/110205)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 24, 2007, 9:27am UTC](https://www.ruby-forum.com/t/newb-question/110205 "2007-07-24T09:27:20Z")

</div>

Hi all, Another newb online… trying belongs\_to and has\_one constructs for the first time. table Location defined as: nickname, street, city, … , contact\_id the model includes “belongs\_to :contact” table Contact def…

---

## [Image\_tag and files outsite /public directory](https://www.ruby-forum.com/t/image-tag-and-files-outsite-public-directory/110161)

<div class="topic-metadata">

**Author:** [@jochen\_kaechelin](https://www.ruby-forum.com/u/jochen_kaechelin)\
**Replies:** 7\
**Last updated:** [July 24, 2007, 9:17am UTC](https://www.ruby-forum.com/t/image-tag-and-files-outsite-public-directory/110161 "2007-07-24T09:17:37Z")

</div>

I have some image files under /app /uploads /images/ 111.jpg /public /images . . How can I user image\_tag to display the images under /uploads/images/…? Any hints? – Jochen K. gissmoh.de, figgfrosch.de, ror…

---

## [Send\_data and ie](https://www.ruby-forum.com/t/send-data-and-ie/110202)

<div class="topic-metadata">

**Author:** [@kris](https://www.ruby-forum.com/u/kris)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 6:13am UTC](https://www.ruby-forum.com/t/send-data-and-ie/110202 "2007-07-24T06:13:54Z")

</div>

Has anyone else had trouble using send\_data with internet explorer. As usual things were working fine in firefox and safari until I tested in IE :). With the following code I’m seeing an image show up in firefox but …

---

## [RoR Postion. Full time, Utah](https://www.ruby-forum.com/t/ror-postion-full-time-utah/110146)

<div class="topic-metadata">

**Author:** [@upillar](https://www.ruby-forum.com/u/upillar)\
**Replies:** 4\
**Last updated:** [July 24, 2007, 5:12am UTC](https://www.ruby-forum.com/t/ror-postion-full-time-utah/110146 "2007-07-24T05:12:09Z")

</div>

We have 2 positions open for experienced ROR programmers. If you feel like you are a experienced ROR programmer and are looking for a full time position, please send over you resume. You must be willing to re- locate.…

---

## [Rails hosting (Virtual Server)](https://www.ruby-forum.com/t/rails-hosting-virtual-server/109740)

<div class="topic-metadata">

**Author:** [@Human\_D](https://www.ruby-forum.com/u/Human_D)\
**Replies:** 5\
**Last updated:** [July 24, 2007, 4:22am UTC](https://www.ruby-forum.com/t/rails-hosting-virtual-server/109740 "2007-07-24T04:22:22Z")

</div>

Hello folks, http://www.railsplayground.com/plans/vps/index.html OR http://www.ocssolutions.com/vds/ Any experience and/or advise? Thanks in advance,

---

## [\[ANN\] singapore.rb meeting for July 2007](https://www.ruby-forum.com/t/ann-singapore-rb-meeting-for-july-2007/110194)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 4:06am UTC](https://www.ruby-forum.com/t/ann-singapore-rb-meeting-for-july-2007/110194 "2007-07-24T04:06:25Z")

</div>

Hi Rubyists, Please take note of the details for the next singapore.rb meeting in July 2007. It will be held on the 26th of July at the Geylang East Community Library. We will be using the Aljunied and Serai rooms on …

---

## [Accessing children of children using has\_many?](https://www.ruby-forum.com/t/accessing-children-of-children-using-has-many/110181)

<div class="topic-metadata">

**Author:** [@Astorian](https://www.ruby-forum.com/u/Astorian)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 3:58am UTC](https://www.ruby-forum.com/t/accessing-children-of-children-using-has-many/110181 "2007-07-24T03:58:58Z")

</div>

Hello. Thanks in advance for your help. What is the slickest way of accessing children of children. My understanding is that you can use “Parent.children” to get the children of an object, but Parent.children.children…

---

## [Place to announce a website for sale](https://www.ruby-forum.com/t/place-to-announce-a-website-for-sale/110000)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 3:36am UTC](https://www.ruby-forum.com/t/place-to-announce-a-website-for-sale/110000 "2007-07-24T03:36:32Z")

</div>

All, what’s the best (meaning they sell) and common place to announce a website for sale? The only one I know if Sitepoint’s Marketplace. Thanks.

---

## [Using helper methods in email templates](https://www.ruby-forum.com/t/using-helper-methods-in-email-templates/110128)

<div class="topic-metadata">

**Author:** [@luma](https://www.ruby-forum.com/u/luma)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 3:30am UTC](https://www.ruby-forum.com/t/using-helper-methods-in-email-templates/110128 "2007-07-24T03:30:08Z")

</div>

hi I’m creating an template for an html email. My own helper method ‘format\_price’ is not accepted, but it works in some other templates. application\_helper.rb: Methods added to this helper will be available to all t…

---

## [Is there something like PHP's $\_POST superglobal array avail](https://www.ruby-forum.com/t/is-there-something-like-phps-post-superglobal-array-avail/110092)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 16\
**Last updated:** [July 24, 2007, 3:11am UTC](https://www.ruby-forum.com/t/is-there-something-like-phps-post-superglobal-array-avail/110092 "2007-07-24T03:11:06Z")

</div>

I’m trying to create file uploads to the file system and process them with RMagick, but the struggle is that I don’t want to create dozens of tables or use plugins if I can avoid it. I want to keep it super simple. S…

---

## [SQLite/Rails/Human bug? "SQL logic error"](https://www.ruby-forum.com/t/sqlite-rails-human-bug-sql-logic-error/110188)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 3\
**Last updated:** [July 24, 2007, 2:20am UTC](https://www.ruby-forum.com/t/sqlite-rails-human-bug-sql-logic-error/110188 "2007-07-24T02:20:28Z")

</div>

Hi, I’ve searched with no end for any clue as to why I get the following error: SQLite3::SQLException: SQL logic error or missing database: INSERT INTO estudio\_stages (“updated\_at”, “estudio\_id”, “created\_at”, “stage…

---

## [Loading screen help (newbie somewhat)](https://www.ruby-forum.com/t/loading-screen-help-newbie-somewhat/110191)

<div class="topic-metadata">

**Author:** [@kaens](https://www.ruby-forum.com/u/kaens)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 2:09am UTC](https://www.ruby-forum.com/t/loading-screen-help-newbie-somewhat/110191 "2007-07-24T02:09:45Z")

</div>

So, I’m working on this Rails site, mostly doing Javascript bug fixing. The site’s a bit of a mess. Anyhow, the guy who owns the site wants a loading screen put in for the main page. The main page renders a whole bun…

---

## [Simple Newbie Question](https://www.ruby-forum.com/t/simple-newbie-question/110177)

<div class="topic-metadata">

**Author:** [@skibud2](https://www.ruby-forum.com/u/skibud2)\
**Replies:** 3\
**Last updated:** [July 24, 2007, 12:44am UTC](https://www.ruby-forum.com/t/simple-newbie-question/110177 "2007-07-24T00:44:07Z")

</div>

I created a custom .rb file with some classes for my rails application. Where should I put this file? I am assuming I should not put it in the helpers directory. Thanks, Mike

---

## [Zoomable Google maps?](https://www.ruby-forum.com/t/zoomable-google-maps/110183)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 12:21am UTC](https://www.ruby-forum.com/t/zoomable-google-maps/110183 "2007-07-24T00:21:44Z")

</div>

Anyone done the work to use the Google DragZoomControl (http:// googlemapsapi.blogspot.com/2007/06/dragzoomcontrol-v10-easier- zooming\_06.html) with ym4r? Would certainly make my life easier if someone could point me …

---

## [About sending email](https://www.ruby-forum.com/t/about-sending-email/110115)

<div class="topic-metadata">

**Author:** [@nagesh](https://www.ruby-forum.com/u/nagesh)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/about-sending-email/110115 "2007-07-23T23:23:29Z")

</div>

IS installing the stmp server is necessary fo sending e-mail

---

## [ActiveRecord.find :group option](https://www.ruby-forum.com/t/activerecord-find-group-option/110170)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/activerecord-find-group-option/110170 "2007-07-23T22:51:10Z")

</div>

I have a very simple find call… @assets = Asset.find(:all, :group =\> ‘asset\_type\_id’, :order =\> “name”) I have 3 Asset objects in my database, all of which have asset\_type\_id equal to 1. Why does this query only retu…

---

## [:with attribute for form\_remote\_tag](https://www.ruby-forum.com/t/with-attribute-for-form-remote-tag/109755)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/with-attribute-for-form-remote-tag/109755 "2007-07-23T22:29:11Z")

</div>

The :with attribute is very crappily documented. It works for me with link\_to\_remote, but I can’t seem to get it to work with form\_remote\_tag. Does anyone know whether it is possible, at all, to get :with working wit…

---

## [Best Practices for Unit Testing the Model?](https://www.ruby-forum.com/t/best-practices-for-unit-testing-the-model/110132)

<div class="topic-metadata">

**Author:** [@schof](https://www.ruby-forum.com/u/schof)\
**Replies:** 4\
**Last updated:** [July 23, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/best-practices-for-unit-testing-the-model/110132 "2007-07-23T22:26:06Z")

</div>

What are people’s thoughts on unit testing in the model? I was looking through the RoR manual\[1\] and it showed some examples of testing CRUD operations. Does this make much sense? Aren’t you just testing ActiveReco…

---

## [Need to reset and retain value in text\_field](https://www.ruby-forum.com/t/need-to-reset-and-retain-value-in-text-field/110155)

<div class="topic-metadata">

**Author:** [@arif](https://www.ruby-forum.com/u/arif)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/need-to-reset-and-retain-value-in-text-field/110155 "2007-07-23T22:14:24Z")

</div>

Hi, I have a form with a text\_field in one of my views in RAILS. I need to: put a ‘reset’ button so that I can clear (set to blank) the text\_field when the user clicks on the button and retain value in text\_field…

---

## [How to overwrite an already defined rake task](https://www.ruby-forum.com/t/how-to-overwrite-an-already-defined-rake-task/110065)

<div class="topic-metadata">

**Author:** [@Armin\_J](https://www.ruby-forum.com/u/Armin_J)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/how-to-overwrite-an-already-defined-rake-task/110065 "2007-07-23T22:04:42Z")

</div>

Hello, i want to overwrite an existing rake task. I can’t find a way to delete a task. Thanks in advance, Armin

---

## [Firebird, fireruby](https://www.ruby-forum.com/t/firebird-fireruby/110144)

<div class="topic-metadata">

**Author:** [@Ajit](https://www.ruby-forum.com/u/Ajit)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/firebird-fireruby/110144 "2007-07-23T22:01:29Z")

</div>

Hi Guys I am pretty new to Ruby. One of our client is using Firebird as his backend database. I have to create a script which will connect to his database, fetch some data and update few tables in MS-SQL database. No…

---

## [Passing data between controller methods](https://www.ruby-forum.com/t/passing-data-between-controller-methods/109905)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 23, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/passing-data-between-controller-methods/109905 "2007-07-23T21:52:23Z")

</div>

Hi All What is the best way to pass data between different controller methods in support of different views? Thanks

---

## [The value in text\_field helper](https://www.ruby-forum.com/t/the-value-in-text-field-helper/109979)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 4\
**Last updated:** [July 23, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/the-value-in-text-field-helper/109979 "2007-07-23T21:42:19Z")

</div>

I have been working on this small, minute, part on my project and it all hinges on setting the value in a text\_field helper. Saying: \<%= text\_field ‘user’, ‘company’, :value =\> @login %\> does not do it. When I go an…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1782)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1784)
