# Rails

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

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

---

## [Rails 3 Routing problem](https://www.ruby-forum.com/t/rails-3-routing-problem/188944)

<div class="topic-metadata">

**Author:** [@b1gtuna](https://www.ruby-forum.com/u/b1gtuna)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 10:09pm UTC](https://www.ruby-forum.com/t/rails-3-routing-problem/188944 "2010-05-20T22:09:11Z")

</div>

I have moved some of my development on to my server. http://ls1.bigseapreview.com . The homepage works just fine, but any other route isn’t correctly working. If I attempt to go to http://ls1.bigseapreview.com/about, …

---

## [Active Scaffold Filtered Export](https://www.ruby-forum.com/t/active-scaffold-filtered-export/188943)

<div class="topic-metadata">

**Author:** [@maypie](https://www.ruby-forum.com/u/maypie)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 9:45pm UTC](https://www.ruby-forum.com/t/active-scaffold-filtered-export/188943 "2010-05-20T21:45:06Z")

</div>

I’m new to Rails, and I’m not sure how I can pass the results of a filtered list to my export. I’m filtering using several user-selected criteria run through a conditions\_for\_collection. Then I’m using a config.acti…

---

## [Inline RJS ActionControllerException: "stack level too deep"](https://www.ruby-forum.com/t/inline-rjs-actioncontrollerexception-stack-level-too-deep/188942)

<div class="topic-metadata">

**Author:** [@Lille](https://www.ruby-forum.com/u/Lille)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 9:37pm UTC](https://www.ruby-forum.com/t/inline-rjs-actioncontrollerexception-stack-level-too-deep/188942 "2010-05-20T21:37:25Z")

</div>

Hi, I get a ActionControllerException: “stack level too deep” when I attempt inline RJS like this: \<%=observe\_field(“loan\_term”, :function =\> update\_page { |page| page\[:max\_term\_in\_yrs\].insert\_html(page\[:loan\_term\].…

---

## [Spree commerce (or other open source ruby shopping carts)](https://www.ruby-forum.com/t/spree-commerce-or-other-open-source-ruby-shopping-carts/188931)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [May 20, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/spree-commerce-or-other-open-source-ruby-shopping-carts/188931 "2010-05-20T21:30:58Z")

</div>

Hi All, Has anyone used spree commerce as an e-commerce system? Is it production ready? Easy to customize? Are there other ruby-based platforms out there? I’m currently looking at options for an e-commerce system for…

---

## [Ruby on Rails Developer - 6 month contract in Portland, OR \*some travel involved](https://www.ruby-forum.com/t/ruby-on-rails-developer-6-month-contract-in-portland-or-some-travel-involved/188936)

<div class="topic-metadata">

**Author:** [@PatrickSPDX\_Recru](https://www.ruby-forum.com/u/PatrickSPDX_Recru)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 8:17pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-6-month-contract-in-portland-or-some-travel-involved/188936 "2010-05-20T20:17:47Z")

</div>

Immemdiate need for a RoR Developer, details below. Looking for person located in Oregon (ideally) and will require some travel to Washington D.C then rest will be remote/work from home. if you are interested, send a …

---

## [Problem with installation of Rails 3](https://www.ruby-forum.com/t/problem-with-installation-of-rails-3/188925)

<div class="topic-metadata">

**Author:** [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Replies:** 5\
**Last updated:** [May 20, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/problem-with-installation-of-rails-3/188925 "2010-05-20T20:07:15Z")

</div>

Help me out guys… While installing rails 3 i got the following message :~$ sudo gem install rails --pre Successfully installed rails-3.0.0.beta3 1 gem installed Installing ri documentation for rails-3.0.0.beta3… Fi…

---

## [Local stack dump capability would be nice](https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 7:54pm UTC](https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929 "2010-05-20T19:54:22Z")

</div>

If there was a way to limit parts of a ruby stack trace to just my code rather than the whole rails library and gems that would be an interesting feature …

---

## [CruiseControl.rb Ruby 1.9.1 compatibility?](https://www.ruby-forum.com/t/cruisecontrol-rb-ruby-1-9-1-compatibility/188930)

<div class="topic-metadata">

**Author:** [@kredei](https://www.ruby-forum.com/u/kredei)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 5:16pm UTC](https://www.ruby-forum.com/t/cruisecontrol-rb-ruby-1-9-1-compatibility/188930 "2010-05-20T17:16:07Z")

</div>

Hi all, I’m trying to add a CruiseControl.rb 1.4.0 project under Ruby 1.9.1p378 and getting an error that seems to indicate the vendored version of Rails isn’t compatible with 1.9 (using the old when syntax with a co…

---

## [URGENT! can't activate actionpack (= 1.13.6, runtime) for \["actionwebservice-1.2.6"\], already activ](https://www.ruby-forum.com/t/urgent-cant-activate-actionpack-1-13-6-runtime-for-actionwebservice-1-2-6-already-activ/188918)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 6\
**Last updated:** [May 20, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/urgent-cant-activate-actionpack-1-13-6-runtime-for-actionwebservice-1-2-6-already-activ/188918 "2010-05-20T16:52:18Z")

</div>

Hi guys, I have added consumption of a couple of web services to my application and everything seemed to be going well. That is after yesterday, when I was asked to install whatever I had in a test server that runs in …

---

## [Integrating with BIRT Reporting Engine](https://www.ruby-forum.com/t/integrating-with-birt-reporting-engine/68129)

<div class="topic-metadata">

**Author:** [@jacques](https://www.ruby-forum.com/u/jacques)\
**Replies:** 5\
**Last updated:** [May 20, 2010, 4:20pm UTC](https://www.ruby-forum.com/t/integrating-with-birt-reporting-engine/68129 "2010-05-20T16:20:38Z")

</div>

Greetings, We are working at integrating with BIRT to produce our reports. Has anyone been involved with this so far? Interested in joining our efforts? Thanks

---

## [Memory release problem](https://www.ruby-forum.com/t/memory-release-problem/188924)

<div class="topic-metadata">

**Author:** [@jmanivannancse](https://www.ruby-forum.com/u/jmanivannancse)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/memory-release-problem/188924 "2010-05-20T16:00:47Z")

</div>

In my application, i have Memory leak problem ie query’s execution’s used memory is not released after executing the query. i have already posted my problem http://www.ruby-forum.com/topic/209794#new http://www.ruby-…

---

## [Best practices for calling a web service (like geocode)](https://www.ruby-forum.com/t/best-practices-for-calling-a-web-service-like-geocode/188919)

<div class="topic-metadata">

**Author:** [@chewmanfoo](https://www.ruby-forum.com/u/chewmanfoo)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 3:23pm UTC](https://www.ruby-forum.com/t/best-practices-for-calling-a-web-service-like-geocode/188919 "2010-05-20T15:23:53Z")

</div>

Guys, I have a Customer class which creates an instance of an Address class, and the user can then go into the show method of the Customer class and associate other addresses with that Customer (sites). As soon as a…

---

## [Staying RESTful and triggering actions without saving a record](https://www.ruby-forum.com/t/staying-restful-and-triggering-actions-without-saving-a-record/188761)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 22\
**Last updated:** [May 20, 2010, 1:51pm UTC](https://www.ruby-forum.com/t/staying-restful-and-triggering-actions-without-saving-a-record/188761 "2010-05-20T13:51:04Z")

</div>

the example i’m making uses state\_machine because it’s part of my current setup but this isnt a state\_machine specific problem. i have a model called Station. it’s an abstract concept for “an area in which work is per…

---

## [Generate a PDF from an existing HTML](https://www.ruby-forum.com/t/generate-a-pdf-from-an-existing-html/188910)

<div class="topic-metadata">

**Author:** [@mffreire](https://www.ruby-forum.com/u/mffreire)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 1:26pm UTC](https://www.ruby-forum.com/t/generate-a-pdf-from-an-existing-html/188910 "2010-05-20T13:26:11Z")

</div>

Hi everyone, I am having a lot of troubles with this issue the past few days and I would like any suggestions to try to solve this. I want to generate a PDF that has a really big report table from a given HTML (I am…

---

## [T alias doesn't work](https://www.ruby-forum.com/t/t-alias-doesnt-work/188905)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 12:56pm UTC](https://www.ruby-forum.com/t/t-alias-doesnt-work/188905 "2010-05-20T12:56:55Z")

</div>

I18n.t works but t alias doesn’t. This is rails 2.3.5. Thanks

---

## [Rails gem error:i have a new rails application with the new controller called test,and i have tried](https://www.ruby-forum.com/t/rails-gem-error-i-have-a-new-rails-application-with-the-new-controller-called-test-and-i-have-tried/188912)

<div class="topic-metadata">

**Author:** [@karthi](https://www.ruby-forum.com/u/karthi)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 12:46pm UTC](https://www.ruby-forum.com/t/rails-gem-error-i-have-a-new-rails-application-with-the-new-controller-called-test-and-i-have-tried/188912 "2010-05-20T12:46:23Z")

</div>

rubygems/custom\_require.rb:31:in require' script/server:3 /!\\ FAILSAFE /!\\ Thu May 20 11:15:33 +0530 2010 Status: 500 Internal Server Error no such file to load -- sqlite3 c:/Ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_r…

---

## [Self Creating edit page?](https://www.ruby-forum.com/t/self-creating-edit-page/188834)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 5\
**Last updated:** [May 20, 2010, 12:45pm UTC](https://www.ruby-forum.com/t/self-creating-edit-page/188834 "2010-05-20T12:45:48Z")

</div>

Hey, Apparently today I’m the worst developer ever. Same form I’ve been working on for 2 days now. I’ve slimmed it down now from 4 models to 2 to try and narrow the problem field. The controller only defines two area…

---

## [Plugins error](https://www.ruby-forum.com/t/plugins-error/188906)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 9:40am UTC](https://www.ruby-forum.com/t/plugins-error/188906 "2010-05-20T09:40:52Z")

</div>

HI, in my applicaition i want to use automatic sesssion cleaning. i followed the website http://agilewebdevelopment.com/plugins/limited\_sessions I have download this plugin, then configured session life time in envi…

---

## [Sql statement help](https://www.ruby-forum.com/t/sql-statement-help/188899)

<div class="topic-metadata">

**Author:** [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 9:23am UTC](https://www.ruby-forum.com/t/sql-statement-help/188899 "2010-05-20T09:23:51Z")

</div>

i need to find records which are starts with numeric values. So how can i write the sql query? nirosh

---

## [Array of objects](https://www.ruby-forum.com/t/array-of-objects/188896)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 5:55am UTC](https://www.ruby-forum.com/t/array-of-objects/188896 "2010-05-20T05:55:28Z")

</div>

If you have an array of objects and you do array\_of\_objects.each do |o| o.method end Do the attributes of the object get passed to the method so you can access them?

---

## [Visual effect for the div](https://www.ruby-forum.com/t/visual-effect-for-the-div/188897)

<div class="topic-metadata">

**Author:** [@drk](https://www.ruby-forum.com/u/drk)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 5:09am UTC](https://www.ruby-forum.com/t/visual-effect-for-the-div/188897 "2010-05-20T05:09:51Z")

</div>

Hi In a partial, I display “group\_name” , when clicked on groupname the div with id=“abc” should appear below my group. I want to make my div visible false initially at the time of loading my page and Once click on …

---

## [Anyone interested in a Rails opportunity in New Orleans?](https://www.ruby-forum.com/t/anyone-interested-in-a-rails-opportunity-in-new-orleans/188892)

<div class="topic-metadata">

**Author:** [@sid137](https://www.ruby-forum.com/u/sid137)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 12:18am UTC](https://www.ruby-forum.com/t/anyone-interested-in-a-rails-opportunity-in-new-orleans/188892 "2010-05-20T00:18:51Z")

</div>

TEKsystems is working with a client to find a Ruby on Rails developer for a position here in New Orleans. They are looking for an entry level or mid level Ruby on Rails developer. The client develops applications for …

---

## [List controller actions](https://www.ruby-forum.com/t/list-controller-actions/188889)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 4\
**Last updated:** [May 19, 2010, 11:53pm UTC](https://www.ruby-forum.com/t/list-controller-actions/188889 "2010-05-19T23:53:46Z")

</div>

Is there a way to list on a web page the current controller actions define din the controller? Would like to put up a link for each automatically.

---

## [Multiple Databases using an abstract class - help](https://www.ruby-forum.com/t/multiple-databases-using-an-abstract-class-help/188817)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 7\
**Last updated:** [May 19, 2010, 10:16pm UTC](https://www.ruby-forum.com/t/multiple-databases-using-an-abstract-class-help/188817 "2010-05-19T22:16:58Z")

</div>

I am trying to figure out how to use an abstract class to access multiple databases. I can connect just fine using establish\_connections in an abstract class, and I can query the database using find\_by\_sql on the abst…

---

## [Need Help](https://www.ruby-forum.com/t/need-help/188885)

<div class="topic-metadata">

**Author:** [@payahbleh](https://www.ruby-forum.com/u/payahbleh)\
**Replies:** 1\
**Last updated:** [May 19, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/need-help/188885 "2010-05-19T22:12:29Z")

</div>

I have this application installed on my computer apache HTTP Server 2.2 Ruby 1.8.7 Gems Rails Mysql 5.1 in appache configuration file i made some change: From: Options Indexes FollowSymLinks To : Options Index…

---

## [Agile web Development with Rails section 9.3](https://www.ruby-forum.com/t/agile-web-development-with-rails-section-9-3/188883)

<div class="topic-metadata">

**Author:** [@angel-il6](https://www.ruby-forum.com/u/angel-il6)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 9:43pm UTC](https://www.ruby-forum.com/t/agile-web-development-with-rails-section-9-3/188883 "2010-05-19T21:43:22Z")

</div>

Hello I am reading Agile Web D. with rails (third addition). And I need some help with it. I have reached chapter 9.3 (AJAX) when I press on the add to cart button I get an error message. a real ugly one. eventuall…

---

## [How to restrict/control access to certain model attributes depending on role](https://www.ruby-forum.com/t/how-to-restrict-control-access-to-certain-model-attributes-depending-on-role/188884)

<div class="topic-metadata">

**Author:** [@corin](https://www.ruby-forum.com/u/corin)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 9:33pm UTC](https://www.ruby-forum.com/t/how-to-restrict-control-access-to-certain-model-attributes-depending-on-role/188884 "2010-05-19T21:33:51Z")

</div>

Hi! Assume I have a model named Thread. Normal users should be able to change the attributes \[title, body\]. Admin users should be able to change \[title, body, sticky, …\]. Now I wonder what’s the corrent/best way to r…

---

## [Render html partial from atom builder](https://www.ruby-forum.com/t/render-html-partial-from-atom-builder/188881)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 9:31pm UTC](https://www.ruby-forum.com/t/render-html-partial-from-atom-builder/188881 "2010-05-19T21:31:20Z")

</div>

So I have an action that results in atom: def index … respond\_to do |format| … format.atom { render :layout =\> false} end end Then I have a builder template to render the atom, called index.atom.builder. Inside…

---

## [New controller - how do I access it via other controllers/views?](https://www.ruby-forum.com/t/new-controller-how-do-i-access-it-via-other-controllers-views/188878)

<div class="topic-metadata">

**Author:** [@chewmanfoo](https://www.ruby-forum.com/u/chewmanfoo)\
**Replies:** 3\
**Last updated:** [May 19, 2010, 9:09pm UTC](https://www.ruby-forum.com/t/new-controller-how-do-i-access-it-via-other-controllers-views/188878 "2010-05-19T21:09:50Z")

</div>

Guys, I have created a new controller Worker which has a method do\_work(inputs), and another method show\_work, which has a meaningful associated view (showing the results of the ‘work’. So, I need to display the resu…

---

## [Partials and locals](https://www.ruby-forum.com/t/partials-and-locals/188879)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 8:20pm UTC](https://www.ruby-forum.com/t/partials-and-locals/188879 "2010-05-19T20:20:04Z")

</div>

I am calling a partial in another controller (benefits) like… \<%= render :partial =\> “benefits/b\_index”, :collection =\> @benefits, :locals =\> {:hide\_list =\> true} %\> in the partial i just cant seem to access the loca…

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

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