# Rails

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

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

---

## [ActiveRecord Question: Disabling Boolean Emulation](https://www.ruby-forum.com/t/activerecord-question-disabling-boolean-emulation/176471)

<div class="topic-metadata">

**Author:** [@zettabyte](https://www.ruby-forum.com/u/zettabyte)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 5:41am UTC](https://www.ruby-forum.com/t/activerecord-question-disabling-boolean-emulation/176471 "2009-10-02T05:41:29Z")

</div>

Hello everyone, I’ve got a question for the ActiveRecord gurus. ActiveRecord version: 2.3.4 ActiveRecord adapter: mysql I’m accessing a database originally designed as the back-end data- store for a Microsoft Access-…

---

## [Erb question](https://www.ruby-forum.com/t/erb-question/176546)

<div class="topic-metadata">

**Author:** [@spokra](https://www.ruby-forum.com/u/spokra)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 3:51am UTC](https://www.ruby-forum.com/t/erb-question/176546 "2009-10-02T03:51:25Z")

</div>

I currently have a page controller that gets html content from the DB and then renders it. is there a way to use ERB to pre process the html and make it rhtml? allowing me to post more dynamic content…

---

## [Using Ruby on Rails to edit a script?](https://www.ruby-forum.com/t/using-ruby-on-rails-to-edit-a-script/176518)

<div class="topic-metadata">

**Author:** [@Sonix](https://www.ruby-forum.com/u/Sonix)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 3:41am UTC](https://www.ruby-forum.com/t/using-ruby-on-rails-to-edit-a-script/176518 "2009-10-02T03:41:21Z")

</div>

Is ROR a good fit if I want to edit and expand on a developed script like RoundCube( http://roundcube.net/ )? I’m planing to edit it for my business as an order/transcript application. If anyone is interested this lin…

---

## [Installing RMagick on UBUNTU 9.04](https://www.ruby-forum.com/t/installing-rmagick-on-ubuntu-9-04/176545)

<div class="topic-metadata">

**Author:** [@techtimer](https://www.ruby-forum.com/u/techtimer)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 3:18am UTC](https://www.ruby-forum.com/t/installing-rmagick-on-ubuntu-9-04/176545 "2009-10-02T03:18:04Z")

</div>

I installed ImageMagick 6.5.6 and all seems to be installed ok. I downloaded ImageMagick 6.5.6 I entered $ ./configure and everything seems OK. When I enter $ identify -version I get Version: ImageMagick 6.5.6-6 2…

---

## [Cookie overflow](https://www.ruby-forum.com/t/cookie-overflow/176476)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 12:21am UTC](https://www.ruby-forum.com/t/cookie-overflow/176476 "2009-10-02T00:21:15Z")

</div>

I am collecting information to be sent to a print routine that ultimately uses prawn to generate a PDF. It writes an error to the logs… Completed in 4304ms (View: 1, DB: 102) | 200 OK \[https://myserver/payables/print…

---

## [How to make rails parse \<p\>, \<b\>, \<strong\> entered in text area?](https://www.ruby-forum.com/t/how-to-make-rails-parse-p-b-strong-entered-in-text-area/176544)

<div class="topic-metadata">

**Author:** [@nik](https://www.ruby-forum.com/u/nik)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/how-to-make-rails-parse-p-b-strong-entered-in-text-area/176544 "2009-10-01T22:52:18Z")

</div>

Hello, I have this simple blog Post, I just want to jazz it up a bit with paragraphs, and bold faces, thought that wasn’t too much to ask for. But when I enter the following in the text area \<strong\>You won't believe …

---

## [Timezone and tzinfo](https://www.ruby-forum.com/t/timezone-and-tzinfo/176541)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 10:08pm UTC](https://www.ruby-forum.com/t/timezone-and-tzinfo/176541 "2009-10-01T22:08:24Z")

</div>

since rails added timezone support and integrated tzinfo, is there a difference in usine TimeZone vs Tzinfo::Timezone? Is there a relationship between the two? Looking at the API docs there is more functionality in th…

---

## [Want to jump/scroll to a certain row in a table](https://www.ruby-forum.com/t/want-to-jump-scroll-to-a-certain-row-in-a-table/176542)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 5\
**Last updated:** [October 1, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/want-to-jump-scroll-to-a-certain-row-in-a-table/176542 "2009-10-01T22:00:47Z")

</div>

Hi This might be more of an HTML question but it could be because of an interaction with Rails that the solution I use right now is not working. I have tried several ways to jump/scroll to a certain row in a large t…

---

## [Rails server on linux](https://www.ruby-forum.com/t/rails-server-on-linux/176385)

<div class="topic-metadata">

**Author:** [@kitty00](https://www.ruby-forum.com/u/kitty00)\
**Replies:** 14\
**Last updated:** [October 1, 2009, 9:56pm UTC](https://www.ruby-forum.com/t/rails-server-on-linux/176385 "2009-10-01T21:56:06Z")

</div>

Hi, I am trying to decide which Linux OS to use to implement rails server. I don’t know if Debian is better or CentOS is better. Which one is easier to install, update and maintain rails server? Also, which rails app…

---

## [Any way to avoid instantiating a class twice?](https://www.ruby-forum.com/t/any-way-to-avoid-instantiating-a-class-twice/176488)

<div class="topic-metadata">

**Author:** [@spencer](https://www.ruby-forum.com/u/spencer)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/any-way-to-avoid-instantiating-a-class-twice/176488 "2009-10-01T21:55:31Z")

</div>

Hey everyone, I’m trying to find a work around for a performance problem I’ve been having. I have a class that builds paths (among other things) dynamically to many files and folders depending on what sets of informat…

---

## [Problem with environment](https://www.ruby-forum.com/t/problem-with-environment/176511)

<div class="topic-metadata">

**Author:** [@spod](https://www.ruby-forum.com/u/spod)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 9:51pm UTC](https://www.ruby-forum.com/t/problem-with-environment/176511 "2009-10-01T21:51:25Z")

</div>

I’ve got 2 different servers, list of gems,version of ruby are the same, difference only in unit test execution process on one server all works fine but on the other i have such kind of error (whire running unit tests…

---

## [Problem with \<%=select%\>](https://www.ruby-forum.com/t/problem-with-select/176538)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/problem-with-select/176538 "2009-10-01T21:39:18Z")

</div>

Hi all, Today I have the following: \<%= select( “x”, “Y”, { “” =\> “”,“FOO” =\> “F” ,“BAR” =\> “B”}) %\> Now I have to test each item in the hash against a determined condition and display only if the test returns true…

---

## [CSS issue with div fieldWithErrors](https://www.ruby-forum.com/t/css-issue-with-div-fieldwitherrors/176498)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 6\
**Last updated:** [October 1, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/css-issue-with-div-fieldwitherrors/176498 "2009-10-01T19:31:58Z")

</div>

Hi, What’s the correct way of writing a form? I do the following: \<%= form\_for … %\> \<%= f.label :whatever %\> \<%= f.text\_field :whatever %\> \<%- end -%\> Then I do some CSS to have all the labels aligned, and all…

---

## [SQLite3::SQLException: id may not be null](https://www.ruby-forum.com/t/sqlite3-id-may-not-be-null/176400)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/sqlite3-id-may-not-be-null/176400 "2009-10-01T19:25:02Z")

</div>

I am getting the following error using sqlite3. If I ran the same query directly in sqlite3 client, the data is saved without error. Same is happening for every table during inserts. SQLite3::SQLException: sessions.id…

---

## [Backend game server](https://www.ruby-forum.com/t/backend-game-server/176532)

<div class="topic-metadata">

**Author:** [@wyattbiker](https://www.ruby-forum.com/u/wyattbiker)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/backend-game-server/176532 "2009-10-01T19:20:56Z")

</div>

Hi, I have a game that I need to make a small backend game management server so that gamers can play against each other. My game is turn based and very little data goes across only 2 players per game but many games ca…

---

## [Java Script](https://www.ruby-forum.com/t/java-script/176535)

<div class="topic-metadata">

**Author:** [@satya](https://www.ruby-forum.com/u/satya)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/java-script/176535 "2009-10-01T19:16:50Z")

</div>

Hi I am new to this group, i heard that this is a dedicated group with java script experts. if this is true then i want to be part of this. Please make me your friend. -Satya

---

## [How to get a nice url hierarchy with slugs and acts\_as\_tree?](https://www.ruby-forum.com/t/how-to-get-a-nice-url-hierarchy-with-slugs-and-acts-as-tree/169209)

<div class="topic-metadata">

**Author:** [@emmek](https://www.ruby-forum.com/u/emmek)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/how-to-get-a-nice-url-hierarchy-with-slugs-and-acts-as-tree/169209 "2009-10-01T19:02:31Z")

</div>

I have a model Page in my application that acts\_as\_tree. I want this model to keep whole structure of website. I have some root nodes: home, contact, articles, etc. and the possibility of adding children to them. I wa…

---

## [Help for separating time](https://www.ruby-forum.com/t/help-for-separating-time/176426)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 13\
**Last updated:** [October 1, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/help-for-separating-time/176426 "2009-10-01T18:01:18Z")

</div>

hi… i m using date picker like below \<%= calendar\_date\_select\_tag “e\_date\[\]”, Date.today, :popup =\> :force ,:time =\> true %\> when i submit the form i get parameter like below September 30, 2009 03:08 PM i want to c…

---

## [Beginning Rails development without internet](https://www.ruby-forum.com/t/beginning-rails-development-without-internet/176493)

<div class="topic-metadata">

**Author:** [@zakscott](https://www.ruby-forum.com/u/zakscott)\
**Replies:** 4\
**Last updated:** [October 1, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/beginning-rails-development-without-internet/176493 "2009-10-01T17:15:39Z")

</div>

When I told some web developer friends that I was going to try to learn Rails while taking a year off before college (when I would have very little internet), they were a little concerned, saying that it was almost es…

---

## [Paperclip performance hit](https://www.ruby-forum.com/t/paperclip-performance-hit/176521)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/paperclip-performance-hit/176521 "2009-10-01T16:02:11Z")

</div>

Hi, In order to customize my app in a web admin page, I’d like to create an @application object that will be fetched from DB and hold various customization values, it will be fetched for each request. I’d like to ad…

---

## [Youtube](https://www.ruby-forum.com/t/youtube/176519)

<div class="topic-metadata">

**Author:** [@Prashu](https://www.ruby-forum.com/u/Prashu)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/youtube/176519 "2009-10-01T15:29:41Z")

</div>

Hi How to extract the youtube videos based on the key to the web page using ruby.So that what are the steps i have to take attaching videos to web page. Regards Vinu

---

## [Generating new div when link is clicked](https://www.ruby-forum.com/t/generating-new-div-when-link-is-clicked/176489)

<div class="topic-metadata">

**Author:** [@ryan8720](https://www.ruby-forum.com/u/ryan8720)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/generating-new-div-when-link-is-clicked/176489 "2009-10-01T15:03:28Z")

</div>

Hi everyone, I’m new to rails, and I’ve got my application up and running. Now I’d like to add a function that I haven’t been able to find information on. Basically, I start with a form that asks the user to input th…

---

## [Find conditions](https://www.ruby-forum.com/t/find-conditions/176485)

<div class="topic-metadata">

**Author:** [@railsnut](https://www.ruby-forum.com/u/railsnut)\
**Replies:** 4\
**Last updated:** [October 1, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/find-conditions/176485 "2009-10-01T14:46:22Z")

</div>

I’m rails a newbie: I have a form setup where users selects datetime, the datetime serves the purpose of allowing the user to specify when the entry expires. In efforts to filter entrys that have an earlier datetime …

---

## [SOAP Dates and Rails](https://www.ruby-forum.com/t/soap-dates-and-rails/176413)

<div class="topic-metadata">

**Author:** [@ambrice](https://www.ruby-forum.com/u/ambrice)\
**Replies:** 13\
**Last updated:** [October 1, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/soap-dates-and-rails/176413 "2009-10-01T14:28:08Z")

</div>

Hi all, I’m using ruby on rails to communicate with a JADE agent server over SOAP. If I send over a DateTime.now it is accepted by the JADE server. As does 5.minutes.since DateTime.now and such. But if I pull a dat…

---

## [.htaccess not working, redirect all requests to maintenance](https://www.ruby-forum.com/t/htaccess-not-working-redirect-all-requests-to-maintenance/176512)

<div class="topic-metadata">

**Author:** [@priyasaini](https://www.ruby-forum.com/u/priyasaini)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/htaccess-not-working-redirect-all-requests-to-maintenance/176512 "2009-10-01T13:54:42Z")

</div>

Hi All: I need to upgrade my ROR application and in the maintenance period i want all the pages(actions) to redirect to a maintenance(html) page. I tried several options in .htaccess but it looks as if .htaccess is no…

---

## [Safari uploads fail, FF works](https://www.ruby-forum.com/t/safari-uploads-fail-ff-works/176500)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 1:39pm UTC](https://www.ruby-forum.com/t/safari-uploads-fail-ff-works/176500 "2009-10-01T13:39:37Z")

</div>

I am experiencing a very painful problem. When I upload a file to my rails app which uses paperclip, using Safari, the upload fails with a “the server unexpectedly dropped the connection” error. Using FF it works perf…

---

## [Rails et amchart](https://www.ruby-forum.com/t/rails-et-amchart/176507)

<div class="topic-metadata">

**Author:** [@khzied](https://www.ruby-forum.com/u/khzied)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 12:25pm UTC](https://www.ruby-forum.com/t/rails-et-amchart/176507 "2009-10-01T12:25:52Z")

</div>

hi everybody, I have a rails application and i want to use “amchart”, step by step, extracting data from my postgres database… Can you help me please? Thanks :slight\_smile:

---

## [Engines version for rails 2.2.2?](https://www.ruby-forum.com/t/engines-version-for-rails-2-2-2/176502)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 11:57am UTC](https://www.ruby-forum.com/t/engines-version-for-rails-2-2-2/176502 "2009-10-01T11:57:11Z")

</div>

Hi - sorry if this has been asked, i searched but couldn’t see anything. Anyway - is there a version of Engines compatible with rails 2.2.2? The one i got off github requires 2.3.2 or later. thanks max

---

## [Community Engine](https://www.ruby-forum.com/t/community-engine/176499)

<div class="topic-metadata">

**Author:** [@smit\_shah](https://www.ruby-forum.com/u/smit_shah)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 10:31am UTC](https://www.ruby-forum.com/t/community-engine/176499 "2009-10-01T10:31:51Z")

</div>

Hi All… Is any one have ever used communityengine plugin? If yes than tell me the best site that provides the complete information about implementing the same… Thanks all…

---

## [Paperclip + asset\_host uploading to external URL](https://www.ruby-forum.com/t/paperclip-asset-host-uploading-to-external-url/176495)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 10:31am UTC](https://www.ruby-forum.com/t/paperclip-asset-host-uploading-to-external-url/176495 "2009-10-01T10:31:49Z")

</div>

I would need to be able to upload images to an external URL I know S3 is an option but there are better image hosts out there for my requirements and one in particular I would like to make use of. I’m thinking that I …

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

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