# Rails

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

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

---

## [Rails\_root](https://www.ruby-forum.com/t/rails-root/118190)

<div class="topic-metadata">

**Author:** [@ratschi85](https://www.ruby-forum.com/u/ratschi85)\
**Replies:** 4\
**Last updated:** [October 25, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/rails-root/118190 "2007-10-25T13:14:17Z")

</div>

Hey, I’m using the attachment\_fu plugin to upload images on the file system. To retrieve them I’m using: image = “/home/rajeev/Desktop/logo/logo/public#{icon.public\_filename}” which is the same as: “/home/rajeev/Des…

---

## [Committing changes with subversion (basic question)](https://www.ruby-forum.com/t/committing-changes-with-subversion-basic-question/118241)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 2\
**Last updated:** [October 25, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/committing-changes-with-subversion-basic-question/118241 "2007-10-25T12:46:28Z")

</div>

I am trying to commit a change to my rails app using subversion using ‘svn commit’. This appears to be successful judging by the response I get: Sending public/stylesheets/style.css Transmitting file data … C…

---

## [Open ppt in Browser](https://www.ruby-forum.com/t/open-ppt-in-browser/118293)

<div class="topic-metadata">

**Author:** [@hariharanperiyasamy](https://www.ruby-forum.com/u/hariharanperiyasamy)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/open-ppt-in-browser/118293 "2007-10-25T12:46:03Z")

</div>

Hi In my application i want to open ppt file in web browser\[IE,FF\].Any one please help me with this…

---

## [Ruby On Rails Developers - Ahmedabad - INDIA](https://www.ruby-forum.com/t/ruby-on-rails-developers-ahmedabad-india/118294)

<div class="topic-metadata">

**Author:** [@ror](https://www.ruby-forum.com/u/ror)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 12:36pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developers-ahmedabad-india/118294 "2007-10-25T12:36:50Z")

</div>

Ruby on Rails Programmer @ Ahmedabad Ruby on Rails Programmer, 0 to 3 years experience - RoRDynamics, Ahmedabad, Mangalore Job Title: Ruby on Rails Programmer Company Name: RoRDynamics www.rordynamics.com Email: rem…

---

## [Ruby on Rails Programmer @ Ahmedabad](https://www.ruby-forum.com/t/ruby-on-rails-programmer-ahmedabad/118289)

<div class="topic-metadata">

**Author:** [@ror](https://www.ruby-forum.com/u/ror)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 12:23pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-programmer-ahmedabad/118289 "2007-10-25T12:23:59Z")

</div>

Ruby on Rails Programmer @ Ahmedabad Ruby on Rails Programmer, 0 to 3 years experience - RoRDynamics, Ahmedabad, Mangalore Job Title: Ruby on Rails Programmer Company Name: RoRDynamics www.rordynamics.com Experience…

---

## [Release notes and updates](https://www.ruby-forum.com/t/release-notes-and-updates/118286)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/release-notes-and-updates/118286 "2007-10-25T12:08:01Z")

</div>

I recently updated to 1.2.5 from 1.1.0 my app to find it not working properly anymore due, it seems, to routing problems. Where do I find a comprehensive list of changes from previous versions? The changelog in the ge…

---

## [Reverting to a previous rails version](https://www.ruby-forum.com/t/reverting-to-a-previous-rails-version/118278)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 2\
**Last updated:** [October 25, 2007, 11:45am UTC](https://www.ruby-forum.com/t/reverting-to-a-previous-rails-version/118278 "2007-10-25T11:45:52Z")

</div>

I recently updated to rails 1.2.5 and I got gems installed for 1.1.0, 1.1.6 1.2.0 and 1.2.5 Since I wanted to revert my app back to 1.1.6 I set RAILS\_CONNECTION\_ADAPTERS = ‘1.1.6’ in enviroement.rb but that doesn’t s…

---

## [Aborted (core dumped)](https://www.ruby-forum.com/t/aborted-core-dumped/118046)

<div class="topic-metadata">

**Author:** [@ratschi85](https://www.ruby-forum.com/u/ratschi85)\
**Replies:** 2\
**Last updated:** [October 25, 2007, 11:04am UTC](https://www.ruby-forum.com/t/aborted-core-dumped/118046 "2007-10-25T11:04:04Z")

</div>

Hey, When I’m trying to upload images I get this following error and my ruby server shuts down: Processing UploadController#new (for 127.0.0.1 at 2007-10-23 14:50:47) \[GET\] Session ID: 3c39b2b1da22bc63513f83f8ced2e9…

---

## [Activeresource json broken?](https://www.ruby-forum.com/t/activeresource-json-broken/118277)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 10:29am UTC](https://www.ruby-forum.com/t/activeresource-json-broken/118277 "2007-10-25T10:29:16Z")

</div>

Activeresource sends xml even when the format is set to json. Why? Chris

---

## [Mongrel hangs on FUTEX\_WAIT](https://www.ruby-forum.com/t/mongrel-hangs-on-futex-wait/117906)

<div class="topic-metadata">

**Author:** [@matthias](https://www.ruby-forum.com/u/matthias)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 10:00am UTC](https://www.ruby-forum.com/t/mongrel-hangs-on-futex-wait/117906 "2007-10-25T10:00:35Z")

</div>

Hi, my app was running on SuSE 10.2 for a couple of weeks. Suddenly it stopped working as the mongrel process sooner or later get blocked. This is reproducably happening after a few requests. It does not matter wheth…

---

## [Installtion problem](https://www.ruby-forum.com/t/installtion-problem/118177)

<div class="topic-metadata">

**Author:** [@suchi](https://www.ruby-forum.com/u/suchi)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 9:42am UTC](https://www.ruby-forum.com/t/installtion-problem/118177 "2007-10-25T09:42:26Z")

</div>

Hi , I'm using WindowsXP OS, i successfully installed Ruby and RubyGems C:\>ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) \[i386-mswin32\] C:\>gem -v 0.9.4 and i downloaded rails-1.2.5.gem from http://rubyforge.or…

---

## [Ruby-net-ldap](https://www.ruby-forum.com/t/ruby-net-ldap/118270)

<div class="topic-metadata">

**Author:** [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 9:19am UTC](https://www.ruby-forum.com/t/ruby-net-ldap/118270 "2007-10-25T09:19:52Z")

</div>

Hello I have the following code to test authentication using ldap (i use ruby-net-ldap extension) : require ‘rubygems’ require ‘net/ldap’ def test user = ‘bla’ pass = ‘bla’ ldap = Net::LDAP.new :host =\> “10.20.0.…

---

## [RJS not reloading in IE](https://www.ruby-forum.com/t/rjs-not-reloading-in-ie/118271)

<div class="topic-metadata">

**Author:** [@vixiom](https://www.ruby-forum.com/u/vixiom)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 9:18am UTC](https://www.ruby-forum.com/t/rjs-not-reloading-in-ie/118271 "2007-10-25T09:18:32Z")

</div>

I’m trying to reload a page element with RJS after an ajax call and it works in FireFox but not IE. ###################################### the method in products\_controller.rb ###################################### d…

---

## [How do you Pass Variables Correctly in Ruby?](https://www.ruby-forum.com/t/how-do-you-pass-variables-correctly-in-ruby/118261)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 1\
**Last updated:** [October 25, 2007, 8:39am UTC](https://www.ruby-forum.com/t/how-do-you-pass-variables-correctly-in-ruby/118261 "2007-10-25T08:39:27Z")

</div>

I’m trying to pass the modified “text\_color” variable by dong: def page\_text(type, source = @title) text\_color = type + “\_blue\_text” @title.text\_color end With that, I’m getting an undefined method for “text\_color”. …

---

## [Query on observe form and rjs](https://www.ruby-forum.com/t/query-on-observe-form-and-rjs/118264)

<div class="topic-metadata">

**Author:** [@divyakgowda](https://www.ruby-forum.com/u/divyakgowda)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 8:35am UTC](https://www.ruby-forum.com/t/query-on-observe-form-and-rjs/118264 "2007-10-25T08:35:55Z")

</div>

I have 3 fields project,type,program .Program should be enable only if type=1(some predef value)but program values should be based on project values.I tried to use observe form and rjs.I could not find the solution p…

---

## [Report generation in rails](https://www.ruby-forum.com/t/report-generation-in-rails/118257)

<div class="topic-metadata">

**Author:** [@abhi](https://www.ruby-forum.com/u/abhi)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 7:47am UTC](https://www.ruby-forum.com/t/report-generation-in-rails/118257 "2007-10-25T07:47:59Z")

</div>

Hi is there any way of generating reports other than xls and pdf. I am using my sql .

---

## [Mongrel 404s pages seen by WEBrick -- config?!](https://www.ruby-forum.com/t/mongrel-404s-pages-seen-by-webrick-config/118259)

<div class="topic-metadata">

**Author:** [@olie](https://www.ruby-forum.com/u/olie)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 7:07am UTC](https://www.ruby-forum.com/t/mongrel-404s-pages-seen-by-webrick-config/118259 "2007-10-25T07:07:54Z")

</div>

I’ve got my great new rails app (thanks to everyone for all the help!) and it’s working great on WEBRick locally. When I upload it to my production server and run under mongrel, I get things like: css page doesn’t l…

---

## [Action caching and redirects](https://www.ruby-forum.com/t/action-caching-and-redirects/113419)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 1\
**Last updated:** [October 25, 2007, 6:41am UTC](https://www.ruby-forum.com/t/action-caching-and-redirects/113419 "2007-10-25T06:41:15Z")

</div>

I have some code that uses caches\_action to cache the output of a “show” method, and a before\_filter to redirect the user to a login page if the user hasn’t already logged in. Unfortunately, when redirect\_to method s…

---

## [Query on observe field](https://www.ruby-forum.com/t/query-on-observe-field/118256)

<div class="topic-metadata">

**Author:** [@divyakgowda](https://www.ruby-forum.com/u/divyakgowda)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 6:25am UTC](https://www.ruby-forum.com/t/query-on-observe-field/118256 "2007-10-25T06:25:08Z")

</div>

Take one example where there will be 2 combo boxes. One for the project and another one for types. I have used observe field for types combo box which observes project field and updates div of types. Now i need to obs…

---

## [Ajax form for-how to refresh the \<div\> without any layout?](https://www.ruby-forum.com/t/ajax-form-for-how-to-refresh-the-div-without-any-layout/118252)

<div class="topic-metadata">

**Author:** [@Ghee\_wooi\_O](https://www.ruby-forum.com/u/Ghee_wooi_O)\
**Replies:** 4\
**Last updated:** [October 25, 2007, 5:35am UTC](https://www.ruby-forum.com/t/ajax-form-for-how-to-refresh-the-div-without-any-layout/118252 "2007-10-25T05:35:18Z")

</div>

hi, I got an ajax form that can post values to controller to create item.(simply an form\_remote\_for )then redirect to another page. however, the response is include the app/view/layout/application.rthml. so my refres…

---

## [Why do I have to freeze rails when using Apache](https://www.ruby-forum.com/t/why-do-i-have-to-freeze-rails-when-using-apache/118236)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 1\
**Last updated:** [October 25, 2007, 3:11am UTC](https://www.ruby-forum.com/t/why-do-i-have-to-freeze-rails-when-using-apache/118236 "2007-10-25T03:11:23Z")

</div>

Hi, I’m just starting using Apache with Rails and the first issue that I had to resolve was the following error message: “Application error. Rails application failed to start properly” “Cannot find gem for Rails =1.2…

---

## [Can't use ruby-rtf gem](https://www.ruby-forum.com/t/cant-use-ruby-rtf-gem/118243)

<div class="topic-metadata">

**Author:** [@joshualevy](https://www.ruby-forum.com/u/joshualevy)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 3:02am UTC](https://www.ruby-forum.com/t/cant-use-ruby-rtf-gem/118243 "2007-10-25T03:02:02Z")

</div>

I’m new to ruby, rails, and gems, and trying to add an feature to a RoR’s app so users can export a file, and then edit it using Microsoft’s Word. (This is an app where telling folks to use OpenOffice or some other e…

---

## [ROR Mandatory Upgrades Discussion List](https://www.ruby-forum.com/t/ror-mandatory-upgrades-discussion-list/118130)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 2:56am UTC](https://www.ruby-forum.com/t/ror-mandatory-upgrades-discussion-list/118130 "2007-10-25T02:56:13Z")

</div>

I’m finding it hard to stay on top of updates to the 50+ gems/plugins etc we are using. I think there is a need for a single discussion/rss feed which ONLY includes notifications for Mandatory upgrades for any Ruby on…

---

## [Puts \*(1..10) what's that star](https://www.ruby-forum.com/t/puts-1-10-whats-that-star/117929)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 13\
**Last updated:** [October 25, 2007, 1:32am UTC](https://www.ruby-forum.com/t/puts-1-10-whats-that-star/117929 "2007-10-25T01:32:06Z")

</div>

puts \*(1…10) What is the star operator called and where can I get more information about it. How does it work? It’s hard to search without knowing what the operator is called?

---

## [Did I totally screw up my svn repository? (first deployment)](https://www.ruby-forum.com/t/did-i-totally-screw-up-my-svn-repository-first-deployment/117680)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 9\
**Last updated:** [October 25, 2007, 12:55am UTC](https://www.ruby-forum.com/t/did-i-totally-screw-up-my-svn-repository-first-deployment/117680 "2007-10-25T00:55:17Z")

</div>

So I really didn’t know what I was doing when I manually changed a file in my current application directory. Now I can’t get my basic status command to work: Peter-Marks-MBP:~/Rails/app petermarks$ svn checkout http…

---

## [FastCGI on IIS](https://www.ruby-forum.com/t/fastcgi-on-iis/118222)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/fastcgi-on-iis/118222 "2007-10-24T23:59:44Z")

</div>

Has anyone tried using Rails (or PHP or whatever) on IIS lately? There is a FastCGI extention for IIS 5.1 and 6.0 \[1\], backported from IIS7 if I understand correctly. I’m curious if anyone thinks this would work in pr…

---

## [Netbeans6 + RoR errors](https://www.ruby-forum.com/t/netbeans6-ror-errors/117352)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 6\
**Last updated:** [October 24, 2007, 11:38pm UTC](https://www.ruby-forum.com/t/netbeans6-ror-errors/117352 "2007-10-24T23:38:07Z")

</div>

I’m having problems with running RoR applications, either imported from existing source or by creating a new project in NetBeans 6 beta When I use the menu “run / test project” or “run / run main project” I get an er…

---

## [Do some custom action on a 404 or 500 document?](https://www.ruby-forum.com/t/do-some-custom-action-on-a-404-or-500-document/118229)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 11:37pm UTC](https://www.ruby-forum.com/t/do-some-custom-action-on-a-404-or-500-document/118229 "2007-10-24T23:37:53Z")

</div>

Hi all I’d like to do some custom action when in production mode a 404 or 500 document is shown. When displaying a 404 e.g. I want to check if the user has typed in the URL manually or if he was directed there from s…

---

## [Postgresql and schemas](https://www.ruby-forum.com/t/postgresql-and-schemas/118199)

<div class="topic-metadata">

**Author:** [@tresero](https://www.ruby-forum.com/u/tresero)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/postgresql-and-schemas/118199 "2007-10-24T23:00:03Z")

</div>

There are some bugs somewhere in the stack in which the schemas are not automatically chosen. My database.yml includes the following: schema\_search\_path: iaa\_development This creates the database in the correct schem…

---

## [Before\_filter at the method level](https://www.ruby-forum.com/t/before-filter-at-the-method-level/118218)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 4\
**Last updated:** [October 24, 2007, 10:32pm UTC](https://www.ruby-forum.com/t/before-filter-at-the-method-level/118218 "2007-10-24T22:32:31Z")

</div>

I have used before\_filter in the passed at the class level but can it be used in the method level. For example, I want to refuse a non-admin type from being able to delete anything in the entire application. Is there…

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

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