# Rails

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

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

---

## [Post variables](https://www.ruby-forum.com/t/post-variables/148653)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [September 16, 2008, 3:52pm UTC](https://www.ruby-forum.com/t/post-variables/148653 "2008-09-16T15:52:40Z")

</div>

I need to display all the posted variables and their values. I am not sure how I would go about doing this. Is there a way to loop through all the posted variables regardless of how many are passed so I could display …

---

## [Ultrasphinx, terminal not verbose anymore in development](https://www.ruby-forum.com/t/ultrasphinx-terminal-not-verbose-anymore-in-development/148718)

<div class="topic-metadata">

**Author:** [@bbnnt](https://www.ruby-forum.com/u/bbnnt)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/ultrasphinx-terminal-not-verbose-anymore-in-development/148718 "2008-09-16T15:47:00Z")

</div>

Ultrasphinx’s great; one problem, if I start it, I don’t get anything in the terminal when in developpment, I might lack here of some setup knowledge, can’t find a good answer googling, thanks if anybody has clues.

---

## [Help: A copy of ModelSecurity has been removed from the module tree but is still active!](https://www.ruby-forum.com/t/help-a-copy-of-modelsecurity-has-been-removed-from-the-module-tree-but-is-still-active/148439)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/help-a-copy-of-modelsecurity-has-been-removed-from-the-module-tree-but-is-still-active/148439 "2008-09-16T15:39:14Z")

</div>

Hi all, I’m posting this in the hope that someone who understands rails dependencies can shed some light. I’ve implemented a “ModelSecurity” module in the vein of Bruce Peren’s old ModelSecurity plugin (http://rubyfor…

---

## [Clash between rails and facets for String exension 'chars'](https://www.ruby-forum.com/t/clash-between-rails-and-facets-for-string-exension-chars/148714)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/clash-between-rails-and-facets-for-string-exension-chars/148714 "2008-09-16T15:29:00Z")

</div>

We’ve got a problem with the facets gem - i started using facets because it has some very handy stuff. However, there seems to be a clash with rails over the extended method String#chars. in rails, String#chars retur…

---

## [\[JRuby\] Exposing rails method as java class](https://www.ruby-forum.com/t/jruby-exposing-rails-method-as-java-class/148674)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 2:25pm UTC](https://www.ruby-forum.com/t/jruby-exposing-rails-method-as-java-class/148674 "2008-09-16T14:25:42Z")

</div>

hello, I am using Jruby on Rails. Does anyone know if you can expose a RoR object as a java class so that you can call it directly from java without having to go through a service layer like REST ? Thx Adam

---

## [An open source ruby on rails shopping cart](https://www.ruby-forum.com/t/an-open-source-ruby-on-rails-shopping-cart/148368)

<div class="topic-metadata">

**Author:** [@robert](https://www.ruby-forum.com/u/robert)\
**Replies:** 14\
**Last updated:** [September 16, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/an-open-source-ruby-on-rails-shopping-cart/148368 "2008-09-16T13:51:39Z")

</div>

Dear Ruby on Rails: Talk We released an open source shopping cart software written in ruby on rails. For more details, please visit our website: You can also take a look at a demo store: Regards, Robert

---

## [Status of Shipping gem](https://www.ruby-forum.com/t/status-of-shipping-gem/148660)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 1:50pm UTC](https://www.ruby-forum.com/t/status-of-shipping-gem/148660 "2008-09-16T13:50:28Z")

</div>

Hello list, Does anyone know the status of the shipping gem (shipping API - http://rubyforge.org/projects/shipping)? It seems the last update was on july 10, 2007, does anyone know if this last version is compatible w…

---

## [Text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/text-field-with-auto-complete/148705)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete/148705 "2008-09-16T13:47:32Z")

</div>

Hi, How to trigger the text\_field\_with\_auto\_complete after typing the 4 characters on the text box.can anyone please tell me how set this after typing 4 characters.

---

## [Problem regarding routes configuration](https://www.ruby-forum.com/t/problem-regarding-routes-configuration/148707)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 1:25pm UTC](https://www.ruby-forum.com/t/problem-regarding-routes-configuration/148707 "2008-09-16T13:25:05Z")

</div>

Hi, Recently, I stepped into a problem while configuring routes to my rails app. I have a link\_to tag like this: link\_to ‘healthyliving’, :controller =\> :resources, :action =\> :read\_article, :path =\> ‘healthyliving’…

---

## [XML/Excel export?](https://www.ruby-forum.com/t/xml-excel-export/148619)

<div class="topic-metadata">

**Author:** [@nik](https://www.ruby-forum.com/u/nik)\
**Replies:** 3\
**Last updated:** [September 16, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/xml-excel-export/148619 "2008-09-16T12:46:19Z")

</div>

Good morning, all! Can anyone point me to the direction of creating a link that leads to the downloading of a rails generated XML file. I have an app and a database both called catalog, and I have a controller called…

---

## [Get\_type\_metrics': UnableToReadFont '(null)'](https://www.ruby-forum.com/t/get-type-metrics-unabletoreadfont-null/148681)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 11:11am UTC](https://www.ruby-forum.com/t/get-type-metrics-unabletoreadfont-null/148681 "2008-09-16T11:11:19Z")

</div>

my os windows-xp rails -1.2.3 i got this error with rmagick ./script/…/config/…/vendor/plugins/captcha\_generator/lib/captcha\_generator.rb:32:in get\_type\_metrics': UnableToReadFont(null)’ (Magick::ImageMagickError)

---

## [About form\_for and date](https://www.ruby-forum.com/t/about-form-for-and-date/148691)

<div class="topic-metadata">

**Author:** [@nn2000](https://www.ruby-forum.com/u/nn2000)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 10:45am UTC](https://www.ruby-forum.com/t/about-form-for-and-date/148691 "2008-09-16T10:45:48Z")

</div>

\<% form\_for (@task) do |f| %\> â€¦ \<%= select\_date (date.today) :task\_date %\> \<% end %\> The above code won’t work, what’s the right syntax?

---

## [About association](https://www.ruby-forum.com/t/about-association/148693)

<div class="topic-metadata">

**Author:** [@nn2000](https://www.ruby-forum.com/u/nn2000)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 10:45am UTC](https://www.ruby-forum.com/t/about-association/148693 "2008-09-16T10:45:47Z")

</div>

I am building a blog, an event has many comments and a comment belong to an event. But each comment I created under different events all got different id. For example, if I can access url: http://localhost:3000/event…

---

## [Vmware macosx](https://www.ruby-forum.com/t/vmware-macosx/148684)

<div class="topic-metadata">

**Author:** [@Damian\_Hamill](https://www.ruby-forum.com/u/Damian_Hamill)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 9:37am UTC](https://www.ruby-forum.com/t/vmware-macosx/148684 "2008-09-16T09:37:41Z")

</div>

Hi Guys does anyone have a ‘working’ macosx vmware instance ? i.e. you have the networking working ok so you can use ichat. would love to use macosx and textmate for RoR development but I dont fancy parting with \> $U…

---

## [Rails autocomplete](https://www.ruby-forum.com/t/rails-autocomplete/148661)

<div class="topic-metadata">

**Author:** [@andrewdon](https://www.ruby-forum.com/u/andrewdon)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 9:11am UTC](https://www.ruby-forum.com/t/rails-autocomplete/148661 "2008-09-16T09:11:52Z")

</div>

I have got the rails autocomplete plugin working fine, all works very well, but in my form I have this \<%= text\_field\_with\_auto\_complete :memberid, :description, {:size =\> 15} %\> So when I make a new item I enter a m…

---

## [POST parameters incorrectly appended to REQUEST\_URI](https://www.ruby-forum.com/t/post-parameters-incorrectly-appended-to-request-uri/148690)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 9:02am UTC](https://www.ruby-forum.com/t/post-parameters-incorrectly-appended-to-request-uri/148690 "2008-09-16T09:02:06Z")

</div>

My rspec controller tests are appending POST params to the request\_uri as though they are GET variables. So this line: post :create, :foo =\> ‘bar’ Generates a request\_uri that looks like this: my\_restful\_controller?…

---

## [Inserting data into a JOIN table!](https://www.ruby-forum.com/t/inserting-data-into-a-join-table/148688)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 8:46am UTC](https://www.ruby-forum.com/t/inserting-data-into-a-join-table/148688 "2008-09-16T08:46:38Z")

</div>

Hello, I have a roles table, permissions table and a rights join table. I have has\_many :through relationships between the two tables. Roles Permissions Rights table id name id name …

---

## [Bug in rails-1.2.3(number.years.ago)](https://www.ruby-forum.com/t/bug-in-rails-1-2-3-number-years-ago/148591)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 3\
**Last updated:** [September 16, 2008, 6:39am UTC](https://www.ruby-forum.com/t/bug-in-rails-1-2-3-number-years-ago/148591 "2008-09-16T06:39:30Z")

</div>

30.years.ago -\> ok 40.years.ago -\> error is it bug?

---

## [Announcing Ruby Dcamp](https://www.ruby-forum.com/t/announcing-ruby-dcamp/148679)

<div class="topic-metadata">

**Author:** [@Christophe\_Lucas](https://www.ruby-forum.com/u/Christophe_Lucas)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 6:38am UTC](https://www.ruby-forum.com/t/announcing-ruby-dcamp/148679 "2008-09-16T06:38:58Z")

</div>

Registration is now open for Ruby DCamp (http://www.rubydcamp.org/), an Open Spaces-style Ruby conference. The conference is on the weekend of October 11th and 12th at the Holiday Inn at Ballston, Arlington, Virgini…

---

## [Url\_for\_file\_column within if within a partial](https://www.ruby-forum.com/t/url-for-file-column-within-if-within-a-partial/148606)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 6:06am UTC](https://www.ruby-forum.com/t/url-for-file-column-within-if-within-a-partial/148606 "2008-09-16T06:06:48Z")

</div>

I have a partial that has the following code: \<% if product.prd\_big\_image.nil? %\> \<% else %\> \<%= image\_tag url\_for\_file\_column(:product, :prd\_big\_image, “normal”) %\> \<% end %\> and get the following error You hav…

---

## [Viable for lone developer to create & run non-trivial subscription site?](https://www.ruby-forum.com/t/viable-for-lone-developer-to-create-run-non-trivial-subscription-site/148623)

<div class="topic-metadata">

**Author:** [@mitch](https://www.ruby-forum.com/u/mitch)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 5:57am UTC](https://www.ruby-forum.com/t/viable-for-lone-developer-to-create-run-non-trivial-subscription-site/148623 "2008-09-16T05:57:26Z")

</div>

I’m very new to Rails and wondering if it’s viable for me to create and run a niche market “project management” web app all on my own? Is this too big a job, too much to expect? Are subscription sites of significant c…

---

## [Rake spec:rcov =\> \[BUG\] Segmentation fault ruby 1.8.6 (2007-09-24) \[i386-mswin32\]](https://www.ruby-forum.com/t/rake-spec-rcov-bug-segmentation-fault-ruby-1-8-6-2007-09-24-i386-mswin32/196807)

<div class="topic-metadata">

**Author:** [@scottnj](https://www.ruby-forum.com/u/scottnj)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 5:56am UTC](https://www.ruby-forum.com/t/rake-spec-rcov-bug-segmentation-fault-ruby-1-8-6-2007-09-24-i386-mswin32/196807 "2008-09-16T05:56:16Z")

</div>

i have a rails app that tests fine with “rake spec” but gets a segmentation fault when “rake spec:rcov” is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test\_blog/tr…

---

## [Datanoise ActionWebService questions](https://www.ruby-forum.com/t/datanoise-actionwebservice-questions/148677)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 5:27am UTC](https://www.ruby-forum.com/t/datanoise-actionwebservice-questions/148677 "2008-09-16T05:27:36Z")

</div>

Is there a way to prevent actionwebservice from putting out a stacktrace when an exception occurs? Will this only happen in development mode? Also is there any way to limit the fields that are published with the mode…

---

## [Mobile Aware Mobile Integration Server and Rails](https://www.ruby-forum.com/t/mobile-aware-mobile-integration-server-and-rails/148672)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:27am UTC](https://www.ruby-forum.com/t/mobile-aware-mobile-integration-server-and-rails/148672 "2008-09-16T03:27:17Z")

</div>

There’s a little bit of a discussion about user-agent string detection and mobile device attribute databases here http://www.ruby-forum.com/topic/160278#new but they mention open source ones. Has anyone got experienc…

---

## [Odd Behavior for datetime\_select](https://www.ruby-forum.com/t/odd-behavior-for-datetime-select/148584)

<div class="topic-metadata">

**Author:** [@maraby](https://www.ruby-forum.com/u/maraby)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 2:51am UTC](https://www.ruby-forum.com/t/odd-behavior-for-datetime-select/148584 "2008-09-16T02:51:57Z")

</div>

I’m running into an odd situation where datetime\_select is making the hours into minutes and putting nothing in for hours. My database table is mysql which looks like: create\_table :my\_sessions do |t| t.integer :us…

---

## [Help Receiving a http POST to my application](https://www.ruby-forum.com/t/help-receiving-a-http-post-to-my-application/146319)

<div class="topic-metadata">

**Author:** [@kazamanero](https://www.ruby-forum.com/u/kazamanero)\
**Replies:** 9\
**Last updated:** [September 16, 2008, 2:06am UTC](https://www.ruby-forum.com/t/help-receiving-a-http-post-to-my-application/146319 "2008-09-16T02:06:55Z")

</div>

Hi… I’m just getting started with Ruby and am creating an API that will receive POST requests from its users. I’ve got a “fake” user sending POST requests to the right controller in my application, but I can’t seem t…

---

## [Routing Broken in Production Environment](https://www.ruby-forum.com/t/routing-broken-in-production-environment/148666)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 1:37am UTC](https://www.ruby-forum.com/t/routing-broken-in-production-environment/148666 "2008-09-16T01:37:40Z")

</div>

I have a page that uploads pictures. In my development environment, on two different development machines even, this works perfectly. However when running in production on hostingrails.com when the form is sbmitted t…

---

## [RMagick Image Rendering Problem](https://www.ruby-forum.com/t/rmagick-image-rendering-problem/148628)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 12:49am UTC](https://www.ruby-forum.com/t/rmagick-image-rendering-problem/148628 "2008-09-16T00:49:08Z")

</div>

RMagick Image Rendering I am fairly new to Ruby on Rails and I have been trying to upload images and create thumbnails using the “Processing Uploaded Images” recipe from the Rails Recipes book. The script uses RMagick…

---

## [Map.resources :staff, but /staff/ gives show action, not index?](https://www.ruby-forum.com/t/map-resources-staff-but-staff-gives-show-action-not-index/148663)

<div class="topic-metadata">

**Author:** [@mfairchi](https://www.ruby-forum.com/u/mfairchi)\
**Replies:** 1\
**Last updated:** [September 16, 2008, 12:49am UTC](https://www.ruby-forum.com/t/map-resources-staff-but-staff-gives-show-action-not-index/148663 "2008-09-16T00:49:08Z")

</div>

Hello, I’m having a hell of a time with my map.resources I have: map.resource :staff in my routes.rb, but when i go to localhost:3000/staff it takes me to the show action? This is not the default i remember. How c…

---

## [Routing Problem?](https://www.ruby-forum.com/t/routing-problem/148512)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 9\
**Last updated:** [September 16, 2008, 12:19am UTC](https://www.ruby-forum.com/t/routing-problem/148512 "2008-09-16T00:19:48Z")

</div>

I started out with a normal scaffold for the USERS table. I changed the index view to be list.html.erb but the url: ‘/users/list’ returns an ‘unknown action’ error. ‘/users/list/:id’ also returns an ‘unknown action’ …

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

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