# Rails

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

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

---

## [Help on railendar, wrong number of arguments (0 for 1)](https://www.ruby-forum.com/t/help-on-railendar-wrong-number-of-arguments-0-for-1/92841)

<div class="topic-metadata">

**Author:** [@XJXJXJ](https://www.ruby-forum.com/u/XJXJXJ)\
**Replies:** 2\
**Last updated:** [April 25, 2007, 3:37am UTC](https://www.ruby-forum.com/t/help-on-railendar-wrong-number-of-arguments-0-for-1/92841 "2007-04-25T03:37:40Z")

</div>

Hello, Recently I am working on calendar on rails and found the Railendar http://rubyforge.org/projects/railendar/ When I was trying to run it, the display calendar works, but the admin/new function didn’t work, I go…

---

## [Testing errors on a mailer](https://www.ruby-forum.com/t/testing-errors-on-a-mailer/92733)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 3:20am UTC](https://www.ruby-forum.com/t/testing-errors-on-a-mailer/92733 "2007-04-25T03:20:24Z")

</div>

I have the following action written: POST /designers.xml;contact def contact begin DesignerMailer.deliver\_contact(params) rescue Exception =\> e logger.error(“Email from #{params\[:fromEmail\]} to #{params\[:toEmail\]}…

---

## [Tech. Partner needed - RoR (Any where in the US)](https://www.ruby-forum.com/t/tech-partner-needed-ror-any-where-in-the-us/92858)

<div class="topic-metadata">

**Author:** [@listaction](https://www.ruby-forum.com/u/listaction)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 2:48am UTC](https://www.ruby-forum.com/t/tech-partner-needed-ror-any-where-in-the-us/92858 "2007-04-25T02:48:22Z")

</div>

Folks, I’m looking for a Tech partner experienced in RoR to join me in my startup venture. Details can be found at: http://sfbay.craigslist.org/sfc/cpg/317602740.html Drop me a line if you are interested. Regards, …

---

## [Installation problem in rcov](https://www.ruby-forum.com/t/installation-problem-in-rcov/92794)

<div class="topic-metadata">

**Author:** [@code\_coverage\_for\_R](https://www.ruby-forum.com/u/code_coverage_for_R)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 2:43am UTC](https://www.ruby-forum.com/t/installation-problem-in-rcov/92794 "2007-04-25T02:43:22Z")

</div>

Hi, I am trying to install the code coverage for Ruby(rcov)… but it is giving the following error message in commmand prompt. Used Ruby Version Ruby - 1.8.5 Rails - 1.2.2 C:\\ruby\\rcov-0.8.0.2\>ruby setup.rb —\> bin …

---

## [Parsing feeds...slow](https://www.ruby-forum.com/t/parsing-feeds-slow/92855)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 2:40am UTC](https://www.ruby-forum.com/t/parsing-feeds-slow/92855 "2007-04-25T02:40:22Z")

</div>

I need to parse about 50 RSS feeds and display the latest posts from each sorted by post date. Right now I have a cron job calling a rake task saving the feeds locally every 5 minutes then I’m using simple-rss to do…

---

## [Rails, Ajax, and the back button](https://www.ruby-forum.com/t/rails-ajax-and-the-back-button/92849)

<div class="topic-metadata">

**Author:** [@desertpenguin](https://www.ruby-forum.com/u/desertpenguin)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 2:00am UTC](https://www.ruby-forum.com/t/rails-ajax-and-the-back-button/92849 "2007-04-25T02:00:21Z")

</div>

When I go back to a page with a form, the text field fails to retain a value. It was created with text\_field\_with\_auto\_complete. I want it to retain the value entered previously. Thanks in advance for any help… Det…

---

## [Problem with has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/problem-with-has-and-belongs-to-many/92854)

<div class="topic-metadata">

**Author:** [@madiba](https://www.ruby-forum.com/u/madiba)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 1:56am UTC](https://www.ruby-forum.com/t/problem-with-has-and-belongs-to-many/92854 "2007-04-25T01:56:19Z")

</div>

Hello I have two models: app/model/user.rb class User \< ActiveRecord::Base has\_and\_belongs\_to\_many :roles end app/model/role.rb class Role \< ActiveRecord::Base has\_and\_belongs\_to\_many :users end And one controll…

---

## [SystemExit ... in \`process!'dispatch.fcgi:28](https://www.ruby-forum.com/t/systemexit-in-process-dispatch-fcgi-28/92850)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 1:27am UTC](https://www.ruby-forum.com/t/systemexit-in-process-dispatch-fcgi-28/92850 "2007-04-25T01:27:18Z")

</div>

Hi, I’m having a loop fetching about 200 URL’s. But after 170 gets, I get a SystemExit error. The error is reproducible on Apache, but not on WEBrick in my development environment. (OS X :slight\_smile: This is the p…

---

## [Accessing request from model (or observer)](https://www.ruby-forum.com/t/accessing-request-from-model-or-observer/92792)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kornienko](https://www.ruby-forum.com/u/Mikhail_Kornienko)\
**Replies:** 4\
**Last updated:** [April 25, 2007, 12:54am UTC](https://www.ruby-forum.com/t/accessing-request-from-model-or-observer/92792 "2007-04-25T00:54:15Z")

</div>

Hello, I am currently developing an engine which allows several different sites to be served using the same code. The implementation is like this: every Post has a site\_id field, which is set to the ID is the site …

---

## [Strange frozen string problem starting rails](https://www.ruby-forum.com/t/strange-frozen-string-problem-starting-rails/92842)

<div class="topic-metadata">

**Author:** [@mike\_castleman](https://www.ruby-forum.com/u/mike_castleman)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 12:42am UTC](https://www.ruby-forum.com/t/strange-frozen-string-problem-starting-rails/92842 "2007-04-25T00:42:28Z")

</div>

hi, I am experiencing a very strange problem with my Rails installation. I’m using ruby 1.8.6 on Debian Linux, with edge rails. Whenever I try to start mongrel, I get an exception about “can’t modify frozen string”. …

---

## [Help on extracting data from string](https://www.ruby-forum.com/t/help-on-extracting-data-from-string/92835)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [April 25, 2007, 12:10am UTC](https://www.ruby-forum.com/t/help-on-extracting-data-from-string/92835 "2007-04-25T00:10:41Z")

</div>

Hi, Has anyone got any suggestions on the bes way to solve perform this, I have tried using HTMLTokenizer but had no luck. I have a string which will have an unlimited amounts of ruby stuff here in it, I want to be …

---

## [HABTM join table issues](https://www.ruby-forum.com/t/habtm-join-table-issues/225946)

<div class="topic-metadata">

**Author:** [@rajo](https://www.ruby-forum.com/u/rajo)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/habtm-join-table-issues/225946 "2007-04-24T23:12:21Z")

</div>

Hello, I am currently working on my first rails app which is a product catalog. I am trying to show products by their associated categories and sections. I am able to save the these categories and section ids to the…

---

## [Help with file path](https://www.ruby-forum.com/t/help-with-file-path/92786)

<div class="topic-metadata">

**Author:** [@Juan\_Vidal](https://www.ruby-forum.com/u/Juan_Vidal)\
**Replies:** 2\
**Last updated:** [April 24, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/help-with-file-path/92786 "2007-04-24T21:25:02Z")

</div>

SOMEONE KNOW HOW TO GET THE PATH OF A FILE IN A WINDOWS SYSTEM. IM TRYING TO ATTACH A FILE TO AN EMAIL…

---

## [A link without a question mark](https://www.ruby-forum.com/t/a-link-without-a-question-mark/92833)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/a-link-without-a-question-mark/92833 "2007-04-24T21:01:32Z")

</div>

Rails makes links stay in a nice style for most of time. But what if a link have to pass several arguments. For instance, for a book site, would likely to have a link like this one: http://www.a-book-site.com/books?c…

---

## [Manuals.rubyonrails.com down again? need access to capistr](https://www.ruby-forum.com/t/manuals-rubyonrails-com-down-again-need-access-to-capistr/92831)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/manuals-rubyonrails-com-down-again-need-access-to-capistr/92831 "2007-04-24T20:01:45Z")

</div>

From the posts i’ve seen on the mailing list about manuals.rubyonrails.\[com|org\] being down quite a bit lately, has anyone mirrored the site? I really need to get at the capistrano docs. Chris

---

## [In\_place\_edit controller and "Missing template" error](https://www.ruby-forum.com/t/in-place-edit-controller-and-missing-template-error/92821)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/in-place-edit-controller-and-missing-template-error/92821 "2007-04-24T17:47:24Z")

</div>

Hello, I’ve this action which runs ok from a browser but fails from a functional test : def inplace\_update tag = Tag.find(params\[:id\]) tag.update\_attributes!(:name =\> params\[:value\]) render :text =\> tag.name end I…

---

## [Different application.rb files for different scenarios?](https://www.ruby-forum.com/t/different-application-rb-files-for-different-scenarios/92803)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 1\
**Last updated:** [April 24, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/different-application-rb-files-for-different-scenarios/92803 "2007-04-24T16:27:17Z")

</div>

Hey :slight\_smile: I’ve created a CMS-like pages system, that renders dynamic content by picking up failed urls using a route, Catch all that wasn’t routed, and send it to the dynamic page content renderer: map.connec…

---

## [Uploading files in a special path](https://www.ruby-forum.com/t/uploading-files-in-a-special-path/92800)

<div class="topic-metadata">

**Author:** [@massinissa\_mecharek](https://www.ruby-forum.com/u/massinissa_mecharek)\
**Replies:** 1\
**Last updated:** [April 24, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/uploading-files-in-a-special-path/92800 "2007-04-24T16:22:20Z")

</div>

i have a table “upload\_files” i want to join a file when i insert e record in the table : 1\* insert into upload\_files information about the file uploaded and who upload it upload\_files.save … 2\*copy the file in a sp…

---

## [Acts\_as\_attachment, what to check b4 db call?](https://www.ruby-forum.com/t/acts-as-attachment-what-to-check-b4-db-call/92816)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/acts-as-attachment-what-to-check-b4-db-call/92816 "2007-04-24T15:12:09Z")

</div>

question, using aaa and fetching all records that belong to a user, is current\_user.login what is use? for example if user has\_many notes, notes belong\_to user… @usernotes = Note.find(:all, :conditions =\> \[“user\_id =…

---

## [Problem installing Rails](https://www.ruby-forum.com/t/problem-installing-rails/87930)

<div class="topic-metadata">

**Author:** [@more2hari](https://www.ruby-forum.com/u/more2hari)\
**Replies:** 5\
**Last updated:** [April 24, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/problem-installing-rails/87930 "2007-04-24T15:03:56Z")

</div>

Hi I am getting the following error when i tried to install rails in windows using command prompt… Attempting remote installation of ‘rails’ Updating Gem source index for: http://gems.rubyforge.org ERROR: While exe…

---

## [Install Substruct in mac os x](https://www.ruby-forum.com/t/install-substruct-in-mac-os-x/92761)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [April 24, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/install-substruct-in-mac-os-x/92761 "2007-04-24T14:08:06Z")

</div>

Hi all I am trying to install Substruct, how do I run the following command in mac os x? svn co http://svn.subimage.com/source/substruct/site/tags/rel\_0.8 vendor/plugins --username substruct --password substruct svn…

---

## [Problem: login Data save in two tables](https://www.ruby-forum.com/t/problem-login-data-save-in-two-tables/92805)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 24, 2007, 1:58pm UTC](https://www.ruby-forum.com/t/problem-login-data-save-in-two-tables/92805 "2007-04-24T13:58:33Z")

</div>

Hi guys, I have an user registration page. In that page there are 5 input fields. I have to save user id and password in “login” table and other 3 input in “userinfo” table. Regarding thid tropic I have two question…

---

## [Dsn-less odbc connections possible?](https://www.ruby-forum.com/t/dsn-less-odbc-connections-possible/92751)

<div class="topic-metadata">

**Author:** [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Replies:** 5\
**Last updated:** [April 24, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/dsn-less-odbc-connections-possible/92751 "2007-04-24T13:09:34Z")

</div>

hi all! i’m currently working on a rails app that needs to access other databases via user defined ODBC connections. i’m using the latest rails-odbc gem on rails 1.2.2 (windows). while DSN driven connections seem to …

---

## [How to capture text from a popup window..in watir](https://www.ruby-forum.com/t/how-to-capture-text-from-a-popup-window-in-watir/92804)

<div class="topic-metadata">

**Author:** [@SHALINI\_GUPTA](https://www.ruby-forum.com/u/SHALINI_GUPTA)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 12:39pm UTC](https://www.ruby-forum.com/t/how-to-capture-text-from-a-popup-window-in-watir/92804 "2007-04-24T12:39:11Z")

</div>

Hi all, I got the answer how to click on ‘ok’ button. But still i have two problems that code is not working when im trying to run that code through the exe file of that ruby file which is using that code. and second…

---

## [Render :update with status code?](https://www.ruby-forum.com/t/render-update-with-status-code/92250)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [April 24, 2007, 12:20pm UTC](https://www.ruby-forum.com/t/render-update-with-status-code/92250 "2007-04-24T12:20:07Z")

</div>

Hey :slight\_smile: I’d like to be able to update the page while setting the status code of the response, so that I can respond to the success/fail state of an AJAX call, AND update elements on the page via RJS, regard…

---

## [How to call stored procedure on iodbc](https://www.ruby-forum.com/t/how-to-call-stored-procedure-on-iodbc/92349)

<div class="topic-metadata">

**Author:** [@vikas](https://www.ruby-forum.com/u/vikas)\
**Replies:** 1\
**Last updated:** [April 24, 2007, 12:19pm UTC](https://www.ruby-forum.com/t/how-to-call-stored-procedure-on-iodbc/92349 "2007-04-24T12:19:07Z")

</div>

Hi all, I am getting a problem in calling Stored Procedure from C++ application on macintosh using OpenLink. Exact scenario is that my stored procedure takes 6 parameters out of which 1 parameter is out parameter and…

---

## [Create a directory path desktop](https://www.ruby-forum.com/t/create-a-directory-path-desktop/102757)

<div class="topic-metadata">

**Author:** [@massinissa\_mecharek](https://www.ruby-forum.com/u/massinissa_mecharek)\
**Replies:** 1\
**Last updated:** [April 24, 2007, 11:04am UTC](https://www.ruby-forum.com/t/create-a-directory-path-desktop/102757 "2007-04-24T11:04:59Z")

</div>

I my rails application i want to create for each costumer a space (directory) where he saves their uploaded files for example a costumer is autehntifies by his destop\_id and user\_id i want to create (@desktop\_id/user\_…

---

## [Getting a complete URL from Rails](https://www.ruby-forum.com/t/getting-a-complete-url-from-rails/92679)

<div class="topic-metadata">

**Author:** [@miles](https://www.ruby-forum.com/u/miles)\
**Replies:** 7\
**Last updated:** [April 24, 2007, 10:55am UTC](https://www.ruby-forum.com/t/getting-a-complete-url-from-rails/92679 "2007-04-24T10:55:01Z")

</div>

Hello, I’m sending out an e-mail message to new users of my service. I want to send a particular link in this e-mail but I can’t figure out how to get a complete URL from the url\_for method. Is there a way to do this …

---

## [Remote database ActiveRecord model](https://www.ruby-forum.com/t/remote-database-activerecord-model/92793)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [April 24, 2007, 10:07am UTC](https://www.ruby-forum.com/t/remote-database-activerecord-model/92793 "2007-04-24T10:07:45Z")

</div>

Does anyone know how to make a model connect to a remote database and only for that specific model? That way I can do the typical CRUD functions on a remote server?

---

## [Cannot load SSPI module in InstantRails apache conf](https://www.ruby-forum.com/t/cannot-load-sspi-module-in-instantrails-apache-conf/92791)

<div class="topic-metadata">

**Author:** [@aveo](https://www.ruby-forum.com/u/aveo)\
**Replies:** 1\
**Last updated:** [April 24, 2007, 8:58am UTC](https://www.ruby-forum.com/t/cannot-load-sspi-module-in-instantrails-apache-conf/92791 "2007-04-24T08:58:07Z")

</div>

Hi all, I am trying to authenticate my application using windows NTid/password via SSPI module. Configuring SSPI in apache, we can use windows authentication to access the application. I am using InstantRails and con…

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

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