# Top

**URL:** https://www.ruby-forum.com/top.md?page=1050

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

---

## [Html form and form\_for](https://www.ruby-forum.com/t/html-form-and-form-for/122466)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 4\
**Last updated:** [December 8, 2007, 1:47am UTC](https://www.ruby-forum.com/t/html-form-and-form-for/122466 "2007-12-08T01:47:53Z")

</div>

So, i’m not sure exactly how to do this, or if it is a smart thing to do this. I need some help on the best way to approach this. I have a simple form, it has a text\_field and a text\_area. I want to add 2 submit butto…

---

## [FunctiÃ³n substr() en ruby](https://www.ruby-forum.com/t/functia-n-substr-en-ruby/120377)

<div class="topic-metadata">

**Author:** [@yensai](https://www.ruby-forum.com/u/yensai)\
**Replies:** 4\
**Last updated:** [November 16, 2007, 11:55am UTC](https://www.ruby-forum.com/t/functia-n-substr-en-ruby/120377 "2007-11-16T11:55:20Z")

</div>

Buenos dÃ­as, he estado mirando el objeto String pero no encuentro ninguna funciÃ³n similar para obtener un nÃºmero determinado de caracteres de cadena. Alguna sugerencia? Me han pasado este cÃ³digo def snippet(thou…

---

## [Â¿Mejor forma de obtener de un array el ob jeto con un atributo mayor?](https://www.ruby-forum.com/t/a-mejor-forma-de-obtener-de-un-array-el-ob-jeto-con-un-atributo-mayor/116300)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 4\
**Last updated:** [October 4, 2007, 3:27pm UTC](https://www.ruby-forum.com/t/a-mejor-forma-de-obtener-de-un-array-el-ob-jeto-con-un-atributo-mayor/116300 "2007-10-04T15:27:19Z")

</div>

Hola, tengo un array con objetos de la misma clase, y dichos objetos tienen un @atributo con “attr\_reader”. Ahora quiero obtener el objeto que tenga el mÃ¡s alto valor numÃ©rico para dicho @atributo, pero no sÃ© cÃ³mo…

---

## [Lightbox for forms](https://www.ruby-forum.com/t/lightbox-for-forms/113748)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 4\
**Last updated:** [September 6, 2007, 9:24am UTC](https://www.ruby-forum.com/t/lightbox-for-forms/113748 "2007-09-06T09:24:07Z")

</div>

Hello, this is lightbox(works for images) http://www.huddletogether.com/projects/lightbox2/#example this is helper for lightbox http://blog.lipsiasoft.com/articles/2007/06/05/lightbox-helper-per-ruby-on-rails But I …

---

## [Gruff & legend problems](https://www.ruby-forum.com/t/gruff-legend-problems/91010)

<div class="topic-metadata">

**Author:** [@Pierre-Alexandre\_M](https://www.ruby-forum.com/u/Pierre-Alexandre_M)\
**Replies:** 4\
**Last updated:** [April 4, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/gruff-legend-problems/91010 "2007-04-04T17:52:27Z")

</div>

Hi, I have some problems with Gruff & legends. How do you handle many datas? When you have to many labels, the list doesn’t fit in the image. Looking at the source code, the draw\_legend() just calculate the width of …

---

## [Tengo un error creando un combo list](https://www.ruby-forum.com/t/tengo-un-error-creando-un-combo-list/84066)

<div class="topic-metadata">

**Author:** [@ChexRoberto](https://www.ruby-forum.com/u/ChexRoberto)\
**Replies:** 4\
**Last updated:** [February 1, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/tengo-un-error-creando-un-combo-list/84066 "2007-02-01T15:32:27Z")

</div>

Buenas… Estoy tratando de crear un combo lisa, de done sus elementos provienen de una tabla llamada ingredientes… Esto me esta generando el error NoMethodError in Comidas#index de verdad le estoy dando cabeza pero na…

---

## [Updating the parent page DIV using Ajax](https://www.ruby-forum.com/t/updating-the-parent-page-div-using-ajax/78975)

<div class="topic-metadata">

**Author:** [@selva](https://www.ruby-forum.com/u/selva)\
**Replies:** 4\
**Last updated:** [December 12, 2006, 6:27am UTC](https://www.ruby-forum.com/t/updating-the-parent-page-div-using-ajax/78975 "2006-12-12T06:27:21Z")

</div>

Hai I am developing one web site.I have one rhtml file with search link and one div.If i click on that link one more window will open with search result. If i click on any of that result.That data should be updated i…

---

## [Need ruby run like php in apache](https://www.ruby-forum.com/t/need-ruby-run-like-php-in-apache/74392)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/need-ruby-run-like-php-in-apache/74392 "2006-11-07T11:08:19Z")

</div>

I hope that run index.rb in apache like php index.php without rails I think rails is great,but i do not like rails php’s page next page is normal,such as html in web but rails’s url rule is not good … ok,how to run …

---

## [Singleton Pattern in RoR](https://www.ruby-forum.com/t/singleton-pattern-in-ror/72379)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 4\
**Last updated:** [October 18, 2006, 9:27pm UTC](https://www.ruby-forum.com/t/singleton-pattern-in-ror/72379 "2006-10-18T21:27:02Z")

</div>

Hi all how can I implement the singleton patter in RoR? thanks

---

## [Bug in usrp\_rx\_cfile.py?](https://www.ruby-forum.com/t/bug-in-usrp-rx-cfile-py/56399)

<div class="topic-metadata">

**Author:** [@John\_Windish](https://www.ruby-forum.com/u/John_Windish)\
**Replies:** 4\
**Last updated:** [March 31, 2006, 12:56am UTC](https://www.ruby-forum.com/t/bug-in-usrp-rx-cfile-py/56399 "2006-03-31T00:56:49Z")

</div>

I think I have found a bug in usrp\_rx\_cfile.py… I created an m-file for matlab to format data files that are generated by usrp\_rx\_cfile.py (attached). When I process a data file (sample file attached) there is a huge…

---

## [Postgresql connection problems](https://www.ruby-forum.com/t/postgresql-connection-problems/55734)

<div class="topic-metadata">

**Author:** [@Bealach-na\_Bo](https://www.ruby-forum.com/u/Bealach-na_Bo)\
**Replies:** 4\
**Last updated:** [March 23, 2006, 7:19pm UTC](https://www.ruby-forum.com/t/postgresql-connection-problems/55734 "2006-03-23T19:19:45Z")

</div>

Forgive me for asking a trivial question on this list, but being new to Ruby/Ruby on Rails, I’m not sure where to start… I’m trying to connect to a postgresql server: My database.yml contains: test\_test: adapter: po…

---

## [How switching global layout (application.rthml \<or\> custom.r](https://www.ruby-forum.com/t/how-switching-global-layout-application-rthml-or-custom-r/100334)

<div class="topic-metadata">

**Author:** [@Mathieu\_C](https://www.ruby-forum.com/u/Mathieu_C)\
**Replies:** 4\
**Last updated:** [February 2, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/how-switching-global-layout-application-rthml-or-custom-r/100334 "2006-02-02T16:51:44Z")

</div>

Dears, My railsapp run using ‘/layout/application.rhtml’ and under some conditions ( Authenticated user, url parameter) I like to switch globally to another layout, let’s say custom.rhtml Like : class AppController \<…

---

## [RE: Ruby Multithreaded producer-consumer problem](https://www.ruby-forum.com/t/re-ruby-multithreaded-producer-consumer-problem/229919)

<div class="topic-metadata">

**Author:** [@ddesgn](https://www.ruby-forum.com/u/ddesgn)\
**Replies:** 6\
**Last updated:** [February 15, 2013, 6:18pm UTC](https://www.ruby-forum.com/t/re-ruby-multithreaded-producer-consumer-problem/229919 "2013-02-15T18:18:59Z")

</div>

You dont get to start telling people that after all the un-googled, no-try, easily solvable questions YOU have been dumping to the channel. You dont get to flip the script on everyone else. You were told that because…

---

## [Not all javascript files for asset pipeline:](https://www.ruby-forum.com/t/not-all-javascript-files-for-asset-pipeline/223776)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 18, 2012, 2:22am UTC](https://www.ruby-forum.com/t/not-all-javascript-files-for-asset-pipeline/223776 "2012-10-18T02:22:05Z")

</div>

Rails 3.1.3 Not all javascript files are necessary for every page of app. If I put all JavaScript files in app/assets/javascripts/ , all of them are compiled and read in every page. I believe this is a waste of memo…

---

## [Install nginx dan php debian](https://www.ruby-forum.com/t/install-nginx-dan-php-debian/218391)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [March 30, 2012, 3:28pm UTC](https://www.ruby-forum.com/t/install-nginx-dan-php-debian/218391 "2012-03-30T15:28:32Z")

</div>

please help me, I just wanted to start the install nginx and php on debian linux, that I question is: how to install nginx and php on debian, please send it to me once in the tutorial how to install nginx and php. …

---

## [Which ajax file upload plugin would best suit my configuration of Rails 2.0.2 and Ruby 1.8.8](https://www.ruby-forum.com/t/which-ajax-file-upload-plugin-would-best-suit-my-configuration-of-rails-2-0-2-and-ruby-1-8-8/207385)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 27, 2011, 4:19pm UTC](https://www.ruby-forum.com/t/which-ajax-file-upload-plugin-would-best-suit-my-configuration-of-rails-2-0-2-and-ruby-1-8-8/207385 "2011-05-27T16:19:34Z")

</div>

Hello all, I am trying to implement uploading of images in my project with some kind of “faux” AJAX… as I have read that it can’t be done otherwise… Kindly correct me on this in case I am wrong… I have after some re…

---

## [Own theme](https://www.ruby-forum.com/t/own-theme/203016)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 10, 2011, 5:55pm UTC](https://www.ruby-forum.com/t/own-theme/203016 "2011-02-10T17:55:03Z")

</div>

Hi All, I have created my own theme (background) using gimp. Can I use that in rails 3. If so, how. As my hours of work will go down the drain. Thank you very much. Regards,

---

## [Require from a method](https://www.ruby-forum.com/t/require-from-a-method/194056)

<div class="topic-metadata">

**Author:** [@ammar](https://www.ruby-forum.com/u/ammar)\
**Replies:** 6\
**Last updated:** [August 31, 2010, 8:15am UTC](https://www.ruby-forum.com/t/require-from-a-method/194056 "2010-08-31T08:15:45Z")

</div>

Hello, Are there any gotchas in requiring files from within a method? It seems to work, but I have a sinking feeling that I’m missing something here. def require\_relative(start, path) require File.expand\_path( File.…

---

## [Slower than 1.9.2 report](https://www.ruby-forum.com/t/slower-than-1-9-2-report/189721)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 6\
**Last updated:** [June 10, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/slower-than-1-9-2-report/189721 "2010-06-10T18:19:29Z")

</div>

Well, since you suggested reporting when jruby was slower than 1.9.2… http://betterlogic.com/roger/?p=2866 lists how it is basically slower for rails. At least the server version, anyway. So there’s your report. NB…

---

## [\* before string](https://www.ruby-forum.com/t/before-string/160183)

<div class="topic-metadata">

**Author:** [@jonatas](https://www.ruby-forum.com/u/jonatas)\
**Replies:** 6\
**Last updated:** [February 12, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/before-string/160183 "2009-02-12T19:49:49Z")

</div>

Hi, I’m looking for cucumber/generators and didn’t understand why use ‘\*’ before string on initialize method. I put it on irb and the result is the same. class NamedArg attr\_reader :name def initialize(s) @name, @…

---

## [Acts\_as\_authenticated now at github](https://www.ruby-forum.com/t/acts-as-authenticated-now-at-github/151870)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [October 27, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/acts-as-authenticated-now-at-github/151870 "2008-10-27T23:52:59Z")

</div>

Dear All since stikypad went south, AAA + wiki have been down. But now AAA + wiki, can be found at Please help me with upgrading the wiki, and if you like, help improve AAA. Please note the AAA was created by techn…

---

## [Newbie on Rails](https://www.ruby-forum.com/t/newbie-on-rails/137312)

<div class="topic-metadata">

**Author:** [@diabolic](https://www.ruby-forum.com/u/diabolic)\
**Replies:** 6\
**Last updated:** [May 12, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/newbie-on-rails/137312 "2008-05-12T23:51:46Z")

</div>

Hello everyone. Near the end of last week I’ve decided to get my hands on a project that, unfortunately, has been lying around in my desk for a while now. As with any other project I’ve elaborated my project plan, wit…

---

## [Can I use conditions outside of find(...)?](https://www.ruby-forum.com/t/can-i-use-conditions-outside-of-find/134978)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 6\
**Last updated:** [April 16, 2008, 10:13pm UTC](https://www.ruby-forum.com/t/can-i-use-conditions-outside-of-find/134978 "2008-04-16T22:13:09Z")

</div>

Hi all, Many apps duplicate logic in SQL and in model methods. This isn’t very DRY. Can I factor out the conditions somehow, and leverage them in both places, e.g.: class Order PRIORITY\_CONDITIONS = “(status = 2 A…

---

## [Using the gstreamer jar in jruby](https://www.ruby-forum.com/t/using-the-gstreamer-jar-in-jruby/132412)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 6\
**Last updated:** [March 25, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/using-the-gstreamer-jar-in-jruby/132412 "2008-03-25T22:46:47Z")

</div>

Hi all, I’m trying to use the Gstreamer jar in jruby, but I can’t manage to get it going. This is what I’m doing: leon@polly:~$ jirb irb(main):001:0\> include Java =\> Object irb(main):002:0\> require ‘/home/leon/Des…

---

## [Multimimensional arrays - i am not getting it](https://www.ruby-forum.com/t/multimimensional-arrays-i-am-not-getting-it/104516)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 6\
**Last updated:** [May 18, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/multimimensional-arrays-i-am-not-getting-it/104516 "2007-05-18T23:00:23Z")

</div>

let me just give a blip of what i am getting… a = Array.new(3,\[\]) =\> \[\[\], \[\], \[\]\] a\[2\] \<\< “check” =\> \[“check”\] a =\> \[\[“check”\], \[“check”\], \[“check”\]\] this is totally not what i am expecting… what i am exp…

---

## [Dynamic Routing](https://www.ruby-forum.com/t/dynamic-routing/86776)

<div class="topic-metadata">

**Author:** [@Ernst\_BeiglbSSSSck](https://www.ruby-forum.com/u/Ernst_BeiglbSSSSck)\
**Replies:** 6\
**Last updated:** [February 27, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/dynamic-routing/86776 "2007-02-27T21:07:26Z")

</div>

Hi, I want to have the following URL structure /music /movies etc. for categories of the site. /about /help etc. for static pages. Both types auf URLs should be generated dynamically. But how do I route them? m…

---

## [Multi line text](https://www.ruby-forum.com/t/multi-line-text/68606)

<div class="topic-metadata">

**Author:** [@lundie](https://www.ruby-forum.com/u/lundie)\
**Replies:** 6\
**Last updated:** [September 14, 2006, 1:20am UTC](https://www.ruby-forum.com/t/multi-line-text/68606 "2006-09-14T01:20:48Z")

</div>

Hi, I am storing multi-lined information in a text field in the database, and intaking it using a text\_area field. When i output it, the information is all streamed into one line. How can I output the information wit…

---

## [Lighty+Mongrel: More than one connection per client?](https://www.ruby-forum.com/t/lighty-mongrel-more-than-one-connection-per-client/56429)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 6\
**Last updated:** [March 31, 2006, 7:20pm UTC](https://www.ruby-forum.com/t/lighty-mongrel-more-than-one-connection-per-client/56429 "2006-03-31T19:20:44Z")

</div>

I have an action which requests another URL from the same site (for testing purposes), but it keeps timing out. If I use an off-site URL, the action works fine. I also notice that I’m only able to request one page at …

---

## [Libxsl-Ruby 0.3.6](https://www.ruby-forum.com/t/libxsl-ruby-0-3-6/55869)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 6\
**Last updated:** [March 27, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/libxsl-ruby-0-3-6/55869 "2006-03-27T17:51:38Z")

</div>

Gems: gem install libxsl-ruby Download: http://rubyforge.org/frs/?group\_id=495 Docs: http://libxsl.rubyforge.org/ Brief description: Libxsl-Ruby provides libxslt bindings for Ruby. libxslt is a very fast XSLT engine…

---

## [Troubleshooting an observe\_field](https://www.ruby-forum.com/t/troubleshooting-an-observe-field/64990)

<div class="topic-metadata">

**Author:** [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Replies:** 6\
**Last updated:** [February 10, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/troubleshooting-an-observe-field/64990 "2006-02-10T18:59:53Z")

</div>

Hi, I’ve got a live\_search field in a partial that is on several different pages. On all pages, except 1, it works fine. On the page it doesn’t work on, it seems it never executes it action. Here’s my observe\_field …

---

## [How to sort joined tables?](https://www.ruby-forum.com/t/how-to-sort-joined-tables/242463)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 25, 2015, 1:30pm UTC](https://www.ruby-forum.com/t/how-to-sort-joined-tables/242463 "2015-06-25T13:30:20Z")

</div>

help please write orm-request. tables: users: id: integer name: varchar posts: id: integer title: varchar user\_id: integer views: integer models: User: class User \< ActiveRecord::Base has\_many :posts, de…

---

## [How to comment @user?](https://www.ruby-forum.com/t/how-to-comment-user/242233)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 7, 2015, 5:30pm UTC](https://www.ruby-forum.com/t/how-to-comment-user/242233 "2015-06-07T17:30:07Z")

</div>

I haven’t found guidance on this question anywhere, which I supposed would be a common one: How can I go about creating a system where if I put the @symbol in front of a user name in a comment that that user would rec…

---

## [How do I show 403 error](https://www.ruby-forum.com/t/how-do-i-show-403-error/234429)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 5, 2015, 1:25pm UTC](https://www.ruby-forum.com/t/how-do-i-show-403-error/234429 "2015-03-05T13:25:03Z")

</div>

Hi Guys, I just setup nginx reverse proxy for my webservers which has port 80/443 opened from internet and have very restircted access on firewall to the destination servers again those to particular servers on port 8…

---

## [Contact page creation](https://www.ruby-forum.com/t/contact-page-creation/234807)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 18, 2014, 9:08am UTC](https://www.ruby-forum.com/t/contact-page-creation/234807 "2014-07-18T09:08:27Z")

</div>

I am new to ruby on rails and I am trying to create a small website as practice. Right now I am in the process of creating a Contact page. Basically this page will be a form to allow visitors send an email to only me…

---

## [Can not load such file -- sprockets/railtie](https://www.ruby-forum.com/t/can-not-load-such-file-sprockets-railtie/240462)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 15, 2014, 2:29pm UTC](https://www.ruby-forum.com/t/can-not-load-such-file-sprockets-railtie/240462 "2014-04-15T14:29:41Z")

</div>

Hello developers I am in trouble, when I try to load the command bundle exec rake assets:precompile, and then it returns that it load such file sprockets/railtie. thanks for all

---

## [\[ruby-trunk - Bug #8401\]\[Open\] BigDecimal.new("2").power(1e20) is zero](https://www.ruby-forum.com/t/ruby-trunk-bug-8401-open-bigdecimal-new-2-power-1e20-is-zero/228931)

<div class="topic-metadata">

**Author:** [@akr\_SAkira\_T.S](https://www.ruby-forum.com/u/akr_SAkira_T.S)\
**Replies:** 3\
**Last updated:** [November 29, 2013, 7:20am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8401-open-bigdecimal-new-2-power-1e20-is-zero/228931 "2013-11-29T07:20:11Z")

</div>

Issue #8401 has been reported by akr (Akira T.). Bug #8401: BigDecimal.new(“2”).power(1e20) is zero. Author: akr (Akira T.) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.1.0d…

---

## [\[ruby-trunk - Feature #8354\]\[Open\] lib/cgi/util.rb を関数としても使えるようにしたい](https://www.ruby-forum.com/t/ruby-trunk-feature-8354-open-lib-cgi-util-rb/228658)

<div class="topic-metadata">

**Author:** [@xibbar\_STakeyuki\_FU](https://www.ruby-forum.com/u/xibbar_STakeyuki_FU)\
**Replies:** 3\
**Last updated:** [May 3, 2013, 4:00am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-8354-open-lib-cgi-util-rb/228658 "2013-05-03T04:00:53Z")

</div>

Issue #8354 has been reported by xibbar (Takeyuki FUJIOKA). Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい Author: xibbar (Takeyuki FUJIOKA) Status: Open Priority: Normal Assignee: xibbar (Takeyuki FUJIOKA) Cate…

---

## [Devise with many models and ArgumentError in RegistrationController#create](https://www.ruby-forum.com/t/devise-with-many-models-and-argumenterror-in-registrationcontroller-create/221987)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 8, 2012, 10:22am UTC](https://www.ruby-forum.com/t/devise-with-many-models-and-argumenterror-in-registrationcontroller-create/221987 "2012-08-08T10:22:02Z")

</div>

Hello! I write custom registration for different user types. I have Devise model User and two models (roles) Company and Invidual: https://gist.github.com/3288141 I created UserObserver https://gist.github.com/3288157 …

---

## [Webrat or RSpec and Table Headers](https://www.ruby-forum.com/t/webrat-or-rspec-and-table-headers/201057)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 29, 2010, 4:15pm UTC](https://www.ruby-forum.com/t/webrat-or-rspec-and-table-headers/201057 "2010-12-29T16:15:18Z")

</div>

Hi all, Suppose I have a table that lists all of my products, that includes a a somewhere in the first , and each product has its data held within a . After updating a product’s description, I want to write somethi…

---

## [No action responded to create. Actions: index](https://www.ruby-forum.com/t/no-action-responded-to-create-actions-index/193848)

<div class="topic-metadata">

**Author:** [@fdibenedetto72](https://www.ruby-forum.com/u/fdibenedetto72)\
**Replies:** 3\
**Last updated:** [August 25, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/no-action-responded-to-create-actions-index/193848 "2010-08-25T18:31:49Z")

</div>

Salve a tutti, sto cercando di fare un piccolo gestionale in rails il mio problema e’ questo nella view index di user ho questo codice Lista Utenti \<% form\_tag :action=\>'index' , :method =\>'post' do%\> …

---

## [Aprire e scrivere su un pdf](https://www.ruby-forum.com/t/aprire-e-scrivere-su-un-pdf/170339)

<div class="topic-metadata">

**Author:** [@menestra](https://www.ruby-forum.com/u/menestra)\
**Replies:** 3\
**Last updated:** [June 25, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/aprire-e-scrivere-su-un-pdf/170339 "2009-06-25T15:29:42Z")

</div>

Ciao ragazzi, ho letto a riguardo parecchie notizie su come scrivere e generare un pdf. Non mi Ã¨ molto chiaro perÃ² quest’altra questione: io ho un pdf giÃ pronto con dei moduli (pdf realizzato con ADOBE DESIGNER …

---

## [BÃ©gaiement test unitaire ?!](https://www.ruby-forum.com/t/ba-gaiement-test-unitaire/171011)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 3\
**Last updated:** [June 25, 2009, 2:37pm UTC](https://www.ruby-forum.com/t/ba-gaiement-test-unitaire/171011 "2009-06-25T14:37:16Z")

</div>

Lorsque je lance " rake test TEST=test/unit/auction\_test.rb" les tests s’exÃ©cutent TROIS fois ?! Y a-t-il une raison connue Ã celÃ ? (Rails 2.3.2 sur Ubuntu) ============================================ $ rake te…

---

## [Comment modulariser des tests exhaustifs sur un modÃ¨le en particulier](https://www.ruby-forum.com/t/comment-modulariser-des-tests-exhaustifs-sur-un-moda-le-en-particulier/171012)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 3\
**Last updated:** [June 25, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/comment-modulariser-des-tests-exhaustifs-sur-un-moda-le-en-particulier/171012 "2009-06-25T14:31:58Z")

</div>

J’ai un modÃ¨le (Auction) qui reprÃ©sente le coeur de mÃ©tier de l’appli et qui, en consÃ©quence tend Ã devenir Ã©norme. Pour modulariser le code de ce modÃ¨le, “concerned\_with” fait parfaitement l’affaire, mais y a…

---

## [TypeError thrown in DynamicMetaObjectBinder.Bind](https://www.ruby-forum.com/t/typeerror-thrown-in-dynamicmetaobjectbinder-bind/167078)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 3\
**Last updated:** [May 4, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/typeerror-thrown-in-dynamicmetaobjectbinder-bind/167078 "2009-05-04T20:29:44Z")

</div>

Hi, I’m reviewing ironruby-hpricot to clean up its code but I’ve just noticed that something has changed in IronRuby since I last tested my library. Please refer to the the following gist for a simplified test case t…

---

## [Missing Template](https://www.ruby-forum.com/t/missing-template/161652)

<div class="topic-metadata">

**Author:** [@Shelly](https://www.ruby-forum.com/u/Shelly)\
**Replies:** 3\
**Last updated:** [February 28, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/missing-template/161652 "2009-02-28T23:52:32Z")

</div>

Hi, I am trying to create a hello world application, where the controller (Say) only has one action: def hello end And the view, hello.rhtml, has HELLO WORLD. When I run it, it says Missing template say/hello.htm…

---

## [Expire\_fragment with memcached](https://www.ruby-forum.com/t/expire-fragment-with-memcached/160654)

<div class="topic-metadata">

**Author:** [@feustine](https://www.ruby-forum.com/u/feustine)\
**Replies:** 3\
**Last updated:** [February 18, 2009, 8:35pm UTC](https://www.ruby-forum.com/t/expire-fragment-with-memcached/160654 "2009-02-18T20:35:51Z")

</div>

Hello all, We know that memcached or memcached-client doesn’t support regex… But It seems it doesn’t support expire\_fragment either :confused: I’m trying to use expire\_fragment with memcached as following : expire\_fr…

---

## [Â¿Cuando usar nested routes? Â¿Combinar REST con no-REST?](https://www.ruby-forum.com/t/a-cuando-usar-nested-routes-a-combinar-rest-con-no-rest/153760)

<div class="topic-metadata">

**Author:** [@carlos\_blazquez](https://www.ruby-forum.com/u/carlos_blazquez)\
**Replies:** 3\
**Last updated:** [November 20, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/a-cuando-usar-nested-routes-a-combinar-rest-con-no-rest/153760 "2008-11-20T22:47:17Z")

</div>

Veamos, a mitad de proyecto me ha surgido la siguiente duda: Tengo por ahora estos modelos: Usuario, Club, Jugador, DivisiÃ³n, etc… Y las relaciones de la base datos son tal que asÃ­: Usuario 1…(0,1) Club Club (0,1)…

---

## [Wxruby and rgplot](https://www.ruby-forum.com/t/wxruby-and-rgplot/143295)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 3\
**Last updated:** [July 18, 2008, 1:48am UTC](https://www.ruby-forum.com/t/wxruby-and-rgplot/143295 "2008-07-18T01:48:15Z")

</div>

hi- i’m really new to ruby (like 2 days new). so, i’m trying to plot a graph inside a window. i’m using rgplot and wxruby. i can plot using rgplot just fine. and i can create a window using wxruby. i just don’t know h…

---

## [DRY Hilfe - ich muss RY](https://www.ruby-forum.com/t/dry-hilfe-ich-muss-ry/135773)

<div class="topic-metadata">

**Author:** [@railscamper](https://www.ruby-forum.com/u/railscamper)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/dry-hilfe-ich-muss-ry/135773 "2008-04-24T22:14:16Z")

</div>

Hallo Liste, ich hoffe ich muss DRY. Ich habe einen KartenController und die zugehörigen Views (freiburg, weimar, erfurt) In den einzelnen views baue ich mir die image\_url der Fotos über ein einfaches KartenControl…

---

## [Pattern Observer](https://www.ruby-forum.com/t/pattern-observer/88569)

<div class="topic-metadata">

**Author:** [@Nicolas\_CHARLOT](https://www.ruby-forum.com/u/Nicolas_CHARLOT)\
**Replies:** 3\
**Last updated:** [March 13, 2007, 9:47am UTC](https://www.ruby-forum.com/t/pattern-observer/88569 "2007-03-13T09:47:34Z")

</div>

Bonsoir, Savez-vous s’il existe une implémentation du pattern Oberver pour ROR ? Merci d’avance Nicolas

[Previous page](https://www.ruby-forum.com/top.md?page=1049&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1051&per_page=50)
