# Rails

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

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

---

## [Calendar\_select\_tag and viewportoffset](https://www.ruby-forum.com/t/calendar-select-tag-and-viewportoffset/144873)

<div class="topic-metadata">

**Author:** [@thor](https://www.ruby-forum.com/u/thor)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/calendar-select-tag-and-viewportoffset/144873 "2008-08-03T18:14:29Z")

</div>

I have installed the calendar\_select\_tag plugin and I am using it as a popup vs. embedded. The problem that I am having is that the form is long and when I click the popup calendar icon, the popup calendar appears at…

---

## [Rails logger change format](https://www.ruby-forum.com/t/rails-logger-change-format/129529)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 5:28pm UTC](https://www.ruby-forum.com/t/rails-logger-change-format/129529 "2008-08-03T17:28:13Z")

</div>

Hi guys, After few investigations I still cannot change the format of logs from rails 2.0.2 apps. I tried with overwriting the format\_message method from Logger class and still nothing. I know that in Rails 2.0.2 Buf…

---

## [Error in deploy:setup concerning arcfour](https://www.ruby-forum.com/t/error-in-deploy-setup-concerning-arcfour/139217)

<div class="topic-metadata">

**Author:** [@ssmile](https://www.ruby-forum.com/u/ssmile)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 4:46pm UTC](https://www.ruby-forum.com/t/error-in-deploy-setup-concerning-arcfour/139217 "2008-08-03T16:46:32Z")

</div>

Hi! I’m new to cap. When I execute cap deploy:setup, i am seeing arcfour error as: \[root\]# cap deploy:setup \[DEPRECATION\] Capistrano.configuration is deprecated. Use Capistrano::Configuration.instance instead exec…

---

## [Ruby On Rails! San Francisco, CA, Closure on Friday rate- open/hr C2C 1 months +](https://www.ruby-forum.com/t/ruby-on-rails-san-francisco-ca-closure-on-friday-rate-open-hr-c2c-1-months/196768)

<div class="topic-metadata">

**Author:** [@beanish.arti](https://www.ruby-forum.com/u/beanish.arti)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 4:46pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-san-francisco-ca-closure-on-friday-rate-open-hr-c2c-1-months/196768 "2008-08-03T16:46:32Z")

</div>

Project Description:The project is a web based application, whereby users can search for their favorite destinations using Google maps. These destinations will then be saved in an online database, individual to each u…

---

## [\[ANN\] Prawn 0.1.0 : Fast, Nimble PDF Generation in pure Ruby](https://www.ruby-forum.com/t/ann-prawn-0-1-0-fast-nimble-pdf-generation-in-pure-ruby/144868)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/ann-prawn-0-1-0-fast-nimble-pdf-generation-in-pure-ruby/144868 "2008-08-03T16:06:45Z")

</div>

Prawn : Fast, Nimble Ruby PDF Generator Release Version 0.1.0 = Description: Prawn is a new pure Ruby PDF generation library, with the long term goal of providing a suitable replacement for PDF::Writer. It is being …

---

## [Embedding everything inside a transaction](https://www.ruby-forum.com/t/embedding-everything-inside-a-transaction/144849)

<div class="topic-metadata">

**Author:** [@stefan](https://www.ruby-forum.com/u/stefan)\
**Replies:** 3\
**Last updated:** [August 3, 2008, 1:43pm UTC](https://www.ruby-forum.com/t/embedding-everything-inside-a-transaction/144849 "2008-08-03T13:43:39Z")

</div>

Hey Guys, I’ve searched the depths of the world wide web for a solution to my problem with concurrent requests. The problem is the following: In my App I initialize the user in a before\_filter, with a bunch of inclu…

---

## [\[JOB\] VC-backed startup in SF needs software engineer](https://www.ruby-forum.com/t/job-vc-backed-startup-in-sf-needs-software-engineer/144860)

<div class="topic-metadata">

**Author:** [@ilistben](https://www.ruby-forum.com/u/ilistben)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 12:56pm UTC](https://www.ruby-forum.com/t/job-vc-backed-startup-in-sf-needs-software-engineer/144860 "2008-08-03T12:56:02Z")

</div>

Hi! We’re putting together a team of talented people for a VC-backed startup based out of San Francisco. We have some very high-profile, influential people involved, and we’re looking to bring on another skilled soft…

---

## [Update picture and not show the one in the browser cache?](https://www.ruby-forum.com/t/update-picture-and-not-show-the-one-in-the-browser-cache/144778)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 12:54pm UTC](https://www.ruby-forum.com/t/update-picture-and-not-show-the-one-in-the-browser-cache/144778 "2008-08-03T12:54:48Z")

</div>

Hi, I’m able to upload a pic and updated it later. My problem now is that after uploading the old picture is shown, it is taken from the browser cache I guess. In my app I only cache js and css. I’ve tried: expire\_…

---

## [Rails 2.1 - ActiveSupport::TimeWithZone - how to force a local time before saving?](https://www.ruby-forum.com/t/rails-2-1-activesupport-timewithzone-how-to-force-a-local-time-before-saving/144859)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 12:08pm UTC](https://www.ruby-forum.com/t/rails-2-1-activesupport-timewithzone-how-to-force-a-local-time-before-saving/144859 "2008-08-03T12:08:32Z")

</div>

I am currently saving record instances starting/ending dates without any time information, (date selection from a calendar\_date picker in my form) def create @season\_schedule = SeasonSchedule.new(params\[:season\_sche…

---

## [Data tier and business logic separation](https://www.ruby-forum.com/t/data-tier-and-business-logic-separation/144855)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 10:32am UTC](https://www.ruby-forum.com/t/data-tier-and-business-logic-separation/144855 "2008-08-03T10:32:36Z")

</div>

A couple of days back I posted about whether we need stored procedures/ triggers in our apps or not on my blog I would love to find out what the RoR community thinks about the arguments mentioned there.

---

## [Setting "from" address in ActionMailer](https://www.ruby-forum.com/t/setting-from-address-in-actionmailer/144758)

<div class="topic-metadata">

**Author:** [@Eric\_LIn](https://www.ruby-forum.com/u/Eric_LIn)\
**Replies:** 1\
**Last updated:** [August 3, 2008, 10:06am UTC](https://www.ruby-forum.com/t/setting-from-address-in-actionmailer/144758 "2008-08-03T10:06:52Z")

</div>

I’m having trouble setting the “from” address when I use ActionMailer to send emails. I’m using the SMTP method, with 01.com as my host. It seems 01.com is ignoring the value I set in @from in my ActionMailer model. …

---

## [Is there any way to get the exception](https://www.ruby-forum.com/t/is-there-any-way-to-get-the-exception/144817)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 1\
**Last updated:** [August 3, 2008, 9:48am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-get-the-exception/144817 "2008-08-03T09:48:09Z")

</div>

Here is tow model: class Morder \< ActiveRecord::Base has\_many :morderlists end class Morderlist \< ActiveRecord::Base belongs\_to :morder def validate #some validate end end And the method in controller : class …

---

## [Disable error report](https://www.ruby-forum.com/t/disable-error-report/144827)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 1\
**Last updated:** [August 3, 2008, 9:45am UTC](https://www.ruby-forum.com/t/disable-error-report/144827 "2008-08-03T09:45:49Z")

</div>

I have some function def func() val = 0 / 0 end func() … some code … =\> error how to specify the functions do not show the error and continued implementation of the program?

---

## [C++ Wrapper For Ruby](https://www.ruby-forum.com/t/c-wrapper-for-ruby/144826)

<div class="topic-metadata">

**Author:** [@kampers](https://www.ruby-forum.com/u/kampers)\
**Replies:** 1\
**Last updated:** [August 3, 2008, 9:41am UTC](https://www.ruby-forum.com/t/c-wrapper-for-ruby/144826 "2008-08-03T09:41:08Z")

</div>

I am trying to write some open source plugins for FileMaker Pro, but I’d rather write them in Ruby rather than C or C++ which is what FileMaker requires. Someone else has written a C++ wrapper for Java to do what I’m …

---

## [CGI temp file lock?](https://www.ruby-forum.com/t/cgi-temp-file-lock/144852)

<div class="topic-metadata">

**Author:** [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 8:32am UTC](https://www.ruby-forum.com/t/cgi-temp-file-lock/144852 "2008-08-03T08:32:11Z")

</div>

I am using attachment\_fu. During uploads - it creates (I think its attachment\_fu or is it apache?) a tmp file as /tmp/CGI-xxxxxx. On some occasion, I noticed that this file is not closed and hence the ruby instance r…

---

## [Rescue\_from ActionController::MethodNotAllowed](https://www.ruby-forum.com/t/rescue-from-actioncontroller-methodnotallowed/144786)

<div class="topic-metadata">

**Author:** [@vineire77](https://www.ruby-forum.com/u/vineire77)\
**Replies:** 3\
**Last updated:** [August 3, 2008, 6:46am UTC](https://www.ruby-forum.com/t/rescue-from-actioncontroller-methodnotallowed/144786 "2008-08-03T06:46:23Z")

</div>

Hello, I’m having some trouble handing ActionController::MethodNotAllowed errors. Basically, the following is defined in my controllers, but obviously I’m missing something. Thanks in advance for any light you can sh…

---

## [Ruby Form redirecting to edit page](https://www.ruby-forum.com/t/ruby-form-redirecting-to-edit-page/144815)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 2:56am UTC](https://www.ruby-forum.com/t/ruby-form-redirecting-to-edit-page/144815 "2008-08-03T02:56:07Z")

</div>

I am trying to create a form that will allows a person to enter a predetermined code. Once they submit the form with the code, they will be taken to a survey that corresponds to the code that they have entered. If the…

---

## [Javascript event handling after ajax call](https://www.ruby-forum.com/t/javascript-event-handling-after-ajax-call/144835)

<div class="topic-metadata">

**Author:** [@surge](https://www.ruby-forum.com/u/surge)\
**Replies:** 4\
**Last updated:** [August 3, 2008, 2:14am UTC](https://www.ruby-forum.com/t/javascript-event-handling-after-ajax-call/144835 "2008-08-03T02:14:38Z")

</div>

I’m using link\_to\_remote to populate a div with some data from the db and then show the div. The problem is that I need to show it reasonably close to the place where I clicked. As you know, Firefox passes its event o…

---

## [Problem with comment validation](https://www.ruby-forum.com/t/problem-with-comment-validation/144839)

<div class="topic-metadata">

**Author:** [@bryan](https://www.ruby-forum.com/u/bryan)\
**Replies:** 1\
**Last updated:** [August 2, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/problem-with-comment-validation/144839 "2008-08-02T23:54:55Z")

</div>

I’m a new Rails programmer and I’ve been working on a simple blog application to get started. But I have this problem with comment validation. I’m using REST throughout my entire app, and I have the comments resource…

---

## [Can't get sessions to work. Getting 500 Internal Server Error](https://www.ruby-forum.com/t/cant-get-sessions-to-work-getting-500-internal-server-error/144838)

<div class="topic-metadata">

**Author:** [@thomasptacek](https://www.ruby-forum.com/u/thomasptacek)\
**Replies:** 1\
**Last updated:** [August 2, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/cant-get-sessions-to-work-getting-500-internal-server-error/144838 "2008-08-02T22:06:06Z")

</div>

Hi, I’ve been fiddling around with rails for a while now. Following books, tutorials etc. But as soon as I tried to use sessions in my application, eg. by calling session\[:user\] = ‘something’ All I get is “500 Inte…

---

## [Simle search (railscasts episode 37) with autocomplete?](https://www.ruby-forum.com/t/simle-search-railscasts-episode-37-with-autocomplete/144836)

<div class="topic-metadata">

**Author:** [@pepa007](https://www.ruby-forum.com/u/pepa007)\
**Replies:** 1\
**Last updated:** [August 2, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/simle-search-railscasts-episode-37-with-autocomplete/144836 "2008-08-02T22:00:14Z")

</div>

Hi guys, sorry if it’s pretty easy, coz I’m still a newbie… how do I add the autocomplete feature to the simple search introduced by Ryan B. in the railscasts episode 37 (http://railscasts.com/ episodes/37-simple-sea…

---

## [Problems with will\_paginate gem](https://www.ruby-forum.com/t/problems-with-will-paginate-gem/144761)

<div class="topic-metadata">

**Author:** [@explainer](https://www.ruby-forum.com/u/explainer)\
**Replies:** 6\
**Last updated:** [August 2, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/problems-with-will-paginate-gem/144761 "2008-08-02T21:46:11Z")

</div>

Given that ‘classic\_pagination’ is now deprecated, I decided to install the ‘will\_paginate’ gem. I typed: sudo gem install will\_paginate The install went ahead with no messages. I now have will\_paginate (2.2.2) sh…

---

## [Filter\_parameter\_logging not working?](https://www.ruby-forum.com/t/filter-parameter-logging-not-working/144378)

<div class="topic-metadata">

**Author:** [@icewoman](https://www.ruby-forum.com/u/icewoman)\
**Replies:** 4\
**Last updated:** [August 2, 2008, 9:22pm UTC](https://www.ruby-forum.com/t/filter-parameter-logging-not-working/144378 "2008-08-02T21:22:10Z")

</div>

Well, it looks straightforward, but including the line: filter\_parameter\_logging :password in my application.rb, and in my account\_controller is having no discernable effect. I’m using acts\_as\_authenticated, with all…

---

## [Stack level too deep](https://www.ruby-forum.com/t/stack-level-too-deep/144831)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 0\
**Last updated:** [August 2, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/stack-level-too-deep/144831 "2008-08-02T20:19:31Z")

</div>

Hi there I’m coding a web application which, I hope so, will have a lot of visitors. The thing is that I did it using models to all the database accesses and now I have inserted a cache layer in the middle in order t…

---

## [\[ANN\] Ruby-GetText-Package-1.92.0](https://www.ruby-forum.com/t/ann-ruby-gettext-package-1-92-0/144808)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 4\
**Last updated:** [August 2, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/ann-ruby-gettext-package-1-92-0/144808 "2008-08-02T17:36:45Z")

</div>

Hi, Ruby-GetText-Package-1.92.0 is now available. Changes Fixed a memory leak(again) Fixed bugs. Latvian support. Improve to support mo-files. Support revision 1 of mo-file format. Freeze msgstrs. msgc…

---

## [Newbie: rake aborted! no block given](https://www.ruby-forum.com/t/newbie-rake-aborted-no-block-given/144806)

<div class="topic-metadata">

**Author:** [@tim](https://www.ruby-forum.com/u/tim)\
**Replies:** 2\
**Last updated:** [August 2, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/newbie-rake-aborted-no-block-given/144806 "2008-08-02T17:10:25Z")

</div>

Hi everyone…newbie here trying to get started from the Java and Microsoft world! I am trying to run db:migrate and am getting… rake aborted! no block given All the file does is create a table…nothing else. Here is …

---

## [File\_column + mini\_magick](https://www.ruby-forum.com/t/file-column-mini-magick/144813)

<div class="topic-metadata">

**Author:** [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Replies:** 0\
**Last updated:** [August 2, 2008, 3:12pm UTC](https://www.ruby-forum.com/t/file-column-mini-magick/144813 "2008-08-02T15:12:10Z")

</div>

I have a site where there are of the images loaded and reorganized by means using file\_column + rmagick. ill-fatedly mine webhosting it does not support rmagick but only mini\_magick. I would want to know if it is pos…

---

## [Named\_scope and caching?](https://www.ruby-forum.com/t/named-scope-and-caching/144811)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 0\
**Last updated:** [August 2, 2008, 2:11pm UTC](https://www.ruby-forum.com/t/named-scope-and-caching/144811 "2008-08-02T14:11:53Z")

</div>

Like many I was excited about the named\_scope stuff being rolled into Rails 2.1, but now that I try and go through and replace some of my self.find-like methods into named\_scopes I am encountering a problem… how do I …

---

## [How can I build params via javascript?](https://www.ruby-forum.com/t/how-can-i-build-params-via-javascript/144804)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 6\
**Last updated:** [August 2, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/how-can-i-build-params-via-javascript/144804 "2008-08-02T13:07:44Z")

</div>

I want use javascript to send a javascript object back to the rails.How can I do it. If I write like below: var material={code:“000”,name:“test”}; params={“material”:material} then I the params look like this: {"\_d…

---

## [What the best rails Content Management System at the moment?](https://www.ruby-forum.com/t/what-the-best-rails-content-management-system-at-the-moment/144689)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [August 2, 2008, 9:40am UTC](https://www.ruby-forum.com/t/what-the-best-rails-content-management-system-at-the-moment/144689 "2008-08-02T09:40:31Z")

</div>

Hi, What the best rails Content Management System at the moment? What should I look at… Tks

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

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