# Rails

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

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

---

## [Mongrel to Apache](https://www.ruby-forum.com/t/mongrel-to-apache/181327)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 3\
**Last updated:** [January 11, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/mongrel-to-apache/181327 "2010-01-11T23:41:40Z")

</div>

Hi All, We have a RoR app, SQLite, and mongrel and we are considering moving to apache. Our current RoR app listens on port 80 and works fine. I installed apache to listen on port 7002, then installed an app called …

---

## [Ruby on Rails and Postgres - Installing postgresql gem](https://www.ruby-forum.com/t/ruby-on-rails-and-postgres-installing-postgresql-gem/181366)

<div class="topic-metadata">

**Author:** [@rorra](https://www.ruby-forum.com/u/rorra)\
**Replies:** 16\
**Last updated:** [January 11, 2010, 11:32pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-postgres-installing-postgresql-gem/181366 "2010-01-11T23:32:07Z")

</div>

Hey there, I’m trying to get started with RoR with Postgresql. I’ve been trying to find some information on it, but there’s a lot of really OLD info on that subject! What should I do to get my application working wi…

---

## [Craiglist and tracking views](https://www.ruby-forum.com/t/craiglist-and-tracking-views/181261)

<div class="topic-metadata">

**Author:** [@qaswm](https://www.ruby-forum.com/u/qaswm)\
**Replies:** 6\
**Last updated:** [January 11, 2010, 8:49pm UTC](https://www.ruby-forum.com/t/craiglist-and-tracking-views/181261 "2010-01-11T20:49:03Z")

</div>

well I got done with finally getting a bitly link for each of my products and now I learn that craiglist does not support something like bitly in the posting. I have come across the idea of using a 1x1 image to track …

---

## [Help: self referential & search](https://www.ruby-forum.com/t/help-self-referential-search/181321)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 4\
**Last updated:** [January 11, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/help-self-referential-search/181321 "2010-01-11T19:19:50Z")

</div>

hi, i have a category and a category\_type model, where category is selfreferential with parent\_id. now, im not 100% sure whats the best way for later purposes in terms of search etc., but my initial intention was the …

---

## [Generating a path from a route with requirements](https://www.ruby-forum.com/t/generating-a-path-from-a-route-with-requirements/181424)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/generating-a-path-from-a-route-with-requirements/181424 "2010-01-11T19:06:22Z")

</div>

I am trying to generate a path for a route with requirements. The route looks like this… map.courses\_image\_cache ‘/courses/image\_cache’, :controller =\> ‘courses’, :action =\> ‘image\_cache’, :requirements =\> { :cache\_…

---

## [Actionmailer and Mass Mailing](https://www.ruby-forum.com/t/actionmailer-and-mass-mailing/181422)

<div class="topic-metadata">

**Author:** [@serpico](https://www.ruby-forum.com/u/serpico)\
**Replies:** 1\
**Last updated:** [January 11, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/actionmailer-and-mass-mailing/181422 "2010-01-11T18:51:09Z")

</div>

Hello, I’m having a problem with actionmailer and mass (sort of) mailing. Basically, sometimes I need to notify every subscribed user in my app by mail. Since the amout of users is very small (subscription is not pub…

---

## [Devise, Authlogic, & Restful Authorization](https://www.ruby-forum.com/t/devise-authlogic-restful-authorization/181404)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/devise-authlogic-restful-authorization/181404 "2010-01-11T18:19:30Z")

</div>

This is not a question but a mini-report to others who might be in my boat. My application needed/needs the ability to authenticate a login via email. There are Restful Authorization examples that claim to do this ……

---

## [Utiliser deux instances de Logger (sysloglogger)](https://www.ruby-forum.com/t/utiliser-deux-instances-de-logger-sysloglogger/197017)

<div class="topic-metadata">

**Author:** [@ksergses](https://www.ruby-forum.com/u/ksergses)\
**Replies:** 1\
**Last updated:** [January 11, 2010, 5:52pm UTC](https://www.ruby-forum.com/t/utiliser-deux-instances-de-logger-sysloglogger/197017 "2010-01-11T17:52:34Z")

</div>

Salut. j’utilise le gem SyslogLogger ( syslog-ng). et je veux avoir deux instances du logger (je veux avoir des fichiers de log sÃ©pares selon le logger utilisÃ©) le probleme que le serveur ne considÃ¨re qu’un seul Ã…

---

## [Active Record Error](https://www.ruby-forum.com/t/active-record-error/181235)

<div class="topic-metadata">

**Author:** [@josequinonesii](https://www.ruby-forum.com/u/josequinonesii)\
**Replies:** 1\
**Last updated:** [January 11, 2010, 4:04pm UTC](https://www.ruby-forum.com/t/active-record-error/181235 "2010-01-11T16:04:51Z")

</div>

I’ve had to download an existing Rails project and I’m attempting to setup locally. I’ve installed all the 2.1.1 rails gems needed by the project as the existing site is at that version. My platform is Netbeans 6.8 on…

---

## [My talk at PHPcamp - CakePHP Vs Ruby On Rails](https://www.ruby-forum.com/t/my-talk-at-phpcamp-cakephp-vs-ruby-on-rails/181382)

<div class="topic-metadata">

**Author:** [@gautamrege](https://www.ruby-forum.com/u/gautamrege)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/my-talk-at-phpcamp-cakephp-vs-ruby-on-rails/181382 "2010-01-11T15:32:39Z")

</div>

Hi, Last week-end I gave a talk at PHPCamp in Pune. It was interesting to be surrounded by PHP folks and talking about Ruby On Rails! My talk and tweets later - started a debate on Twitter with the founder of CakePHP…

---

## [SQL and select()](https://www.ruby-forum.com/t/sql-and-select/181276)

<div class="topic-metadata">

**Author:** [@Quijote70](https://www.ruby-forum.com/u/Quijote70)\
**Replies:** 3\
**Last updated:** [January 11, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/sql-and-select/181276 "2010-01-11T13:45:29Z")

</div>

I don’t know where I make the mistake if i have an sql in the controller like this: @sql = "select result.lang\_id as id,pv\_langs.name as name from ((SELECT pv\_lang\_id as lang\_id FROM pv\_castings) UNION (SELECT sv\_lan…

---

## [Ruby On Rails Developer (2+ years)](https://www.ruby-forum.com/t/ruby-on-rails-developer-2-years/181399)

<div class="topic-metadata">

**Author:** [@RoxyRecruiting](https://www.ruby-forum.com/u/RoxyRecruiting)\
**Replies:** 0\
**Last updated:** [January 11, 2010, 1:44pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-2-years/181399 "2010-01-11T13:44:54Z")

</div>

We are currently looking for a Ruby on Rails Developer on behalf of our client who is in social media/automotive space. They are looking for an experienced Ruby on Rails Developer who wants to be a part of a team that…

---

## [\[PROJECT\] Youtube like web application](https://www.ruby-forum.com/t/project-youtube-like-web-application/181346)

<div class="topic-metadata">

**Author:** [@h.hozayen](https://www.ruby-forum.com/u/h.hozayen)\
**Replies:** 3\
**Last updated:** [January 11, 2010, 1:43pm UTC](https://www.ruby-forum.com/t/project-youtube-like-web-application/181346 "2010-01-11T13:43:09Z")

</div>

Hello, We are an entertainment company in the Middle-East. We would like to start a web application based on Ruby on Rails technology. The web application should enforce web 2.0 concepts and looks somehow like Youtub…

---

## [Gettext 1.90 to 2.0.5](https://www.ruby-forum.com/t/gettext-1-90-to-2-0-5/181398)

<div class="topic-metadata">

**Author:** [@ledowong](https://www.ruby-forum.com/u/ledowong)\
**Replies:** 1\
**Last updated:** [January 11, 2010, 1:35pm UTC](https://www.ruby-forum.com/t/gettext-1-90-to-2-0-5/181398 "2010-01-11T13:35:35Z")

</div>

I upgrade our project from Rails 2.0.2 to Rails 2.3.5. We are using gettext 1.9x, so I follow this tutorial to upgrade the gettext plugin.: http://www.yotabanana.com/hiki/ruby-gettext-rails-migration.html base on the …

---

## [Not solved - problem in accesing file](https://www.ruby-forum.com/t/not-solved-problem-in-accesing-file/181393)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 1\
**Last updated:** [January 11, 2010, 1:23pm UTC](https://www.ruby-forum.com/t/not-solved-problem-in-accesing-file/181393 "2010-01-11T13:23:50Z")

</div>

Dear all, I have a question which is driving me crazy Kindly look the below code In my public folder public/Server\_exe/ChatHistory/2010-01-10/2010-01-10\\1~Vs~2\\1~Vs~2.html =\> this is my live chat file path for the …

---

## [Test examples using authlogic with shoulda](https://www.ruby-forum.com/t/test-examples-using-authlogic-with-shoulda/181394)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 0\
**Last updated:** [January 11, 2010, 12:49pm UTC](https://www.ruby-forum.com/t/test-examples-using-authlogic-with-shoulda/181394 "2010-01-11T12:49:27Z")

</div>

Hi Is there functional testing examples availbale? This for both login and nonlogin users with or without admin privileges.I Dont know where to start. Kindly help. Tom

---

## [Set Time.zone to current user time zone](https://www.ruby-forum.com/t/set-time-zone-to-current-user-time-zone/181367)

<div class="topic-metadata">

**Author:** [@johnny](https://www.ruby-forum.com/u/johnny)\
**Replies:** 3\
**Last updated:** [January 11, 2010, 11:20am UTC](https://www.ruby-forum.com/t/set-time-zone-to-current-user-time-zone/181367 "2010-01-11T11:20:54Z")

</div>

I want to set the Time.zone to the user’s current time zone, I don’t want to store the timezone in user profile like many other solutions. How to do that? Thanks

---

## [Edit only your posts](https://www.ruby-forum.com/t/edit-only-your-posts/181351)

<div class="topic-metadata">

**Author:** [@nexon](https://www.ruby-forum.com/u/nexon)\
**Replies:** 5\
**Last updated:** [January 11, 2010, 10:52am UTC](https://www.ruby-forum.com/t/edit-only-your-posts/181351 "2010-01-11T10:52:13Z")

</div>

Hello, How can I do, when a user make a post, he only can edit his posts? thanks

---

## [Help to show image](https://www.ruby-forum.com/t/help-to-show-image/181307)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 4\
**Last updated:** [January 11, 2010, 10:21am UTC](https://www.ruby-forum.com/t/help-to-show-image/181307 "2010-01-11T10:21:09Z")

</div>

Dear friends i have used send\_file method to display my html file which is in my local server not in rails’s public folder \<% @file\_path = “#{@prfile.folder\_path}/#{profile.file\_path}” %\> \<%= link\_to image\_tag(“confi…

---

## [How to generate this SOAP xml request?](https://www.ruby-forum.com/t/how-to-generate-this-soap-xml-request/181093)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 9:04am UTC](https://www.ruby-forum.com/t/how-to-generate-this-soap-xml-request/181093 "2010-01-11T09:04:29Z")

</div>

Hi, I trigger the SOAP calls like: factory = SOAP::RPC::Driver.new(‘https://blahblah’, “urn:services:m33”) factory.add\_method(‘register’, ‘registrationData’) factory.register(registrationData) I’ve been able to call…

---

## [How to install rails?](https://www.ruby-forum.com/t/how-to-install-rails/181378)

<div class="topic-metadata">

**Author:** [@veena](https://www.ruby-forum.com/u/veena)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 8:56am UTC](https://www.ruby-forum.com/t/how-to-install-rails/181378 "2010-01-11T08:56:21Z")

</div>

newbie in ROR. Win XP jruby-1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) \<Java HotSpot™ Client VM 1.6.0\_17) \[x86-java\] jruby -S gem install rails then i got JRuby limited openssl loaded.gem install jruby-…

---

## [AuthLogic login page: undefined method \`login' and \`password'](https://www.ruby-forum.com/t/authlogic-login-page-undefined-method-login-and-password/181330)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 4\
**Last updated:** [January 11, 2010, 2:59am UTC](https://www.ruby-forum.com/t/authlogic-login-page-undefined-method-login-and-password/181330 "2010-01-11T02:59:24Z")

</div>

I have an application that allows multiple email addresses per user, each of which works as a login for a single account. As such, the user table has no login field, but instead has\_many :emails, each of which include…

---

## [Bad interpreter: No such file or directory when running rake](https://www.ruby-forum.com/t/bad-interpreter-no-such-file-or-directory-when-running-rake/181363)

<div class="topic-metadata">

**Author:** [@twifkak](https://www.ruby-forum.com/u/twifkak)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 12:43am UTC](https://www.ruby-forum.com/t/bad-interpreter-no-such-file-or-directory-when-running-rake/181363 "2010-01-11T00:43:01Z")

</div>

After upgrading to Snow Leopard, I found my rails and mysql installs to be completely hosed, so I uninstalled ruby, mysql, and rubygems and reinstalled them from these instructions: Here’s where things are installed …

---

## [Time\_zone\_select](https://www.ruby-forum.com/t/time-zone-select/181368)

<div class="topic-metadata">

**Author:** [@johnny](https://www.ruby-forum.com/u/johnny)\
**Replies:** 0\
**Last updated:** [January 10, 2010, 11:57pm UTC](https://www.ruby-forum.com/t/time-zone-select/181368 "2010-01-10T23:57:58Z")

</div>

How does time\_zone\_select works? I have: \<%= form.datetime\_select :datetime, :default =\> Time.now %\> all datetime are in UTC in the database, here is two questions: how do I add the option for user to select time zo…

---

## [Models on existing database?](https://www.ruby-forum.com/t/models-on-existing-database/181362)

<div class="topic-metadata">

**Author:** [@rorra](https://www.ruby-forum.com/u/rorra)\
**Replies:** 3\
**Last updated:** [January 10, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/models-on-existing-database/181362 "2010-01-10T23:37:29Z")

</div>

Hey there, Let’s say you have a simple application, that already have a users table and you want to re-use that on a different app. How do you work with that? \[\]'s Rodrigo D.

---

## [Need advice: threads or Typhoeus?](https://www.ruby-forum.com/t/need-advice-threads-or-typhoeus/181364)

<div class="topic-metadata">

**Author:** [@PierreW](https://www.ruby-forum.com/u/PierreW)\
**Replies:** 3\
**Last updated:** [January 10, 2010, 11:27pm UTC](https://www.ruby-forum.com/t/need-advice-threads-or-typhoeus/181364 "2010-01-10T23:27:32Z")

</div>

Hi guys, I need my app to make a few hundreds requests to external web services as quickly as possible. The web services are fairly fast, but still: if I do the requests one after the other, it is too slow. My unders…

---

## [Capistrano Problem](https://www.ruby-forum.com/t/capistrano-problem/180266)

<div class="topic-metadata">

**Author:** [@mfeadler](https://www.ruby-forum.com/u/mfeadler)\
**Replies:** 1\
**Last updated:** [January 10, 2010, 10:28pm UTC](https://www.ruby-forum.com/t/capistrano-problem/180266 "2010-01-10T22:28:40Z")

</div>

Hello all, I am attempting to get Capistrano setup and working for the first time. This is very new to me. I am trying to deploy from a local Git repository to my shared host. After running ‘cap deploy:setup’ and ‘ca…

---

## [Remove a restful action from map.resources](https://www.ruby-forum.com/t/remove-a-restful-action-from-map-resources/181361)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 3\
**Last updated:** [January 10, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/remove-a-restful-action-from-map-resources/181361 "2010-01-10T22:02:39Z")

</div>

Hi, my question is about routing: is it possible to remove a restful action from map.resources ? if few words: I have a City model, and I’ve declared in routes.rb file: map.resources :users then I obtain ALL restfu…

---

## [Second based or permanent tasks in rails](https://www.ruby-forum.com/t/second-based-or-permanent-tasks-in-rails/181350)

<div class="topic-metadata">

**Author:** [@mrpink](https://www.ruby-forum.com/u/mrpink)\
**Replies:** 1\
**Last updated:** [January 10, 2010, 9:47pm UTC](https://www.ruby-forum.com/t/second-based-or-permanent-tasks-in-rails/181350 "2010-01-10T21:47:29Z")

</div>

Hi, i’ve been searching for hours now. May be some one can nudge in me the right direction. What I need. A gem/plugin or tool (OS X) that is capable to perform tasks in a rate of at least 5 seconds. Permanent would …

---

## [Mongrel fails to start after installation of plugin prawnto](https://www.ruby-forum.com/t/mongrel-fails-to-start-after-installation-of-plugin-prawnto/181349)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 5\
**Last updated:** [January 10, 2010, 8:22pm UTC](https://www.ruby-forum.com/t/mongrel-fails-to-start-after-installation-of-plugin-prawnto/181349 "2010-01-10T20:22:13Z")

</div>

After I installed prawnto in my project, Mongrel fails to start with these backtrace lines: /home/inet/Aptana RadRails Workspace/wvz/vendor/rails/activesupport/lib/active\_support/dependencies.rb:275:in load\_missing\_c…

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

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