# Rails

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

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

---

## [\[JOBS\] Ruby on Rails Developer @ SideReel.com](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-sidereel-com/191659)

<div class="topic-metadata">

**Author:** [@Rob\_Morgan](https://www.ruby-forum.com/u/Rob_Morgan)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-sidereel-com/191659 "2010-07-15T22:48:06Z")

</div>

Hi! SideReel is looking for a talented RoR developer to join our engineering team in San Francisco. We may be a profitable 3 year old startup, but SideReel is brand new to Ruby on Rails. Unlike other startups, we’ve …

---

## [Ruby on Rails in New Orleans](https://www.ruby-forum.com/t/ruby-on-rails-in-new-orleans/191657)

<div class="topic-metadata">

**Author:** [@sid137](https://www.ruby-forum.com/u/sid137)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-new-orleans/191657 "2010-07-15T22:07:19Z")

</div>

Hi Everyone, I am an IT recruiter with TEKsystems in New Orleans. I am working with a new client here that is looking for a Ruby on Rails developer that will also have many responsibilities of a project manager for a …

---

## [\[JOBS\] Sr. Ruby on Rails Programmer (or perl/python/django/catalyst)](https://www.ruby-forum.com/t/jobs-sr-ruby-on-rails-programmer-or-perl-python-django-catalyst/191653)

<div class="topic-metadata">

**Author:** [@CareersSInsightCard](https://www.ruby-forum.com/u/CareersSInsightCard)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 8:26pm UTC](https://www.ruby-forum.com/t/jobs-sr-ruby-on-rails-programmer-or-perl-python-django-catalyst/191653 "2010-07-15T20:26:24Z")

</div>

Company: Insight Card Services, headquartered in Birmingham, Ala., is a leading provider of financial solutions for the millions of overlooked consumers who lack a traditional bank account. Insight was founded by a yo…

---

## [Video transcoding and uploading in rails](https://www.ruby-forum.com/t/video-transcoding-and-uploading-in-rails/191583)

<div class="topic-metadata">

**Author:** [@jakx12](https://www.ruby-forum.com/u/jakx12)\
**Replies:** 4\
**Last updated:** [July 15, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/video-transcoding-and-uploading-in-rails/191583 "2010-07-15T19:56:14Z")

</div>

Hey, How do you upload videos with paperclip and transcode them into flash with rails? I also want the app to handle multiple uploads at a time. How do I do this and what plugins should I use. Many thanks.

---

## [Rails app -\> CHM file?](https://www.ruby-forum.com/t/rails-app-chm-file/191638)

<div class="topic-metadata">

**Author:** [@rpardee](https://www.ruby-forum.com/u/rpardee)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/rails-app-chm-file/191638 "2010-07-15T19:30:11Z")

</div>

Hey All, I’ve got an app that stores infrequently-changing-but-not-entirely- static data. I’d like to be able to generate a snapshot of the app (or a portion thereof) in a CHM file so users can snag a copy for offli…

---

## [Libxml: uninitialized constant](https://www.ruby-forum.com/t/libxml-uninitialized-constant/191635)

<div class="topic-metadata">

**Author:** [@avsej](https://www.ruby-forum.com/u/avsej)\
**Replies:** 1\
**Last updated:** [July 15, 2010, 7:20pm UTC](https://www.ruby-forum.com/t/libxml-uninitialized-constant/191635 "2010-07-15T19:20:48Z")

</div>

Hi all! I try to use libxml-ruby with my ROR-application and get the following error message: “uninitialized constant AdminController::XML”. From controller file: require ‘rubygems’ require ‘xml/libxml’ … parser =…

---

## [Get parameters from datetime\_select](https://www.ruby-forum.com/t/get-parameters-from-datetime-select/191636)

<div class="topic-metadata">

**Author:** [@anon\_comp](https://www.ruby-forum.com/u/anon_comp)\
**Replies:** 2\
**Last updated:** [July 15, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/get-parameters-from-datetime-select/191636 "2010-07-15T18:36:54Z")

</div>

I am using datetime\_select to get the date and time from the user to execute a certain program (details unrelevant). What I need to do is to take certain parts from datetime\_select and manipulate/use them. In my view \<…

---

## [How to test the performance of our code](https://www.ruby-forum.com/t/how-to-test-the-performance-of-our-code/191609)

<div class="topic-metadata">

**Author:** [@swetha](https://www.ruby-forum.com/u/swetha)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/how-to-test-the-performance-of-our-code/191609 "2010-07-15T17:34:23Z")

</div>

Hi all, I want to know ,what factors are involved in checking the performance of our code in rails 2.3.5 and above versions? And also whats the difference between rails 2.3.5 and earlier versions ?

---

## [Object.find in HABTM join table?](https://www.ruby-forum.com/t/object-find-in-habtm-join-table/191614)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/object-find-in-habtm-join-table/191614 "2010-07-15T17:29:34Z")

</div>

Good morning, is it possible to find objects by giving values for the HABTM join table only? Example: menu id name parents path 1 abc -1 / 2 def 1 /def 3 ghi 1 /ghi 4 jkl 2,1 /jkl 5…

---

## [New version 2.5.5 of IBM\_DB gem now available](https://www.ruby-forum.com/t/new-version-2-5-5-of-ibm-db-gem-now-available/191632)

<div class="topic-metadata">

**Author:** [@praveen](https://www.ruby-forum.com/u/praveen)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/new-version-2-5-5-of-ibm-db-gem-now-available/191632 "2010-07-15T16:53:51Z")

</div>

Hi All, New version 2.5.5 of the IBM\_DB gem, the Rails Adapter/Ruby Driver for IBM DB2 and IBM Informix is now available. This release of the gem adds support for Graphic/Vargraphic and Bigint (in adapter) datatype. T…

---

## [Belongs\_to\_auto\_completer "size" doesnt not work](https://www.ruby-forum.com/t/belongs-to-auto-completer-size-doesnt-not-work/191626)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 3:56pm UTC](https://www.ruby-forum.com/t/belongs-to-auto-completer-size-doesnt-not-work/191626 "2010-07-15T15:56:28Z")

</div>

hi, im using the belongs\_to\_auto\_completer helpers, but :size=\> is not working. it works for normal text-input fields. am i doing something wrong? thx

---

## [Form Helper Text\_field with datepicker calendar](https://www.ruby-forum.com/t/form-helper-text-field-with-datepicker-calendar/191607)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 4\
**Last updated:** [July 15, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/form-helper-text-field-with-datepicker-calendar/191607 "2010-07-15T15:45:14Z")

</div>

How do I set an id attribute like id=“datepicker” in an input text\_field using a form helper. I tried this:- \<%= f.text\_field :paid\_date, :id=“datepicker” %\> but it produces an error. Note that I want as the resul…

---

## [Authlogic admin user functionality](https://www.ruby-forum.com/t/authlogic-admin-user-functionality/191623)

<div class="topic-metadata">

**Author:** [@sachin](https://www.ruby-forum.com/u/sachin)\
**Replies:** 2\
**Last updated:** [July 15, 2010, 3:00pm UTC](https://www.ruby-forum.com/t/authlogic-admin-user-functionality/191623 "2010-07-15T15:00:48Z")

</div>

I am using authlogic as a authentication engine in my rails app. I have two types of users 1) Users who are registered and has access to there own profile. 2) Admin user who has access to everybody’s profile In the u…

---

## [Operational System Questiam](https://www.ruby-forum.com/t/operational-system-questiam/191622)

<div class="topic-metadata">

**Author:** [@upabibi](https://www.ruby-forum.com/u/upabibi)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 2:43pm UTC](https://www.ruby-forum.com/t/operational-system-questiam/191622 "2010-07-15T14:43:49Z")

</div>

Hi, i’m trying to save a file in one place if it’s Linux and another one if it’s WIndows… But if someone using Windows put to save on Linux, will show a error page. How can i verify what of those are the user using?

---

## [Get last record before, or first record after, a given date?](https://www.ruby-forum.com/t/get-last-record-before-or-first-record-after-a-given-date/191567)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 8\
**Last updated:** [July 15, 2010, 2:13pm UTC](https://www.ruby-forum.com/t/get-last-record-before-or-first-record-after-a-given-date/191567 "2010-07-15T14:13:11Z")

</div>

Can anyone give me the sql for this? I can’t quite figure it out. I want to find the most recent record from the states table that is before a given date, and if that doesn’t exist, the first one after that date? C…

---

## [Log are not wroking in test environment](https://www.ruby-forum.com/t/log-are-not-wroking-in-test-environment/191621)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/log-are-not-wroking-in-test-environment/191621 "2010-07-15T14:09:24Z")

</div>

Hello, I have a webapp on my server in test env to make tests. But the logs aren’t working. When I perform a rake db:create and update, it works but when its log from the app it doesnt. Do you have an idea where this…

---

## [About master page in Rubi on rails](https://www.ruby-forum.com/t/about-master-page-in-rubi-on-rails/191559)

<div class="topic-metadata">

**Author:** [@Ziaur\_Rahman](https://www.ruby-forum.com/u/Ziaur_Rahman)\
**Replies:** 4\
**Last updated:** [July 15, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/about-master-page-in-rubi-on-rails/191559 "2010-07-15T13:59:06Z")

</div>

hi I am new to ruby . I have knowledge over ruby on rail but I am working on aspnet mvc. Whenever I get off time I look into ruby. I believe time is revolving with ruby. I have passion for it to have hand on it. Whe…

---

## [How can i hide controller and action name in url](https://www.ruby-forum.com/t/how-can-i-hide-controller-and-action-name-in-url/191608)

<div class="topic-metadata">

**Author:** [@amitjain](https://www.ruby-forum.com/u/amitjain)\
**Replies:** 1\
**Last updated:** [July 15, 2010, 1:47pm UTC](https://www.ruby-forum.com/t/how-can-i-hide-controller-and-action-name-in-url/191608 "2010-07-15T13:47:02Z")

</div>

Hi All, I am new in ROR. I want to hide controller and action name from url. exp. my current url: http://localhost:3000/triggers/index/amit123 expected: http://localhost:3000/amit123 remove controller(trigger) a…

---

## [How to do a case insensitive search with multiple elements?](https://www.ruby-forum.com/t/how-to-do-a-case-insensitive-search-with-multiple-elements/191575)

<div class="topic-metadata">

**Author:** [@hostep](https://www.ruby-forum.com/u/hostep)\
**Replies:** 4\
**Last updated:** [July 15, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/how-to-do-a-case-insensitive-search-with-multiple-elements/191575 "2010-07-15T13:45:16Z")

</div>

Hi I have a smallish problem If a = \[“Joe”,“John”\] then Model.find\_all\_by\_firstname(a) works well. Except when the case of the characters is in dispute - how can I make the finder method case insensitive? All the …

---

## [ActiveRecord::Observer, update\_all and has\_many](https://www.ruby-forum.com/t/activerecord-observer-update-all-and-has-many/191571)

<div class="topic-metadata">

**Author:** [@reggieb](https://www.ruby-forum.com/u/reggieb)\
**Replies:** 1\
**Last updated:** [July 15, 2010, 1:07pm UTC](https://www.ruby-forum.com/t/activerecord-observer-update-all-and-has-many/191571 "2010-07-15T13:07:01Z")

</div>

Hi, I’m using an ActiveRecord::Observer to log users changing data in my application. However, I’ve noted that adding an item to a has\_many relationship gets logged, but removing the item does not. That is: @product.…

---

## [\`stack level too deep\` when overwriting \`to\_json\`](https://www.ruby-forum.com/t/stack-level-too-deep-when-overwriting-to-json/191584)

<div class="topic-metadata">

**Author:** [@cairo140](https://www.ruby-forum.com/u/cairo140)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 9:27am UTC](https://www.ruby-forum.com/t/stack-level-too-deep-when-overwriting-to-json/191584 "2010-07-15T09:27:06Z")

</div>

I’m using acts\_as\_commentable\_with\_threading, and it worked fine until I tried to overwrite the to\_json function to include more details about the associated user. Here’s part of the comment class (which was original…

---

## [Google-geocode gem giving an error](https://www.ruby-forum.com/t/google-geocode-gem-giving-an-error/191605)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 8:11am UTC](https://www.ruby-forum.com/t/google-geocode-gem-giving-an-error/191605 "2010-07-15T08:11:12Z")

</div>

Hi, I doing an integration my rails application with google map. For that I have installed the “google-geocode (1.2.1)” gem. I have written following code to get the longitude and latitude of the address. require ‘ru…

---

## [Writing ActiveRecord find result to S3 as a compressed file](https://www.ruby-forum.com/t/writing-activerecord-find-result-to-s3-as-a-compressed-file/191604)

<div class="topic-metadata">

**Author:** [@interactivenyc](https://www.ruby-forum.com/u/interactivenyc)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 8:00am UTC](https://www.ruby-forum.com/t/writing-activerecord-find-result-to-s3-as-a-compressed-file/191604 "2010-07-15T08:00:35Z")

</div>

On Heroku, using a delayed\_job, I am trying to periodically write the result of a ActiveRecord find that has been converted to JSON to an Amazon S3 bucket as a compressed file. I have this successfully by writing the…

---

## [Searching on google map](https://www.ruby-forum.com/t/searching-on-google-map/191603)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 5:39am UTC](https://www.ruby-forum.com/t/searching-on-google-map/191603 "2010-07-15T05:39:27Z")

</div>

Hi, I an integrating a google map with my rails application. My requirement is to show the places in the map which are related with my text. For example:- If my search text is “IT companies in India” then google map …

---

## [Google-geocode gem not giving an error](https://www.ruby-forum.com/t/google-geocode-gem-not-giving-an-error/191602)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 5:35am UTC](https://www.ruby-forum.com/t/google-geocode-gem-not-giving-an-error/191602 "2010-07-15T05:35:20Z")

</div>

Hi, I doing an integration my rails application with google map. For that I have installed the “google-geocode (1.2.1)” gem. I have written following code to get the longitude and latitude of the address. require ‘ru…

---

## [Multi databases in rails 3](https://www.ruby-forum.com/t/multi-databases-in-rails-3/191360)

<div class="topic-metadata">

**Author:** [@trung](https://www.ruby-forum.com/u/trung)\
**Replies:** 7\
**Last updated:** [July 15, 2010, 3:03am UTC](https://www.ruby-forum.com/t/multi-databases-in-rails-3/191360 "2010-07-15T03:03:14Z")

</div>

Is there any support for multiple databases in Rails 3? Either natively through ActiveRecord or third party gem? Thanks.

---

## [What is Rake?](https://www.ruby-forum.com/t/what-is-rake/191549)

<div class="topic-metadata">

**Author:** [@Preeti](https://www.ruby-forum.com/u/Preeti)\
**Replies:** 5\
**Last updated:** [July 15, 2010, 1:19am UTC](https://www.ruby-forum.com/t/what-is-rake/191549 "2010-07-15T01:19:03Z")

</div>

What is Rake? I don’t understand what the use of it is. Say I have already made a RoR app, It’s all done and ready to go. I can just so script/server, and boom its running. What is the use of Rake? I understand that i…

---

## [What we need to run a Rails application](https://www.ruby-forum.com/t/what-we-need-to-run-a-rails-application/191581)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 12:55am UTC](https://www.ruby-forum.com/t/what-we-need-to-run-a-rails-application/191581 "2010-07-15T00:55:02Z")

</div>

In the Head First Rails, it mentions that we need the following in order to run an application on a server: 1- Application framework. 2- Database system. 3- Web server. 4- Object relational mapping library. The poi…

---

## [Watermark with Ruby on Rails](https://www.ruby-forum.com/t/watermark-with-ruby-on-rails/191579)

<div class="topic-metadata">

**Author:** [@Marcus\_SSSSS](https://www.ruby-forum.com/u/Marcus_SSSSS)\
**Replies:** 1\
**Last updated:** [July 15, 2010, 12:51am UTC](https://www.ruby-forum.com/t/watermark-with-ruby-on-rails/191579 "2010-07-15T00:51:31Z")

</div>

To whom it may concern, a way to create watermarks with ruby on rails, imagemagick, attachment\_fu and mini-magick in Portuguese, but the code is in English;) http://www.woompa.blog.br/2010/07/14/adicionando-marca-dag…

---

## [Is TDD really followed in the industry?](https://www.ruby-forum.com/t/is-tdd-really-followed-in-the-industry/191572)

<div class="topic-metadata">

**Author:** [@luckydev](https://www.ruby-forum.com/u/luckydev)\
**Replies:** 13\
**Last updated:** [July 14, 2010, 10:32pm UTC](https://www.ruby-forum.com/t/is-tdd-really-followed-in-the-industry/191572 "2010-07-14T22:32:44Z")

</div>

Hey, I am a rails beginners. I have created a couple of simple applications without following TDD. I have a question - Do good programmers really follow TDD strictly ? I mean… Do they follow { 1. Write Test 2. Writ…

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

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