# Rails

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

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

---

## [Access ApplicationHelper methods in functional tests?](https://www.ruby-forum.com/t/access-applicationhelper-methods-in-functional-tests/89492)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/access-applicationhelper-methods-in-functional-tests/89492 "2007-03-20T21:06:38Z")

</div>

How would I go about accessing a method in ApplicationHelper from a functional test? I’ve tried this a number of ways that don’t work and I feel like there’s a fairly obvious solution I’m missing. I’m relatively new t…

---

## [Legacy Database](https://www.ruby-forum.com/t/legacy-database/89473)

<div class="topic-metadata">

**Author:** [@dominatorsc](https://www.ruby-forum.com/u/dominatorsc)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/legacy-database/89473 "2007-03-20T21:04:36Z")

</div>

How does one (a complete newbie) model and scafford an legacy database remotely. The tables appear to be in the correct form of pural names and the connection is correct any help would be greatfully

---

## [Show thumbnails in view with acts\_as\_attachment](https://www.ruby-forum.com/t/show-thumbnails-in-view-with-acts-as-attachment/89471)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/show-thumbnails-in-view-with-acts-as-attachment/89471 "2007-03-20T21:03:11Z")

</div>

Sorry, my brain is fried after getting this plugin working with polymorphic associations. I have an Image, and Image.thumbnails returns an array of thumbnails with names like “medium”, “small”, etc. So how do I disp…

---

## [Does edge have localization?](https://www.ruby-forum.com/t/does-edge-have-localization/89468)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/does-edge-have-localization/89468 "2007-03-20T20:45:34Z")

</div>

I read on the AjaxScaffold mailing list that edge has localization but I can’t see it in the changeset. Anyone can confirm?

---

## [Modules / blocks on a page](https://www.ruby-forum.com/t/modules-blocks-on-a-page/89229)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 8\
**Last updated:** [March 20, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/modules-blocks-on-a-page/89229 "2007-03-20T20:41:34Z")

</div>

Hi, what’s the best way to display “modules” in a webpage? I want to add these little blocks on different pages like a random image block for example. For example the modules on the right on this page: What’s the be…

---

## [Has\_one prematurely nullifies existing association when assi](https://www.ruby-forum.com/t/has-one-prematurely-nullifies-existing-association-when-assi/89230)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 5\
**Last updated:** [March 20, 2007, 8:36pm UTC](https://www.ruby-forum.com/t/has-one-prematurely-nullifies-existing-association-when-assi/89230 "2007-03-20T20:36:33Z")

</div>

Like a number of other Rails newbies, I’m seeing some unexpected behavior with the has\_one relationship. I attempted to search for a solution or explanation here and on Rails Trac, but came up short. I’m using Rails …

---

## [Beginner question getting data from textbox](https://www.ruby-forum.com/t/beginner-question-getting-data-from-textbox/89389)

<div class="topic-metadata">

**Author:** [@ckonrad](https://www.ruby-forum.com/u/ckonrad)\
**Replies:** 6\
**Last updated:** [March 20, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/beginner-question-getting-data-from-textbox/89389 "2007-03-20T20:27:25Z")

</div>

I am just doing a simple book exercise and i keep getting this error in the browser: no route found to match “/\\look\\at” with {:method=\>:get} i have an action named at set up in my controller class LookController \< A…

---

## [Acts\_as\_attachment Editing Images](https://www.ruby-forum.com/t/acts-as-attachment-editing-images/89462)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 8:19pm UTC](https://www.ruby-forum.com/t/acts-as-attachment-editing-images/89462 "2007-03-20T20:19:32Z")

</div>

I am currently using acts\_as\_attachment to upload multiple images in a form. I can currently edit all the info in the form but not the images associated with each record. How would I go about doing this? Equipment has…

---

## [Need help - File upload permissions](https://www.ruby-forum.com/t/need-help-file-upload-permissions/102722)

<div class="topic-metadata">

**Author:** [@stiv](https://www.ruby-forum.com/u/stiv)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/need-help-file-upload-permissions/102722 "2007-03-20T19:43:19Z")

</div>

I’m trying to do a simple file (image) upload and I’m running into trouble with permission to upload the file System: XP User staus: local admin Rails env: Instant rails w/Mongrel (vanilla setup) local site www.sgm.…

---

## [Canadian Host](https://www.ruby-forum.com/t/canadian-host/89467)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/canadian-host/89467 "2007-03-20T19:11:21Z")

</div>

Any recommendations on a Canadian-based Rails host?

---

## [Cannot save to test database](https://www.ruby-forum.com/t/cannot-save-to-test-database/89390)

<div class="topic-metadata">

**Author:** [@Vic](https://www.ruby-forum.com/u/Vic)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/cannot-save-to-test-database/89390 "2007-03-20T19:03:20Z")

</div>

Hi all, I am having problems writing data in the test database. I have a functional test method that calls a method in my application, which is creating a new object and saving it. Although fc.save! returns “true”, n…

---

## [Add xml feature to an object](https://www.ruby-forum.com/t/add-xml-feature-to-an-object/89464)

<div class="topic-metadata">

**Author:** [@thenakedsingularity](https://www.ruby-forum.com/u/thenakedsingularity)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/add-xml-feature-to-an-object/89464 "2007-03-20T18:52:18Z")

</div>

This should be simple. What is the quickest way to add XML to a plain object so I can call object.to\_xml()? I did some digging but did not find anything quick. I think that’s built into the ActiveRecord but what about…

---

## [ActionMailer template issues?](https://www.ruby-forum.com/t/actionmailer-template-issues/89470)

<div class="topic-metadata">

**Author:** [@dwfrank](https://www.ruby-forum.com/u/dwfrank)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/actionmailer-template-issues/89470 "2007-03-20T18:46:17Z")

</div>

I’m using ActionMailer and it’s working fine when actually sending mail. I have a TestEmailController whose job it is to render sample versions of each email we send and show them in a browser for review by QA & our …

---

## [Data into excel](https://www.ruby-forum.com/t/data-into-excel/89364)

<div class="topic-metadata">

**Author:** [@rvent](https://www.ruby-forum.com/u/rvent)\
**Replies:** 5\
**Last updated:** [March 20, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/data-into-excel/89364 "2007-03-20T18:30:14Z")

</div>

hello, I was wondering if there is a way to create an excel file with ROR…? Here is what i have: The app i have has a reports section, that section has many reports that use the find\_by\_sql in order to customize the …

---

## [How to set a maximum length for text area in rails](https://www.ruby-forum.com/t/how-to-set-a-maximum-length-for-text-area-in-rails/89422)

<div class="topic-metadata">

**Author:** [@shiva\_98](https://www.ruby-forum.com/u/shiva_98)\
**Replies:** 6\
**Last updated:** [March 20, 2007, 5:14pm UTC](https://www.ruby-forum.com/t/how-to-set-a-maximum-length-for-text-area-in-rails/89422 "2007-03-20T17:14:54Z")

</div>

how to set a maximum length for text area in rails

---

## [UTF8 strings in models, views and controllers](https://www.ruby-forum.com/t/utf8-strings-in-models-views-and-controllers/89439)

<div class="topic-metadata">

**Author:** [@amiridis](https://www.ruby-forum.com/u/amiridis)\
**Replies:** 6\
**Last updated:** [March 20, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/utf8-strings-in-models-views-and-controllers/89439 "2007-03-20T17:05:53Z")

</div>

Hi, I have set up MySQL to use Unicode and everything works fine as far as data is concerned. Whenever I try to change the scaffold view for a model, and replace English titles or field names for example with Greek o…

---

## [Ruby on Rails Caching Tutorial](https://www.ruby-forum.com/t/ruby-on-rails-caching-tutorial/89457)

<div class="topic-metadata">

**Author:** [@patched](https://www.ruby-forum.com/u/patched)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-caching-tutorial/89457 "2007-03-20T16:47:52Z")

</div>

Hey guys, Every Rails website should implement caching in some form, and I just finished posting a tutorial covering Page Caching, Action Caching, Fragment Caching, and even ActiveRecord Query Caching (The newest Ra…

---

## [Can't upload certain files with file\_column](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402 "2007-03-20T16:47:18Z")

</div>

This is in a development environment. I can upload most pics but sometimes rails just craps out with: â€ Errno::ENOENT in ImagesController#newâ€ The file size or type doesn’t seem directly linked to this error. Wh…

---

## [Search function](https://www.ruby-forum.com/t/search-function/89412)

<div class="topic-metadata">

**Author:** [@hasana](https://www.ruby-forum.com/u/hasana)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/search-function/89412 "2007-03-20T16:33:22Z")

</div>

How to do the searching in ruby… Example: Search data from the database.

---

## [Using fixtures without dropping existing data](https://www.ruby-forum.com/t/using-fixtures-without-dropping-existing-data/89451)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/using-fixtures-without-dropping-existing-data/89451 "2007-03-20T16:02:32Z")

</div>

Using fixtures for testing in rails is an awesome idea, but unfortunately i don’t have an extra instance of oracle running just so my rails tests can hammer it (i have to share a testing database). Is there a way of u…

---

## [Map.resource and map.connect](https://www.ruby-forum.com/t/map-resource-and-map-connect/89443)

<div class="topic-metadata">

**Author:** [@kapslok](https://www.ruby-forum.com/u/kapslok)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/map-resource-and-map-connect/89443 "2007-03-20T15:40:37Z")

</div>

I’m very new to Rails (1.2) and I’m trying to work something out: I have an AdminController which provides a basic index action and view. I also have a bunch of resources eg. Profiles, etc. these resources utilize the…

---

## [Uml tool for RoR](https://www.ruby-forum.com/t/uml-tool-for-ror/89395)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/uml-tool-for-ror/89395 "2007-03-20T15:38:20Z")

</div>

Exists some tool of UML for RoR. That generate de models and migrations through the draw class.

---

## [Acts\_as\_attachment custom filename - parent name](https://www.ruby-forum.com/t/acts-as-attachment-custom-filename-parent-name/89344)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/acts-as-attachment-custom-filename-parent-name/89344 "2007-03-20T15:20:53Z")

</div>

I’m trying to customize the filename in aaa and I know that you can over-ride the full\_filename method in the model, but I can’t figure out how to do exactly what I want. Imagine you have three models: class ActionMo…

---

## [Validation messages](https://www.ruby-forum.com/t/validation-messages/89249)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 2:53pm UTC](https://www.ruby-forum.com/t/validation-messages/89249 "2007-03-20T14:53:17Z")

</div>

Hi, I’m developing a dutch ruby on rails application. So I want the error messages to be in dutch. But when I add: ":message =\> ‘Geen wachtwoord ingevuld’ " to the user model I get this error message: " Password Geen…

---

## [How to manage accout user with ruby](https://www.ruby-forum.com/t/how-to-manage-accout-user-with-ruby/89274)

<div class="topic-metadata">

**Author:** [@hasana](https://www.ruby-forum.com/u/hasana)\
**Replies:** 8\
**Last updated:** [March 20, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/how-to-manage-accout-user-with-ruby/89274 "2007-03-20T14:39:40Z")

</div>

Hello…i’m new in Ruby on Rails… I wanna know…about login…

---

## [Data Constraint](https://www.ruby-forum.com/t/data-constraint/89410)

<div class="topic-metadata">

**Author:** [@hasana](https://www.ruby-forum.com/u/hasana)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/data-constraint/89410 "2007-03-20T14:38:18Z")

</div>

How to set the constraint of the input by the user…?? Example… If user input the name field with number.Error message will be display…

---

## [Reg: text area](https://www.ruby-forum.com/t/reg-text-area/89413)

<div class="topic-metadata">

**Author:** [@shiva\_98](https://www.ruby-forum.com/u/shiva_98)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 2:36pm UTC](https://www.ruby-forum.com/t/reg-text-area/89413 "2007-03-20T14:36:04Z")

</div>

how to limit the text area? for eg: if text area consists of only 160 characters,user should not exceeds the limit while typing itself

---

## [Table creation using migration](https://www.ruby-forum.com/t/table-creation-using-migration/89411)

<div class="topic-metadata">

**Author:** [@moo](https://www.ruby-forum.com/u/moo)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 2:34pm UTC](https://www.ruby-forum.com/t/table-creation-using-migration/89411 "2007-03-20T14:34:19Z")

</div>

Hi… to create a table with relationship to the other table…using the migration how does we do that table1 : id field1, field2, table2 : id field\_table1\_id, field2, field3, there is one to many relationship betw…

---

## [Acts\_as\_network or similar](https://www.ruby-forum.com/t/acts-as-network-or-similar/89440)

<div class="topic-metadata">

**Author:** [@ginger72](https://www.ruby-forum.com/u/ginger72)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 2:25pm UTC](https://www.ruby-forum.com/t/acts-as-network-or-similar/89440 "2007-03-20T14:25:31Z")

</div>

Hi, I have been trying to download the acts\_as\_network from http://svn.pixzone.com/svn/public/plugins/acts\_as\_network/ see also http://agilewebdevelopment.com/plugins/acts\_as\_network Can somebody please post this plu…

---

## [\[PLUGIN\] acts\_as\_twittertasticable - Twitter for your models](https://www.ruby-forum.com/t/plugin-acts-as-twittertasticable-twitter-for-your-models/89082)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 13\
**Last updated:** [March 20, 2007, 1:41pm UTC](https://www.ruby-forum.com/t/plugin-acts-as-twittertasticable-twitter-for-your-models/89082 "2007-03-20T13:41:18Z")

</div>

The blog post: The RDoc: Twitter is all the rage these days, and I only have one question Why do people get to have ALL THE FUN?! It’s time for Higher Order Models™(r)(c). Models that tell the world what they’re up…

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

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