# Rails

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

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

---

## [Why is rendering an rxml template so hard?](https://www.ruby-forum.com/t/why-is-rendering-an-rxml-template-so-hard/106050)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 11:38pm UTC](https://www.ruby-forum.com/t/why-is-rendering-an-rxml-template-so-hard/106050 "2007-06-05T23:38:18Z")

</div>

I want to do something very simple and basic. All that I want to do is create an action that returns xml using an rxml template. exempt\_from\_layout function does not work and rendering an rxml file uses a layout for s…

---

## [Passing values between actions](https://www.ruby-forum.com/t/passing-values-between-actions/105652)

<div class="topic-metadata">

**Author:** [@Serengeti](https://www.ruby-forum.com/u/Serengeti)\
**Replies:** 16\
**Last updated:** [June 5, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/passing-values-between-actions/105652 "2007-06-05T22:09:02Z")

</div>

I’ve seen numerous discussions similar to this, but none that are exactly the same. I am building a simple support ticket system where a ticket has\_many entries. I want to have a view that displays all the entries as…

---

## [Allow HTML and Deny JavaScript](https://www.ruby-forum.com/t/allow-html-and-deny-javascript/105335)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [June 5, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/allow-html-and-deny-javascript/105335 "2007-06-05T22:08:02Z")

</div>

How to allow the HTML and Deny the JavaScript? If you use the h tag: \<% for column in Post.content\_columns %\> \<%= column.human\_name %\>: \<%=h @post.send(column.name) %\> \<% end %\> You are escaping of HTML and JS …

---

## [Mysterious Javascript showing up & trashing page](https://www.ruby-forum.com/t/mysterious-javascript-showing-up-trashing-page/106031)

<div class="topic-metadata">

**Author:** [@jrivero](https://www.ruby-forum.com/u/jrivero)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/mysterious-javascript-showing-up-trashing-page/106031 "2007-06-05T21:25:55Z")

</div>

Every time I edit a particular page, a bit of javascript myseteriously shows up when I save it. After that, the page does not lie correctly, and the items at the end of the list are covered over by elements from the s…

---

## [Rails app works only if created directly on server; transfer](https://www.ruby-forum.com/t/rails-app-works-only-if-created-directly-on-server-transfer/105940)

<div class="topic-metadata">

**Author:** [@Gary\_King](https://www.ruby-forum.com/u/Gary_King)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/rails-app-works-only-if-created-directly-on-server-transfer/105940 "2007-06-05T21:22:54Z")

</div>

Hey guys, I have a Rails deployment issue. If I run the ‘rails app\_name’ command on my server directly, then run that, then the app runs fine. But, if I run ‘rails app\_name’ on my desktop and then upload the app to th…

---

## [Help me convert find\_by\_sql to Rails idioms](https://www.ruby-forum.com/t/help-me-convert-find-by-sql-to-rails-idioms/106022)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/help-me-convert-find-by-sql-to-rails-idioms/106022 "2007-06-05T21:07:38Z")

</div>

I managed to cobble together some dependent drop-down selects. First, you pick a state, then a city in that state, then a venue in both the city and the state. I got it to work using find\_by\_sql, but I’d like to use R…

---

## [Forum style 'last post' query](https://www.ruby-forum.com/t/forum-style-last-post-query/105991)

<div class="topic-metadata">

**Author:** [@tim](https://www.ruby-forum.com/u/tim)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/forum-style-last-post-query/105991 "2007-06-05T20:57:38Z")

</div>

Hi I am developing a forum style rails app (my first one). Everything has been wonderfully simple and clean so far. However I have got to the point, which seems inevitable whenever I use SQL, where a seemingly simp…

---

## [ActiveResource with has\_many](https://www.ruby-forum.com/t/activeresource-with-has-many/106033)

<div class="topic-metadata">

**Author:** [@Ryan\_Wallace](https://www.ruby-forum.com/u/Ryan_Wallace)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/activeresource-with-has-many/106033 "2007-06-05T20:46:35Z")

</div>

Hi all, I am attempting to create a small app using ActiveResource but I am having trouble with relationships between models. It seems that ActiveResource doesn’t support has\_many relationships yet. Is there any way …

---

## [Top 5 links and Groups on searchles Last week](https://www.ruby-forum.com/t/top-5-links-and-groups-on-searchles-last-week/106032)

<div class="topic-metadata">

**Author:** [@Vivian\_Aranha](https://www.ruby-forum.com/u/Vivian_Aranha)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/top-5-links-and-groups-on-searchles-last-week/106032 "2007-06-05T20:37:34Z")

</div>

Awesome Channels were made by our users last week. Enjoy them! TOP 5 POSTINGS: 1. MEN vs. WOMEN http://www.searchles.com/links/show/id/45865 2. Boys & Girls, enjoy it. There are plenty for all of you. Fr…

---

## [Functional Tests misbehaving with Globalize](https://www.ruby-forum.com/t/functional-tests-misbehaving-with-globalize/98747)

<div class="topic-metadata">

**Author:** [@kennethkalmer](https://www.ruby-forum.com/u/kennethkalmer)\
**Replies:** 5\
**Last updated:** [June 5, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/functional-tests-misbehaving-with-globalize/98747 "2007-06-05T20:37:11Z")

</div>

Howdy all Apologies to the folks subscribed to the globalize list for dual posting this message… I’ve got a project running globalize and rails 1.1.4, and I’ve only recently adopted a strong love for testing. Now my …

---

## [Periodic crash](https://www.ruby-forum.com/t/periodic-crash/106012)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/periodic-crash/106012 "2007-06-05T20:30:33Z")

</div>

I’ve got an RoR application that periodically refreshes its page with in the section. This works beautifully for the most part, but about every 4 or 5 days, Rails will crash with the dump shown below. All components…

---

## [Database triggers](https://www.ruby-forum.com/t/database-triggers/106027)

<div class="topic-metadata">

**Author:** [@Hugo\_Pacheco](https://www.ruby-forum.com/u/Hugo_Pacheco)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/database-triggers/106027 "2007-06-05T19:40:24Z")

</div>

Hi all, How can I bind a ruby action to a database trigger? Cheers, hugo

---

## [Amazon Web Services for Ruby on Rails Learning](https://www.ruby-forum.com/t/amazon-web-services-for-ruby-on-rails-learning/146853)

<div class="topic-metadata">

**Author:** [@lrojas](https://www.ruby-forum.com/u/lrojas)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/amazon-web-services-for-ruby-on-rails-learning/146853 "2007-06-05T19:38:24Z")

</div>

Hi all, I was wondering if anybody here have used the Amazon Web Services ( EC2 and S3 specifically ) to make a RoR Lab? How would this compare to using the shared hosting in Textdrive or Any other host for that matt…

---

## [Amazon Web Services for Ruby on Rails Learning](https://www.ruby-forum.com/t/amazon-web-services-for-ruby-on-rails-learning/106025)

<div class="topic-metadata">

**Author:** [@lrojas](https://www.ruby-forum.com/u/lrojas)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/amazon-web-services-for-ruby-on-rails-learning/106025 "2007-06-05T19:38:24Z")

</div>

Hi all, I was wondering if anybody here have used the Amazon Web Services ( EC2 and S3 specifically ) to make a RoR Lab? How would this compare to using the shared hosting in Textdrive or Any other host for that matt…

---

## [Railsconf 2007 video plans?](https://www.ruby-forum.com/t/railsconf-2007-video-plans/105403)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/railsconf-2007-video-plans/105403 "2007-06-05T19:36:23Z")

</div>

Does anyone know if there are plans to release videos of some of the RailsConf 07 presentations? I have found the slides at http://www.web2expo.com/pub/w/51/presentations.html, but without the talking they are slight…

---

## [Plugins, Generators and Updates](https://www.ruby-forum.com/t/plugins-generators-and-updates/106006)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/plugins-generators-and-updates/106006 "2007-06-05T18:54:05Z")

</div>

Hi all, I am writing a plugin that we plan to use on some future websites we are building. My question is more of a poll of everyone’s preferences on the deployment of a plugin. I am at the point now where I have to …

---

## [Rails/mongrel cluster - keeping media in sync across nodes w](https://www.ruby-forum.com/t/rails-mongrel-cluster-keeping-media-in-sync-across-nodes-w/106015)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/rails-mongrel-cluster-keeping-media-in-sync-across-nodes-w/106015 "2007-06-05T18:37:04Z")

</div>

Hi all, I figured I would see what other people would do and get some ideas on what route I want to take. Let me first give you a brief summary of my network and application. I have a Cisco PIX FW and a Cisco 11501 C…

---

## [What is rails? Newbie question](https://www.ruby-forum.com/t/what-is-rails-newbie-question/105969)

<div class="topic-metadata">

**Author:** [@DBC\_User](https://www.ruby-forum.com/u/DBC_User)\
**Replies:** 7\
**Last updated:** [June 5, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/what-is-rails-newbie-question/105969 "2007-06-05T18:31:01Z")

</div>

I went through the documents and tutorials and they are all good to know how to create web apps using rails. I would like to understand the fundamental concept about Rails. I understand using rails you can create a we…

---

## [BackgroundRB process dies before finishing or tossing error](https://www.ruby-forum.com/t/backgroundrb-process-dies-before-finishing-or-tossing-error/105966)

<div class="topic-metadata">

**Author:** [@mrpunkin](https://www.ruby-forum.com/u/mrpunkin)\
**Replies:** 8\
**Last updated:** [June 5, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/backgroundrb-process-dies-before-finishing-or-tossing-error/105966 "2007-06-05T18:12:03Z")

</div>

Can someone PLEASE help me. BackgroundRB doesn’t finish its process, nor does it log any errors, even if I place the section of code, initializing a new Photo object, within a begin / rescue block. Nothing happens sho…

---

## [Flex\_image and bulk import](https://www.ruby-forum.com/t/flex-image-and-bulk-import/105956)

<div class="topic-metadata">

**Author:** [@kevin\_evans](https://www.ruby-forum.com/u/kevin_evans)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/flex-image-and-bulk-import/105956 "2007-06-05T17:51:54Z")

</div>

I’m using the excellent flex\_image plugin for a new project and have hit a bit of a road block. I need to import a large number of images and so have been looking at an alternative to just using a simple html form to …

---

## [S3 throwing invalid argument using AWS S3 API](https://www.ruby-forum.com/t/s3-throwing-invalid-argument-using-aws-s3-api/81297)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/s3-throwing-invalid-argument-using-aws-s3-api/81297 "2007-06-05T16:51:15Z")

</div>

Hello, Im using the following amazon web service API for S3 : http://amazon.rubyforge.org/ The problem is that after I establish a connection using establish\_connection!, and try using the “store” command, I keep get…

---

## [Pointy haired boss request - turn off pretty url](https://www.ruby-forum.com/t/pointy-haired-boss-request-turn-off-pretty-url/105871)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 14\
**Last updated:** [June 5, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/pointy-haired-boss-request-turn-off-pretty-url/105871 "2007-06-05T16:30:40Z")

</div>

So the app I’m working on has things that we refer to with a slug (let’s pretend they are blog entries). If one has the proper URL of the form (example) www.mydomain.com/blogthing/display/666, they can enter that in …

---

## [Determine O/S from rails?](https://www.ruby-forum.com/t/determine-o-s-from-rails/106007)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/determine-o-s-from-rails/106007 "2007-06-05T16:25:39Z")

</div>

Is there a simple way to determine the OS rails is currently running under. I have an application which runs under both Windows and Rails. The code needs to access a different file depending on which OS is currently …

---

## [Interactive generator](https://www.ruby-forum.com/t/interactive-generator/105988)

<div class="topic-metadata">

**Author:** [@bernd](https://www.ruby-forum.com/u/bernd)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/interactive-generator/105988 "2007-06-05T15:30:25Z")

</div>

Hi, I am currently writing a rails generator. However it will be a little bit more complex than the standard generators (e.g. model). Therefore I do not want, that the user has to give all arguments as parameters to …

---

## [Pdf manipulation with RoR?](https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804 "2007-06-05T15:29:18Z")

</div>

New to rails and I’m working on a site for ebooks and was wondering if there are any plugins for rails that will allow me to generate pdfs on the fly like safari books, where after you order a book it prepares a pdf w…

---

## [Optional conditions in find](https://www.ruby-forum.com/t/optional-conditions-in-find/105912)

<div class="topic-metadata">

**Author:** [@moonshine](https://www.ruby-forum.com/u/moonshine)\
**Replies:** 10\
**Last updated:** [June 5, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/optional-conditions-in-find/105912 "2007-06-05T15:28:18Z")

</div>

G’day I am a complete newbie to programming. All I have to go on at this point is the Agile book from Pragmatic Prog. and all the reading I have been doing on the net. I am looking (begging!) for some help with the …

---

## [Rake db:migrate on old app](https://www.ruby-forum.com/t/rake-db-migrate-on-old-app/106005)

<div class="topic-metadata">

**Author:** [@Dion\_H](https://www.ruby-forum.com/u/Dion_H)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-on-old-app/106005 "2007-06-05T15:26:16Z")

</div>

Hi there I am setting up an old rails app I did last year on my development machine, but it will not migrate the new db I froze rails at 1.1.6…but not the gems when I do a rake db:migrate I get the log at the bottom…

---

## [\[ANN\] rails plugin: find\_by\_association](https://www.ruby-forum.com/t/ann-rails-plugin-find-by-association/105947)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/ann-rails-plugin-find-by-association/105947 "2007-06-05T15:03:06Z")

</div>

Greetings, Buck and Koz show put on a sesssion of do’s and don’t s at railsconf an expression of the rails way vision - Helping us to clean up our code with smart coding practices http://onrails.org/articles/2007/05…

---

## [\[ANN\] simple\_descriptor 0.2.0](https://www.ruby-forum.com/t/ann-simple-descriptor-0-2-0/106002)

<div class="topic-metadata">

**Author:** [@Paolo\_N](https://www.ruby-forum.com/u/Paolo_N)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 2:52pm UTC](https://www.ruby-forum.com/t/ann-simple-descriptor-0-2-0/106002 "2007-06-05T14:52:02Z")

</div>

SimpleDescriptor is a gem that makes easy to attach extra informations to a generic ruby class. Version 0.2.0 implements specific method to integrate with ActiveRecord and help you keeping DRY your model validation co…

---

## [Dynamic forms](https://www.ruby-forum.com/t/dynamic-forms/103437)

<div class="topic-metadata">

**Author:** [@chapaev](https://www.ruby-forum.com/u/chapaev)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 1:58pm UTC](https://www.ruby-forum.com/t/dynamic-forms/103437 "2007-06-05T13:58:35Z")

</div>

Hi everyone! I’m new to Rails and i am interesting in methods for developing dynamic forms. I’ll try to explain what i wanted to say. I’m making a web-application for Human Resource Management and there must be oppor…

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

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