# Rails

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

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

---

## [Upload very very large file?](https://www.ruby-forum.com/t/upload-very-very-large-file/192014)

<div class="topic-metadata">

**Author:** [@qinguan](https://www.ruby-forum.com/u/qinguan)\
**Replies:** 18\
**Last updated:** [July 23, 2010, 11:14pm UTC](https://www.ruby-forum.com/t/upload-very-very-large-file/192014 "2010-07-23T23:14:05Z")

</div>

i want to upload a very very very large file(\>=4G),i have googled and tested two days,but still not found a better solution. at first ,i just find some rails plugins ,such as Acts As Attachment,Attachment Fu,File Colu…

---

## [Testing rescue\_action\_in\_public tip](https://www.ruby-forum.com/t/testing-rescue-action-in-public-tip/87734)

<div class="topic-metadata">

**Author:** [@thijs](https://www.ruby-forum.com/u/thijs)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 7:22pm UTC](https://www.ruby-forum.com/t/testing-rescue-action-in-public-tip/87734 "2010-07-23T19:22:21Z")

</div>

Hi All, Here’s a trick to functional test rescue\_action\_in\_public, I’ve been searching in the Rails source for an hour to find it: get(:index) @controller.send(:erase\_render\_results) @controller.send(:rescue\_action\_…

---

## [Action names in RESTful URLs](https://www.ruby-forum.com/t/action-names-in-restful-urls/192067)

<div class="topic-metadata">

**Author:** [@SSSSSSric\_Malenfant](https://www.ruby-forum.com/u/SSSSSSric_Malenfant)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 6:56pm UTC](https://www.ruby-forum.com/t/action-names-in-restful-urls/192067 "2010-07-23T18:56:47Z")

</div>

A probably noob-ish question about the restful urls, but I searched the groups archives and could not find it. IIUC, “GET /users/bob” should return a page showing information about the user identified with “bob”, whil…

---

## [Installing Ruby on Rails on Snow Leopard](https://www.ruby-forum.com/t/installing-ruby-on-rails-on-snow-leopard/192079)

<div class="topic-metadata">

**Author:** [@xgretsch](https://www.ruby-forum.com/u/xgretsch)\
**Replies:** 5\
**Last updated:** [July 23, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails-on-snow-leopard/192079 "2010-07-23T17:32:13Z")

</div>

I’m trying to use Ruby and Rails and getting very disheartened after a day of failure with a variety of errors. I’ve tried various approaches from the suggestions on this and other forums, so far all without success. …

---

## [Timestamps on log files](https://www.ruby-forum.com/t/timestamps-on-log-files/192063)

<div class="topic-metadata">

**Author:** [@Sebastian\_ASEspind](https://www.ruby-forum.com/u/Sebastian_ASEspind)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/timestamps-on-log-files/192063 "2010-07-23T17:01:11Z")

</div>

Hello people, I’m currently reading the innards of Arel and ActiveRecord and thought of modifying the ActiveSupport::BufferedLogger to automatically prepend a timestamp on each log entry. Would be very useful for a …

---

## [Action call with a csv, but render html with flash](https://www.ruby-forum.com/t/action-call-with-a-csv-but-render-html-with-flash/192090)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/action-call-with-a-csv-but-render-html-with-flash/192090 "2010-07-23T16:41:52Z")

</div>

Does anyone know how to get an action call with csv to render html with flash? I can get it to work locally but when I upload to the server it keeps trying to render a csv file with the html inside it. unless flash\[:…

---

## [Ruby on Rails - Google Maps book](https://www.ruby-forum.com/t/ruby-on-rails-google-maps-book/191939)

<div class="topic-metadata">

**Author:** [@jason\_white](https://www.ruby-forum.com/u/jason_white)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 4:15pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-google-maps-book/191939 "2010-07-23T16:15:28Z")

</div>

I’m looking at creating an application utilizing ROR and the Google Maps API. I came across this book “Beginning Google Maps Applications with Rails and Ajax: From Novice to Professionalhttp://www.amazon.com/exec/obi…

---

## [\[database-support\] How to interact with the eXist XML database](https://www.ruby-forum.com/t/database-support-how-to-interact-with-the-exist-xml-database/192089)

<div class="topic-metadata">

**Author:** [@Antoine](https://www.ruby-forum.com/u/Antoine)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 4:13pm UTC](https://www.ruby-forum.com/t/database-support-how-to-interact-with-the-exist-xml-database/192089 "2010-07-23T16:13:08Z")

</div>

Hi everyone, I intent to build a small application for evaluation purpose involving the eXist database. The goal is to analyse different data storing paradigms (relational, tree-based (XML), graph-based (RDF), …) in …

---

## [Javascript links not working in production mode](https://www.ruby-forum.com/t/javascript-links-not-working-in-production-mode/192087)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 3:48pm UTC](https://www.ruby-forum.com/t/javascript-links-not-working-in-production-mode/192087 "2010-07-23T15:48:10Z")

</div>

Hello guys, I have some stupid kind of problem with me. Hope you guys can help me to get rid of it. The problem is that in javascript i am making ajax requests manually just by giving links. So when that function get…

---

## [Senior Ruby on Rails Developer Needed! Can you help?](https://www.ruby-forum.com/t/senior-ruby-on-rails-developer-needed-can-you-help/190163)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 2:17pm UTC](https://www.ruby-forum.com/t/senior-ruby-on-rails-developer-needed-can-you-help/190163 "2010-07-23T14:17:48Z")

</div>

Can you help?!?! Are you considering a career move at the moment? Would you be interested working for one of the world’s leading mobile organisations? Are you looking for a web development role that will impact milli…

---

## [Alias\_method\_chain with i18n](https://www.ruby-forum.com/t/alias-method-chain-with-i18n/192085)

<div class="topic-metadata">

**Author:** [@pauloee](https://www.ruby-forum.com/u/pauloee)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 2:17pm UTC](https://www.ruby-forum.com/t/alias-method-chain-with-i18n/192085 "2010-07-23T14:17:48Z")

</div>

Hello, I was investigating solutions for i18n with will\_paginate and I found a possible solution at The author adds to application\_helper.rb the following code: ############################################# include…

---

## [Validating userâ€™s ability using CanCan wit h model associations](https://www.ruby-forum.com/t/validating-usera-s-ability-using-cancan-wit-h-model-associations/192053)

<div class="topic-metadata">

**Author:** [@corneto82](https://www.ruby-forum.com/u/corneto82)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 2:13pm UTC](https://www.ruby-forum.com/t/validating-usera-s-ability-using-cancan-wit-h-model-associations/192053 "2010-07-23T14:13:42Z")

</div>

I have a TakeAction model that looks like this: class TakeAction \< ActiveRecord::Base belongs\_to :user has\_many :take\_action\_notes attr\_protected :user\_id end and a TakeActionNote model that looks like this: class…

---

## [How to determine column data type of nil activerecord attributes?](https://www.ruby-forum.com/t/how-to-determine-column-data-type-of-nil-activerecord-attributes/192083)

<div class="topic-metadata">

**Author:** [@Lille](https://www.ruby-forum.com/u/Lille)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 2:07pm UTC](https://www.ruby-forum.com/t/how-to-determine-column-data-type-of-nil-activerecord-attributes/192083 "2010-07-23T14:07:50Z")

</div>

Hi, How do I query nil activerecord attributes for their schema datatype? (I want to select attributes for handling by datatype in a kind of metaprogamming approach…) Thanks, Lille

---

## [Rails crashes when running more than 1 instance](https://www.ruby-forum.com/t/rails-crashes-when-running-more-than-1-instance/189830)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 10\
**Last updated:** [July 23, 2010, 12:19pm UTC](https://www.ruby-forum.com/t/rails-crashes-when-running-more-than-1-instance/189830 "2010-07-23T12:19:32Z")

</div>

Hello everyone, I’m new here, and I wasn’t sure where to put this question. So forgive me if this is the wrong place. The problem I have is that when I open a second, different, rails app on one server, the ruby pro…

---

## [\[ANN\] Zena CMS 1.0 beta release](https://www.ruby-forum.com/t/ann-zena-cms-1-0-beta-release/192075)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 11:22am UTC](https://www.ruby-forum.com/t/ann-zena-cms-1-0-beta-release/192075 "2010-07-23T11:22:46Z")

</div>

Hi everyone ! I am very happy to announce the first beta release for the 1.0 branch which contains lots of changes. For those not familiar with Zena, it’s an open source CMS based on …Rails with super natural powers …

---

## [Association record duplication](https://www.ruby-forum.com/t/association-record-duplication/191941)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 4\
**Last updated:** [July 23, 2010, 11:21am UTC](https://www.ruby-forum.com/t/association-record-duplication/191941 "2010-07-23T11:21:35Z")

</div>

I have an edit page that generates a few input fields I organized in a table, like so: Driver License \<tr\> \<td\>Passport\</td\> \<td\> \<input id=“person\_accounts\_attributes\_0\_account\_document…

---

## [How do i open virtual rails with vdi file extension?](https://www.ruby-forum.com/t/how-do-i-open-virtual-rails-with-vdi-file-extension/192061)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [July 23, 2010, 10:35am UTC](https://www.ruby-forum.com/t/how-do-i-open-virtual-rails-with-vdi-file-extension/192061 "2010-07-23T10:35:55Z")

</div>

i just downloaded virtual rails1.1.vdi I need to know what software or zip extracter do I need to open it…it took me nearly five hours to download this program geeeez!!!

---

## [Barry Flower is out of the office](https://www.ruby-forum.com/t/barry-flower-is-out-of-the-office/192073)

<div class="topic-metadata">

**Author:** [@Barry\_Flower](https://www.ruby-forum.com/u/Barry_Flower)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 10:21am UTC](https://www.ruby-forum.com/t/barry-flower-is-out-of-the-office/192073 "2010-07-23T10:21:16Z")

</div>

I will be out of the office starting 23/07/2010 and will not return until 03/08/2010. I will be accessing my mail from time to time but for urgent issues please contact Kiran Joshi (IT Issues) or Adam Brand (Busine…

---

## [How to integrate jasper reports in rails](https://www.ruby-forum.com/t/how-to-integrate-jasper-reports-in-rails/192069)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 9:19am UTC](https://www.ruby-forum.com/t/how-to-integrate-jasper-reports-in-rails/192069 "2010-07-23T09:19:49Z")

</div>

Dear all, Can anyone help, How to call .jasper files in rails, how to integrate jasper reports in rails. with regards kiran

---

## [Jobs: Web Developer- Ruby on Rails position in San Diego, CA](https://www.ruby-forum.com/t/jobs-web-developer-ruby-on-rails-position-in-san-diego-ca/192065)

<div class="topic-metadata">

**Author:** [@sandeep](https://www.ruby-forum.com/u/sandeep)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 9:19am UTC](https://www.ruby-forum.com/t/jobs-web-developer-ruby-on-rails-position-in-san-diego-ca/192065 "2010-07-23T09:19:49Z")

</div>

Sandeep Khavale Intelliswift Software Inc. Email ID: removed\_email\_address@domain.invalid Phone: 510 870 0355 We are currently looking for Web D. for position in San Diego, CA. Description: Required skills are Rub…

---

## [XML builder](https://www.ruby-forum.com/t/xml-builder/192001)

<div class="topic-metadata">

**Author:** [@brandon](https://www.ruby-forum.com/u/brandon)\
**Replies:** 6\
**Last updated:** [July 23, 2010, 9:19am UTC](https://www.ruby-forum.com/t/xml-builder/192001 "2010-07-23T09:19:49Z")

</div>

I am using the XML builder and I am frustrated by the lack of being able to use variables to define the names of XML elements I want to be able to do this (in actionname.xml.builder) … element\_name = “Tag” xml.eleme…

---

## [Which ruby](https://www.ruby-forum.com/t/which-ruby/192039)

<div class="topic-metadata">

**Author:** [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Replies:** 4\
**Last updated:** [July 23, 2010, 7:51am UTC](https://www.ruby-forum.com/t/which-ruby/192039 "2010-07-23T07:51:40Z")

</div>

I am using 1.9.2-head and rails 3 beta 4 should i use 1.9.2.RC2 or stay put till the august release

---

## [Accessing Input Type Image Coordinate Params](https://www.ruby-forum.com/t/accessing-input-type-image-coordinate-params/192055)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 7:31am UTC](https://www.ruby-forum.com/t/accessing-input-type-image-coordinate-params/192055 "2010-07-23T07:31:32Z")

</div>

Form input of type image sends as parameters the x,y coordinates of the point on the image where the click occurred. Param keys are generally in the form, ‘my\_image.x’ and ‘my\_image.y’. So, if one wants to test whet…

---

## [Sortable Lists](https://www.ruby-forum.com/t/sortable-lists/192057)

<div class="topic-metadata">

**Author:** [@thereddestruby](https://www.ruby-forum.com/u/thereddestruby)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 7:21am UTC](https://www.ruby-forum.com/t/sortable-lists/192057 "2010-07-23T07:21:35Z")

</div>

So I have been assigned to make a sortable list, similar to the To-Do lists feature in Basecamp. Actually, exactly the same. What’s the best way to go about this nowadays? I have not had much success with the Railscas…

---

## [Creating new database](https://www.ruby-forum.com/t/creating-new-database/191978)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 5\
**Last updated:** [July 23, 2010, 2:43am UTC](https://www.ruby-forum.com/t/creating-new-database/191978 "2010-07-23T02:43:03Z")

</div>

I have a development db for my app and wanted to create a new development db. so, i created a new and changed the config files as needed. one but i can not do any new migrations. i tried rake db:reset and rake db:migr…

---

## [Rails views now display as verbatim HTML](https://www.ruby-forum.com/t/rails-views-now-display-as-verbatim-html/191935)

<div class="topic-metadata">

**Author:** [@Tucson\_Tom](https://www.ruby-forum.com/u/Tucson_Tom)\
**Replies:** 19\
**Last updated:** [July 23, 2010, 12:18am UTC](https://www.ruby-forum.com/t/rails-views-now-display-as-verbatim-html/191935 "2010-07-23T00:18:18Z")

</div>

Hello all. I am hoping this is some simple thing that you can help me with. A few years ago I put together a couple of rails applications, and they have been running nicely – until I just did an upgrade of the serve…

---

## [TemplateError while rendering german special characters](https://www.ruby-forum.com/t/templateerror-while-rendering-german-special-characters/192044)

<div class="topic-metadata">

**Author:** [@rangalo](https://www.ruby-forum.com/u/rangalo)\
**Replies:** 0\
**Last updated:** [July 22, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/templateerror-while-rendering-german-special-characters/192044 "2010-07-22T22:07:28Z")

</div>

Hi I am using following versions of Ruby and Rails on arch linux \[hardik@sunshine: kandibank \]$ ruby --version ruby 1.9.1p429 (2010-07-02 revision 28523) \[x86\_64-linux\] \[hardik@sunshine: kandibank \]$ rails --version …

---

## [Something went wrong](https://www.ruby-forum.com/t/something-went-wrong/191999)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 9\
**Last updated:** [July 22, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/something-went-wrong/191999 "2010-07-22T21:52:04Z")

</div>

My app works fine in development on my laptop but in production on my server I get “We’re sorry, but something went wrong. We’ve been notified about this issue and we’ll take a look at it shortly.” I am using Rails 3,…

---

## [Strange Error undefined method \`show' for # see no way to debug, suggestions?](https://www.ruby-forum.com/t/strange-error-undefined-method-show-for-see-no-way-to-debug-suggestions/191826)

<div class="topic-metadata">

**Author:** [@rubybox](https://www.ruby-forum.com/u/rubybox)\
**Replies:** 16\
**Last updated:** [July 22, 2010, 9:42pm UTC](https://www.ruby-forum.com/t/strange-error-undefined-method-show-for-see-no-way-to-debug-suggestions/191826 "2010-07-22T21:42:07Z")

</div>

I changed fairly much in my app without constant testing ( my bad ) now i get an error which I cannot seem to debug point my finger on. I have a home controller which just displays a welcome page this had a index only…

---

## [Aasm manage states](https://www.ruby-forum.com/t/aasm-manage-states/191668)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [July 22, 2010, 8:36pm UTC](https://www.ruby-forum.com/t/aasm-manage-states/191668 "2010-07-22T20:36:12Z")

</div>

Is there a way to manage the states in AASM by keeping them in a table to normalize the data?

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

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