# Rails

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

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

---

## [Attachment\_fu, db\_file and Windows](https://www.ruby-forum.com/t/attachment-fu-db-file-and-windows/150919)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/attachment-fu-db-file-and-windows/150919 "2008-10-14T22:45:59Z")

</div>

I’m having trouble serving images which I have saved as db\_files with attachment\_fu. I use this code to serve the images: Controller – class PhotoController \< ApplicationController def image @photo=Photo.find(param…

---

## [Filemanager for tinymce](https://www.ruby-forum.com/t/filemanager-for-tinymce/150910)

<div class="topic-metadata">

**Author:** [@wouter](https://www.ruby-forum.com/u/wouter)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/filemanager-for-tinymce/150910 "2008-10-14T21:30:05Z")

</div>

Has someone found a file manager that works with tinymce? Like the filemanager of tinymce itself? Thanks

---

## [Latency Question](https://www.ruby-forum.com/t/latency-question/150890)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/latency-question/150890 "2008-10-14T21:18:20Z")

</div>

Hello- I built a rails app and all of a sudden its performance has plumeted. There’s no specific culprit I have been able to find in my code. Here’s a sample line from my log file: Processing PagesController#faq (for…

---

## [Future of Ruby as well as Rails](https://www.ruby-forum.com/t/future-of-ruby-as-well-as-rails/150675)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 9\
**Last updated:** [October 14, 2008, 8:28pm UTC](https://www.ruby-forum.com/t/future-of-ruby-as-well-as-rails/150675 "2008-10-14T20:28:56Z")

</div>

Hi while searching through the old posts I got this very old post… http://www.ruby-forum.com/topic/68101 Since all its answers are old I am posting my concern as seperate But may I ask the source question again? I l…

---

## [Searching - weird behavior with certain letters](https://www.ruby-forum.com/t/searching-weird-behavior-with-certain-letters/150895)

<div class="topic-metadata">

**Author:** [@infinteVerve](https://www.ruby-forum.com/u/infinteVerve)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 8:06pm UTC](https://www.ruby-forum.com/t/searching-weird-behavior-with-certain-letters/150895 "2008-10-14T20:06:37Z")

</div>

I could be going about this all wrong but here goes. I’m using a form to search my posts The controller has: def searchresults search\_term = params\[‘search’\] @posts\_search = Post.find(:all, :conditions =\> \[“title LI…

---

## [Link\_to\_remote](https://www.ruby-forum.com/t/link-to-remote/150893)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/link-to-remote/150893 "2008-10-14T19:55:56Z")

</div>

I have a link\_to\_remote that I am hoping will be able to slide up and down a particaular div, my issue is that I cannot get all the callbacks to work together. Here is what I have: \<%= link\_to\_remote( ‘S’, :url =\> { :…

---

## [Polymorphic problems](https://www.ruby-forum.com/t/polymorphic-problems/150866)

<div class="topic-metadata">

**Author:** [@serpico](https://www.ruby-forum.com/u/serpico)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/polymorphic-problems/150866 "2008-10-14T19:06:40Z")

</div>

Hi! I have a problem related to polymorphic associations. Currently in my routes i define the following: map.resources :articles do |articles| articles.resources :comments end map.resources :posts do |posts| posts…

---

## [List of features to be concluded for create a Rails Demo?](https://www.ruby-forum.com/t/list-of-features-to-be-concluded-for-create-a-rails-demo/150774)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/list-of-features-to-be-concluded-for-create-a-rails-demo/150774 "2008-10-14T18:33:38Z")

</div>

hey all, i need to create a good & attractive Rails-2.1.1 Demo presentation(with the full working flow) what are the main features should be concluded in presentation ?

---

## [Google Maps Plugin](https://www.ruby-forum.com/t/google-maps-plugin/150852)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/google-maps-plugin/150852 "2008-10-14T18:19:53Z")

</div>

Hi I am looking for some input on the google map plugins that are out there. I want to be able to use a google map within my site where two addresses can be entered and the directions along with the path are shown. …

---

## [Managing Plugins/Gems for a specific app](https://www.ruby-forum.com/t/managing-plugins-gems-for-a-specific-app/150452)

<div class="topic-metadata">

**Author:** [@CPerry](https://www.ruby-forum.com/u/CPerry)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/managing-plugins-gems-for-a-specific-app/150452 "2008-10-14T17:57:51Z")

</div>

I am curious to know what the best way (or most ideal way) is to handle keeping gems/plugins updated for a Rails app that gets updated quite frequently. I am currently building an app that will be using like 8 plugins…

---

## [Background tasks that need to start right away](https://www.ruby-forum.com/t/background-tasks-that-need-to-start-right-away/148576)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/background-tasks-that-need-to-start-right-away/148576 "2008-10-14T16:56:27Z")

</div>

I’m looking for recommendations for a simple, stable way to accomplish this. Here’s the scenario: whenever a user visits my app, I need to fire off a method that launches some API calls. the user sees a ‘loading’ sc…

---

## [Rmagick](https://www.ruby-forum.com/t/rmagick/150853)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 7\
**Last updated:** [October 14, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/rmagick/150853 "2008-10-14T16:13:13Z")

</div>

Hi, I am using imagemagick and rmagick for image manipulation… imagemagick version-6.4.4 rmagick 2.7 I need to create a thumbnail. img = Magick::Image.read(org\_img\_path)\[0\] img.crop\_resized(width,height) img.write(n…

---

## [Trying to replace some .find calls with better code](https://www.ruby-forum.com/t/trying-to-replace-some-find-calls-with-better-code/150880)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/trying-to-replace-some-find-calls-with-better-code/150880 "2008-10-14T15:41:53Z")

</div>

Hi all, This forum has been very helpful in the past so I figured I’d try and ask for some help on some (yet again) rather “newbie” stuff again. I currently have the following DB Schema (Two Tables Listed here): User…

---

## [Replace\_html not working](https://www.ruby-forum.com/t/replace-html-not-working/150875)

<div class="topic-metadata">

**Author:** [@yell13](https://www.ruby-forum.com/u/yell13)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 3:13pm UTC](https://www.ruby-forum.com/t/replace-html-not-working/150875 "2008-10-14T15:13:04Z")

</div>

hallo, everyone can anybody help me? i did add my code under ENGINES as a module in a project. before the change , all worked . and the differenz between both is only about application’s environment, before is Rub…

---

## [Nested class?](https://www.ruby-forum.com/t/nested-class/150784)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/nested-class/150784 "2008-10-14T15:11:13Z")

</div>

require ‘observer’ require ‘set’ class Content \< ActiveRecord::Base include Observable #somecode here that I hidden class ContentTextHelpers include ActionView::Helpers::TagHelper include ActionView::Helpers::Sani…

---

## [Starting Server gives an error](https://www.ruby-forum.com/t/starting-server-gives-an-error/150873)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/starting-server-gives-an-error/150873 "2008-10-14T14:53:56Z")

</div>

Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initializ…

---

## [To all TextMate users that wants to run tests with cmd + r in Rails 2.1 and above](https://www.ruby-forum.com/t/to-all-textmate-users-that-wants-to-run-tests-with-cmd-r-in-rails-2-1-and-above/150858)

<div class="topic-metadata">

**Author:** [@leethal](https://www.ruby-forum.com/u/leethal)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 1:46pm UTC](https://www.ruby-forum.com/t/to-all-textmate-users-that-wants-to-run-tests-with-cmd-r-in-rails-2-1-and-above/150858 "2008-10-14T13:46:45Z")

</div>

Because the require ‘test\_helper’ at the top of all the tests is relative now (it used to be something like require ‘…/test\_helper’), you can’t just run the file with ruby anymore. And running the file with ruby is ex…

---

## [Ad server en Rails](https://www.ruby-forum.com/t/ad-server-en-rails/150868)

<div class="topic-metadata">

**Author:** [@jcho360](https://www.ruby-forum.com/u/jcho360)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 11:52am UTC](https://www.ruby-forum.com/t/ad-server-en-rails/150868 "2008-10-14T11:52:53Z")

</div>

¿alguien conoce un Ad Server que se integre con Rails de forma sencilla? O mejor, que este escrito en Rails. Gracias,

---

## [Users generator?](https://www.ruby-forum.com/t/users-generator/150859)

<div class="topic-metadata">

**Author:** [@Conrad\_Owen](https://www.ruby-forum.com/u/Conrad_Owen)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 11:52am UTC](https://www.ruby-forum.com/t/users-generator/150859 "2008-10-14T11:52:53Z")

</div>

I was just writing a User model for possibly the fourth time since I picked up Rails last week (I’ve been going through tons of examples), which seems to violate the DRY principle. I was wondering if Rails had any bas…

---

## [Ruby on Rails Web Development](https://www.ruby-forum.com/t/ruby-on-rails-web-development/150869)

<div class="topic-metadata">

**Author:** [@palakbhatt](https://www.ruby-forum.com/u/palakbhatt)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 11:52am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-development/150869 "2008-10-14T11:52:34Z")

</div>

Radix offers Ruby on Rails web development services. Our dedicated RoR developers can create web 2.0 applications using latest Ruby on Rails web services. We are committed to provide our clients with sustainable solut…

---

## [Ruby on Rails Web Development](https://www.ruby-forum.com/t/ruby-on-rails-web-development/150867)

<div class="topic-metadata">

**Author:** [@palakbhatt](https://www.ruby-forum.com/u/palakbhatt)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 11:51am UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-development/150867 "2008-10-14T11:51:37Z")

</div>

Radix offers Ruby on Rails web development services. Our dedicated RoR developers can create web 2.0 applications using latest Ruby on Rails web services. We are committed to provide our clients with sustainable solut…

---

## [How to make customized forms?](https://www.ruby-forum.com/t/how-to-make-customized-forms/150865)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 11:25am UTC](https://www.ruby-forum.com/t/how-to-make-customized-forms/150865 "2008-10-14T11:25:13Z")

</div>

Hi. We know that we can make web forms using HTML or using Rails helpers. I have a thought in mind. May be its has been already implemented somewhere i don’t know. Assume a quiz application. There are many questions.…

---

## [Http\_authentication](https://www.ruby-forum.com/t/http-authentication/150628)

<div class="topic-metadata">

**Author:** [@g1g1g1](https://www.ruby-forum.com/u/g1g1g1)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 10:53am UTC](https://www.ruby-forum.com/t/http-authentication/150628 "2008-10-14T10:53:29Z")

</div>

Hi All, Just a question regarding the http\_authentication plugin for rails (for those that have experience with it). I’ve written a very simple rails app that allows a user to download a csv file from a server. The u…

---

## [Activemerchant and UK Maestro (formerly Switch) problem](https://www.ruby-forum.com/t/activemerchant-and-uk-maestro-formerly-switch-problem/150861)

<div class="topic-metadata">

**Author:** [@Hubert\_SSSSSSSSSpic](https://www.ruby-forum.com/u/Hubert_SSSSSSSSSpic)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 10:41am UTC](https://www.ruby-forum.com/t/activemerchant-and-uk-maestro-formerly-switch-problem/150861 "2008-10-14T10:41:45Z")

</div>

Hi, I am having problem with users reporting malfunctioning of UK Maestro cards functionality on website of a client. I am using most recent Activemerchant library from github, which I managed to make work with rails…

---

## [Plugin Installation Help](https://www.ruby-forum.com/t/plugin-installation-help/150718)

<div class="topic-metadata">

**Author:** [@Jaus\_LXXIV](https://www.ruby-forum.com/u/Jaus_LXXIV)\
**Replies:** 7\
**Last updated:** [October 14, 2008, 10:25am UTC](https://www.ruby-forum.com/t/plugin-installation-help/150718 "2008-10-14T10:25:20Z")

</div>

I need to install the classic\_pagination plugin for reasons I’d rather not go into. However, when I run ruby script/plugin install svn://errtheblog.com/svn/plugins/classic\_pagination there is no output (none at all),…

---

## [Couldn't find Admin with ID=list](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553)

<div class="topic-metadata">

**Author:** [@shruti\_m.upadhyay](https://www.ruby-forum.com/u/shruti_m.upadhyay)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 10:16am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553 "2008-10-14T10:16:21Z")

</div>

when i show list og products i got 'Couldn’t find Admin with ID=list ’ error.so plz give the solution for this error

---

## [Sorting hash?](https://www.ruby-forum.com/t/sorting-hash/131004)

<div class="topic-metadata">

**Author:** [@casid](https://www.ruby-forum.com/u/casid)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 8:42am UTC](https://www.ruby-forum.com/t/sorting-hash/131004 "2008-10-14T08:42:23Z")

</div>

Hello RoR Developers, I have tiny problem with sorting hash. I can not sort hash values. i have hash which is created by yaml file. yaml file template1: template\_of\_roster3: template\_of\_roster2 template\_of\_roster4:…

---

## [ActiveRecord and null string in Oracle](https://www.ruby-forum.com/t/activerecord-and-null-string-in-oracle/150835)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 8:37am UTC](https://www.ruby-forum.com/t/activerecord-and-null-string-in-oracle/150835 "2008-10-14T08:37:05Z")

</div>

When an empty string is stored in Oracle, it is converted to a null. When I retrieve it with rails, I get a nil object. I would like to modify my Rails model to return an empty string instead of null for that attribu…

---

## [Questions about generating customer\_code when creating customer](https://www.ruby-forum.com/t/questions-about-generating-customer-code-when-creating-customer/150841)

<div class="topic-metadata">

**Author:** [@Titan](https://www.ruby-forum.com/u/Titan)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 2:59am UTC](https://www.ruby-forum.com/t/questions-about-generating-customer-code-when-creating-customer/150841 "2008-10-14T02:59:32Z")

</div>

I am working a MIS which have some customer management work. When the customer object is creating, we need to generate a unique code for the customer. When in oracle, I created a sequence to solve the problem. But now…

---

## [Problem in Restful Routing](https://www.ruby-forum.com/t/problem-in-restful-routing/150792)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 3\
**Last updated:** [October 13, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/problem-in-restful-routing/150792 "2008-10-13T23:09:02Z")

</div>

Hi. I have a problem in restful routing. My project is a discussion forum. The route is map.resources :forums do |forum| forum.resources :topics do |topic| topic.resources :posts end end Everything in the code I …

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

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