# Top

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

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

---

## [Model in subfolder, not missing constant error](https://www.ruby-forum.com/t/model-in-subfolder-not-missing-constant-error/180985)

<div class="topic-metadata">

**Author:** [@corin](https://www.ruby-forum.com/u/corin)\
**Replies:** 3\
**Last updated:** [January 4, 2010, 3:49am UTC](https://www.ruby-forum.com/t/model-in-subfolder-not-missing-constant-error/180985 "2010-01-04T03:49:36Z")

</div>

Hi all, I’m using the latest rails 2.3.5 and put some models in subfolders like this: models/my/details/texts.rb models/my/details/attributes.rb … The models themselves are defined like this: class My::Details::Te…

---

## [Fphp-fastcgi and nginx problem](https://www.ruby-forum.com/t/fphp-fastcgi-and-nginx-problem/179665)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/fphp-fastcgi-and-nginx-problem/179665 "2009-12-19T15:25:27Z")

</div>

Hi all, I need some help. A system I’m supporting is collapsing in a heap whenever it is put under even moderate load! The setup - Ubuntu, nginx 0.7.62, php-fastcgi. The application is a chatroom, and is built as fo…

---

## [How to force AR belongs\_to include option to eager load?](https://www.ruby-forum.com/t/how-to-force-ar-belongs-to-include-option-to-eager-load/178330)

<div class="topic-metadata">

**Author:** [@arturaz](https://www.ruby-forum.com/u/arturaz)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 12:43am UTC](https://www.ruby-forum.com/t/how-to-force-ar-belongs-to-include-option-to-eager-load/178330 "2009-11-11T00:43:06Z")

</div>

Hello I have two classes class SolarSystem \< ActiveRecord::Base has\_many :fow\_ss\_entries, :dependent =\> :delete\_all class FowSsEntry \< ActiveRecord::Base belongs\_to :galaxy belongs\_to :solar\_system belongs\_to :pla…

---

## [Relating javascript](https://www.ruby-forum.com/t/relating-javascript/178182)

<div class="topic-metadata">

**Author:** [@hunt](https://www.ruby-forum.com/u/hunt)\
**Replies:** 3\
**Last updated:** [October 30, 2009, 11:29am UTC](https://www.ruby-forum.com/t/relating-javascript/178182 "2009-10-30T11:29:16Z")

</div>

\<% form\_tag :action =\> “login”, :html\_options =\> {:onClick =\> “return validate\_form(this)”} do %\> Login: \<%= text\_field\_tag :name %\> Password: \<%= password\_field\_tag :password %\> \<%= submit\_tag “SignIn” %\> \<%…

---

## [What us binding objects](https://www.ruby-forum.com/t/what-us-binding-objects/178114)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 3\
**Last updated:** [October 29, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/what-us-binding-objects/178114 "2009-10-29T14:20:28Z")

</div>

What is the usage of binding objects

---

## [Has many :through a named scope](https://www.ruby-forum.com/t/has-many-through-a-named-scope/160863)

<div class="topic-metadata">

**Author:** [@pankaj](https://www.ruby-forum.com/u/pankaj)\
**Replies:** 3\
**Last updated:** [February 20, 2009, 6:49pm UTC](https://www.ruby-forum.com/t/has-many-through-a-named-scope/160863 "2009-02-20T18:49:28Z")

</div>

class User has\_many :friendships has\_many :friends, :through =\> :friendship end class Friendship belongs\_to :user belongs\_to :friend, :class\_name =\> ‘User’ named\_scope :accepted, :conditons =\> “is\_accepted = true…

---

## [New to group - is there a FAQ?](https://www.ruby-forum.com/t/new-to-group-is-there-a-faq/159286)

<div class="topic-metadata">

**Author:** [@Keithy\_Weasel](https://www.ruby-forum.com/u/Keithy_Weasel)\
**Replies:** 3\
**Last updated:** [February 4, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/new-to-group-is-there-a-faq/159286 "2009-02-04T12:53:07Z")

</div>

Hello, avid computer programmer here. Is there a FAQ for this group? Keithy Weasel

---

## [How make attachment\_fu with 2 has\_attachment](https://www.ruby-forum.com/t/how-make-attachment-fu-with-2-has-attachment/158423)

<div class="topic-metadata">

**Author:** [@anton\_effendi](https://www.ruby-forum.com/u/anton_effendi)\
**Replies:** 3\
**Last updated:** [January 25, 2009, 5:01am UTC](https://www.ruby-forum.com/t/how-make-attachment-fu-with-2-has-attachment/158423 "2009-01-25T05:01:28Z")

</div>

Hiii I need help… I want to make upload photo with attachment\_fu… this logic is if admin has\_attachment :content\_type =\> :image, :storage =\> :file\_system, :path\_prefix =\> ‘public/photos’, :processor =\> ‘Rmagick’, …

---

## [Class variables in a model are ok to cache relatively static records within the scope of a brower ca](https://www.ruby-forum.com/t/class-variables-in-a-model-are-ok-to-cache-relatively-static-records-within-the-scope-of-a-brower-ca/158176)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [January 20, 2009, 11:44am UTC](https://www.ruby-forum.com/t/class-variables-in-a-model-are-ok-to-cache-relatively-static-records-within-the-scope-of-a-brower-ca/158176 "2009-01-20T11:44:32Z")

</div>

Hi, Class variables in a model are ok to cache relatively static records within the scope of a brower call aren’t they? That is, the results get “refreshed” effectively each browser call (i.e. per browser call, per …

---

## [RJS page.update question](https://www.ruby-forum.com/t/rjs-page-update-question/153866)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 3\
**Last updated:** [November 22, 2008, 9:41pm UTC](https://www.ruby-forum.com/t/rjs-page-update-question/153866 "2008-11-22T21:41:13Z")

</div>

How does page.update actually work? I know its a wrapper for Prototype.update but how does it get the partial in there? Say I wanted to update a div with the contents of a partial manually like this. content = render…

---

## [XML -\> Ruby mapping: is there a 'standard' approach?](https://www.ruby-forum.com/t/xml-ruby-mapping-is-there-a-standard-approach/145445)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 3\
**Last updated:** [August 10, 2008, 1:57am UTC](https://www.ruby-forum.com/t/xml-ruby-mapping-is-there-a-standard-approach/145445 "2008-08-10T01:57:06Z")

</div>

Background: I’m working on a library to read XML files and convert their contents to a set of Ruby objects. The XML files conform to an ASTM standard and there’s an XSD. The Java guys are using JAXB to generate thei…

---

## [Display website content in multilanguage](https://www.ruby-forum.com/t/display-website-content-in-multilanguage/144926)

<div class="topic-metadata">

**Author:** [@ganana\_srishti](https://www.ruby-forum.com/u/ganana_srishti)\
**Replies:** 3\
**Last updated:** [August 5, 2008, 5:44pm UTC](https://www.ruby-forum.com/t/display-website-content-in-multilanguage/144926 "2008-08-05T17:44:01Z")

</div>

Hi, how to display the website content in multilanguage… for example french and english… etc plz reply if you know any solution …

---

## [\[Bug:1.9\] context switch may occur during freeing io](https://www.ruby-forum.com/t/bug-1-9-context-switch-may-occur-during-freeing-io/143428)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 3\
**Last updated:** [July 25, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/bug-1-9-context-switch-may-occur-during-freeing-io/143428 "2008-07-25T16:57:43Z")

</div>

e$B1sF#$G$9!#e(B e$B0J2\<$N$h$&$Ke(B do\_select e$B$Ne(B blocking region e$B$Ke(B native\_thread\_yield e$B$re(B e$BF~$l$?\>e$G!"e(B Index: thread.c — thread.c (revision 18124) +++ thread.c (working copy) @@ -2004,6 +…

---

## [Problem with Ruby Multithreading](https://www.ruby-forum.com/t/problem-with-ruby-multithreading/141867)

<div class="topic-metadata">

**Author:** [@Neha\_Gupta](https://www.ruby-forum.com/u/Neha_Gupta)\
**Replies:** 3\
**Last updated:** [July 1, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/problem-with-ruby-multithreading/141867 "2008-07-01T20:08:20Z")

</div>

Hello G.s, I am trying to use threads in my RoR app. But unfortunately I came across a very strange issue. I am unable to use “finders” within my thread to read data from my database. In addition to this, the Thread…

---

## [Nil object error - not under console](https://www.ruby-forum.com/t/nil-object-error-not-under-console/141849)

<div class="topic-metadata">

**Author:** [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Replies:** 3\
**Last updated:** [July 1, 2008, 4:02am UTC](https://www.ruby-forum.com/t/nil-object-error-not-under-console/141849 "2008-07-01T04:02:41Z")

</div>

Hi there, I’m running my app using rails 2.0.2. When running the create method in my controller, I get the following error: You have a nil object when you didn’t expect it! You might have expected an instance of Ac…

---

## [How to keep up with Rails?](https://www.ruby-forum.com/t/how-to-keep-up-with-rails/140120)

<div class="topic-metadata">

**Author:** [@brianspaid](https://www.ruby-forum.com/u/brianspaid)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 7:38pm UTC](https://www.ruby-forum.com/t/how-to-keep-up-with-rails/140120 "2008-06-11T19:38:03Z")

</div>

Hello, I have a issue with Rails and the constant new versions that are coming out such as Rails 2.1. It seems that commands such as below seem to change as new versions are being released. For example the controller…

---

## [Prevent deleting foreign key](https://www.ruby-forum.com/t/prevent-deleting-foreign-key/138468)

<div class="topic-metadata">

**Author:** [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Replies:** 3\
**Last updated:** [May 23, 2008, 11:58am UTC](https://www.ruby-forum.com/t/prevent-deleting-foreign-key/138468 "2008-05-23T11:58:29Z")

</div>

I’ve a Report and ReportType. The Report has one ReportType. Now I want prevent deleting of used ReportTypes. This is my ReportType class: class ReportType \< ActiveRecord::Base validates\_presence\_of(:name); has\_many…

---

## [Pagination](https://www.ruby-forum.com/t/pagination/138308)

<div class="topic-metadata">

**Author:** [@aratnam](https://www.ruby-forum.com/u/aratnam)\
**Replies:** 3\
**Last updated:** [May 21, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/pagination/138308 "2008-05-21T23:01:44Z")

</div>

I am trying to paginate a collection on the controller and when I try to access the Paginator from view using \<%= link\_to “Previous page”, {:page =\> @list\_pages.current.previous } if @list\_pages.current.previous %\> \<%…

---

## [Database best practice question](https://www.ruby-forum.com/t/database-best-practice-question/137633)

<div class="topic-metadata">

**Author:** [@brownerthanu](https://www.ruby-forum.com/u/brownerthanu)\
**Replies:** 3\
**Last updated:** [May 16, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/database-best-practice-question/137633 "2008-05-16T21:17:01Z")

</div>

hi folks, i’d like some advice about how to approach this database “problem”. i have a website that sells products that are customizable, and are organized in lists. i can’t give the details of the actual product, b…

---

## [How to get to the beginning in irb](https://www.ruby-forum.com/t/how-to-get-to-the-beginning-in-irb/137008)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [May 8, 2008, 7:52am UTC](https://www.ruby-forum.com/t/how-to-get-to-the-beginning-in-irb/137008 "2008-05-08T07:52:56Z")

</div>

I am using OSX. I am using terminal and I use irb. After typing something I need to do p at the front. Now I need to go back to the beginning of the line and I hit left arrow key and it takes forever. I have seen peop…

---

## [Problem with direct assignment versus setter method](https://www.ruby-forum.com/t/problem-with-direct-assignment-versus-setter-method/134747)

<div class="topic-metadata">

**Author:** [@rawroe](https://www.ruby-forum.com/u/rawroe)\
**Replies:** 3\
**Last updated:** [April 16, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/problem-with-direct-assignment-versus-setter-method/134747 "2008-04-16T22:55:57Z")

</div>

Hello, I’m a newcomer to JRuby and updated my install this morning to: JDK 1.5.0 update 15 jruby-1.1RC3 To test it I found a sample (courtesy of http://www.codecommit.com/blog/java/rapid-prototyping-with-jruby): r…

---

## [Problem with link\_to\_remote](https://www.ruby-forum.com/t/problem-with-link-to-remote/132736)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 3\
**Last updated:** [March 24, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/problem-with-link-to-remote/132736 "2008-03-24T16:52:31Z")

</div>

link\_to\_remote is passing :action as id and :id as action… I have following in view… \<%= link\_to\_remote ‘Hello’, :update =\> ‘list’, :url =\> {:action =\> ‘hello’, :id =\> project.id} %\> and in log, I get this… Paramete…

---

## [Rails Messaging (INBOX) system](https://www.ruby-forum.com/t/rails-messaging-inbox-system/128897)

<div class="topic-metadata">

**Author:** [@hungryrubian](https://www.ruby-forum.com/u/hungryrubian)\
**Replies:** 3\
**Last updated:** [February 13, 2008, 11:18am UTC](https://www.ruby-forum.com/t/rails-messaging-inbox-system/128897 "2008-02-13T11:18:52Z")

</div>

Hi All… I need to implement messaging system in one of my rails applications(To say simply it must be similar to orkut messaging system). Even if i am having a rough idea on how to implement it, i need any one your g…

---

## [Structuring larger RoR projects/systems](https://www.ruby-forum.com/t/structuring-larger-ror-projects-systems/128565)

<div class="topic-metadata">

**Author:** [@jarikoister](https://www.ruby-forum.com/u/jarikoister)\
**Replies:** 3\
**Last updated:** [February 13, 2008, 10:30am UTC](https://www.ruby-forum.com/t/structuring-larger-ror-projects-systems/128565 "2008-02-13T10:30:06Z")

</div>

Hi, I am considering using RoR for a quite sizable project involving 10-15 developers. I am very experience with other technologies such as Java and C++, and I would know how to structure a system so that different d…

---

## [Ruby one liner killed my script](https://www.ruby-forum.com/t/ruby-one-liner-killed-my-script/128836)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [February 12, 2008, 2:54am UTC](https://www.ruby-forum.com/t/ruby-one-liner-killed-my-script/128836 "2008-02-12T02:54:59Z")

</div>

Talk about redundancy! I spent some time with irb with the aim of getting an understanding of methods and class building. I originally wanted to convert a binary number to denary, with input from the user. strike one…

---

## [Anyone use JEdit on Windows?](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257)

<div class="topic-metadata">

**Author:** [@Day](https://www.ruby-forum.com/u/Day)\
**Replies:** 3\
**Last updated:** [February 6, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257 "2008-02-06T17:36:43Z")

</div>

I’ve been playing with various editors for working with Ruby and I like JEdit so far with the right plugins, etc… But I am having a bit of a weird problem: I can’t seem to tell the console to associate \*.rb files with…

---

## [Questions concerning Rails MCV architecture](https://www.ruby-forum.com/t/questions-concerning-rails-mcv-architecture/127749)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/questions-concerning-rails-mcv-architecture/127749 "2008-02-01T17:42:01Z")

</div>

Hello Rails community! I’m currently designing a rails based website for my school’s magazine and since I have the ability to start from scratch I decided to start learning rails. Which may or may not have been a sill…

---

## [What are your thoughts on Engines?](https://www.ruby-forum.com/t/what-are-your-thoughts-on-engines/127143)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/what-are-your-thoughts-on-engines/127143 "2008-01-25T21:46:03Z")

</div>

Love em? Hate em? Think there are better ways? I am looking at getting involved with an open source Rails project that is currently built using Rails Engines… and I am hesitant… mostly because I don’t know enough abou…

---

## [Story runner "macros"](https://www.ruby-forum.com/t/story-runner-macros/126660)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/story-runner-macros/126660 "2008-01-25T16:27:12Z")

</div>

I’ve gotten quite a bit out of Pat M.'s screencast One thing I’m not sure of is the feature where he writes things like: When “I POST to”, “/articles”, :post =\> {:title =\> “Title”, :body =\> “Body”) do | path, params| …

---

## [Some basic questions about REST](https://www.ruby-forum.com/t/some-basic-questions-about-rest/126874)

<div class="topic-metadata">

**Author:** [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Replies:** 3\
**Last updated:** [January 23, 2008, 12:02pm UTC](https://www.ruby-forum.com/t/some-basic-questions-about-rest/126874 "2008-01-23T12:02:58Z")

</div>

I’m trying to get my head around some of the concepts of REST and I’m hoping for some clarification. Lets say I have a site with a resource called ‘books’. I understand that there should be only one controller for t…

---

## [Timeout error using Find module](https://www.ruby-forum.com/t/timeout-error-using-find-module/126588)

<div class="topic-metadata">

**Author:** [@s04bf1d5](https://www.ruby-forum.com/u/s04bf1d5)\
**Replies:** 3\
**Last updated:** [January 21, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/timeout-error-using-find-module/126588 "2008-01-21T18:23:20Z")

</div>

Hey everyone, I’m relatively new to Ruby, and am loving it! However, I’m getting some trouble trying to implement a simple search application. The idea is to search a directory (specified by the user) for a given reg.…

---

## [Purpose of "text.hash"](https://www.ruby-forum.com/t/purpose-of-text-hash/121482)

<div class="topic-metadata">

**Author:** [@douha](https://www.ruby-forum.com/u/douha)\
**Replies:** 3\
**Last updated:** [November 28, 2007, 11:37pm UTC](https://www.ruby-forum.com/t/purpose-of-text-hash/121482 "2007-11-28T23:37:47Z")

</div>

Hi, I am reading “Beginning Ruby” by Peter C… One of the methods listed on page 50 for operating on strings is “Test”.hash which returns -98625764 in the example listed. I am trying to see how this would be used. Can…

---

## [Dati dal form](https://www.ruby-forum.com/t/dati-dal-form/120863)

<div class="topic-metadata">

**Author:** [@giuseppefava](https://www.ruby-forum.com/u/giuseppefava)\
**Replies:** 3\
**Last updated:** [November 21, 2007, 11:59am UTC](https://www.ruby-forum.com/t/dati-dal-form/120863 "2007-11-21T11:59:17Z")

</div>

in un form ho : \<%= password\_field\_tag ‘user\[password\]’ %\> che fa riferimento al modello “user” e \<%= password\_field\_tag ‘password\_repeated’ %\> che Ã¨ un campo del form per controllare la digitazione della passwor…

---

## [Which OS X Tiger PPC C compiler is best to use for Ruby?](https://www.ruby-forum.com/t/which-os-x-tiger-ppc-c-compiler-is-best-to-use-for-ruby/117226)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 3\
**Last updated:** [October 15, 2007, 2:51am UTC](https://www.ruby-forum.com/t/which-os-x-tiger-ppc-c-compiler-is-best-to-use-for-ruby/117226 "2007-10-15T02:51:27Z")

</div>

I have recently started picking up Ruby again on my OSX PowerPC system. I use MacPorts to build stuff like PostgreSQL and other “system” components, and then like to build different versions of Ruby under /usr/local/…

---

## [Showing related table data in show.rhtml](https://www.ruby-forum.com/t/showing-related-table-data-in-show-rhtml/113944)

<div class="topic-metadata">

**Author:** [@Stoop](https://www.ruby-forum.com/u/Stoop)\
**Replies:** 3\
**Last updated:** [September 11, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/showing-related-table-data-in-show-rhtml/113944 "2007-09-11T20:50:35Z")

</div>

I have been following a few Rails Beginner tutorials and have been able to get a good simple app up where I have a bunch of servers and I am tracking the number of users on those servers every week. I have been able t…

---

## [Subarray using \[1,-1\] returns nil](https://www.ruby-forum.com/t/subarray-using-1-1-returns-nil/112869)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 3\
**Last updated:** [August 24, 2007, 1:56am UTC](https://www.ruby-forum.com/t/subarray-using-1-1-returns-nil/112869 "2007-08-24T01:56:10Z")

</div>

a = %w(a b c d e f g) ; puts “a.length = #{a.length}” ; b = a\[1,-1\] ; puts “b.length = #{b.length}” ; Why is array b nil after the subarray? I expect it to be equal to “a” minus the first element. Todd

---

## [Diffing tables using acts\_as\_versioned](https://www.ruby-forum.com/t/diffing-tables-using-acts-as-versioned/112053)

<div class="topic-metadata">

**Author:** [@rubylover](https://www.ruby-forum.com/u/rubylover)\
**Replies:** 3\
**Last updated:** [August 16, 2007, 2:54am UTC](https://www.ruby-forum.com/t/diffing-tables-using-acts-as-versioned/112053 "2007-08-16T02:54:47Z")

</div>

I’m looking for a solution to read and store the differences between two updates to a row in my DB. For example, if a user changes the number of hours they worked after submitting their timesheet, I want to be able to…

---

## [Joining notes to users?](https://www.ruby-forum.com/t/joining-notes-to-users/109711)

<div class="topic-metadata">

**Author:** [@indiehead](https://www.ruby-forum.com/u/indiehead)\
**Replies:** 3\
**Last updated:** [July 31, 2007, 12:19pm UTC](https://www.ruby-forum.com/t/joining-notes-to-users/109711 "2007-07-31T12:19:47Z")

</div>

hi, i’m working on an idea of mine using ruby on rails but totally stumped with the has\_many :notes, belongs\_to :users in ruby could someone explain this to me? basically every user will be able to create many notes …

---

## [Advice on Learning RoR](https://www.ruby-forum.com/t/advice-on-learning-ror/91249)

<div class="topic-metadata">

**Author:** [@xwordguy](https://www.ruby-forum.com/u/xwordguy)\
**Replies:** 3\
**Last updated:** [April 7, 2007, 1:33am UTC](https://www.ruby-forum.com/t/advice-on-learning-ror/91249 "2007-04-07T01:33:39Z")

</div>

I’m interested in learing a programing language. I have had a class in QBasic long ago, and used to program in Applesoft when I was a child. So I have the most basic knowledge of programming. Is RoR a place to jump in…

---

## [How to read back what controller I am in?](https://www.ruby-forum.com/t/how-to-read-back-what-controller-i-am-in/90438)

<div class="topic-metadata">

**Author:** [@Sean\_Lerner](https://www.ruby-forum.com/u/Sean_Lerner)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/how-to-read-back-what-controller-i-am-in/90438 "2007-03-28T21:55:24Z")

</div>

Hello, Is there a way I can determine in my .rhtml as to what controller is currently being executed? (perhaps an environment variable?) For example, if my controller is named “display”, and I put: \<%= WHATEVER\_SHOUL…

---

## [Documentation on eRuby, eRuby resources](https://www.ruby-forum.com/t/documentation-on-eruby-eruby-resources/89710)

<div class="topic-metadata">

**Author:** [@Dude](https://www.ruby-forum.com/u/Dude)\
**Replies:** 3\
**Last updated:** [March 22, 2007, 8:42am UTC](https://www.ruby-forum.com/t/documentation-on-eruby-eruby-resources/89710 "2007-03-22T08:42:46Z")

</div>

Can anyone let me know if there are any resources and documentation on eRuby available on the net ? Dude

---

## [\[ANN\] New Rails Site](https://www.ruby-forum.com/t/ann-new-rails-site/83092)

<div class="topic-metadata">

**Author:** [@Gerard\_Gualberto](https://www.ruby-forum.com/u/Gerard_Gualberto)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/ann-new-rails-site/83092 "2007-01-24T16:12:15Z")

</div>

MyPunchbowl.com is a new website that provides an easy, comprehensive, and personal way to plan an at-home party. MyPunchbowl offers an innovative user interface for every phase of planning. Hosts and guests now have …

---

## [Problem with decimal data type](https://www.ruby-forum.com/t/problem-with-decimal-data-type/71325)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [October 8, 2006, 1:03pm UTC](https://www.ruby-forum.com/t/problem-with-decimal-data-type/71325 "2006-10-08T13:03:54Z")

</div>

I ran a migration with the following: create\_table :userlevels do |t| # t.column :name, :string t.column :usertype, :string, :limit =\> 15 t.column :userlevel, :string, :limit =\> 15 t.column :price, :decimal, :precis…

---

## [C code works with rubyinline, doesn't with C extension](https://www.ruby-forum.com/t/c-code-works-with-rubyinline-doesnt-with-c-extension/68932)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 3\
**Last updated:** [September 18, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/c-code-works-with-rubyinline-doesnt-with-c-extension/68932 "2006-09-18T18:20:30Z")

</div>

So I’ve blatantly stolen some code from a perl module to do simple kerberos authentication and not being the most adept C programmer I have something I can’t figure out. The following code using rubyinline works fine.…

---

## [Carrier Phasor Slides to Zero Phase](https://www.ruby-forum.com/t/carrier-phasor-slides-to-zero-phase/98605)

<div class="topic-metadata">

**Author:** [@WaveMaker](https://www.ruby-forum.com/u/WaveMaker)\
**Replies:** 3\
**Last updated:** [July 18, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/carrier-phasor-slides-to-zero-phase/98605 "2006-07-18T19:57:04Z")

</div>

I took a 256,000 samples per second stream from the USRP and directly displayed the I/Q stream to the X/Y display of a (slightly modified) oscope.py. With a -60dBm unmodulated carrier as RF input, and with the receive…

---

## [Problem with migrations](https://www.ruby-forum.com/t/problem-with-migrations/97830)

<div class="topic-metadata">

**Author:** [@bob\_brazeau](https://www.ruby-forum.com/u/bob_brazeau)\
**Replies:** 3\
**Last updated:** [July 10, 2006, 9:53pm UTC](https://www.ruby-forum.com/t/problem-with-migrations/97830 "2006-07-10T21:53:30Z")

</div>

I am trying to start my first project after going though the Depot application in prog prog’s book. For some reason one of my migrations keeps bombing. I just try to setup a couple tables with some default informati…

---

## [SEGV by block.call](https://www.ruby-forum.com/t/segv-by-block-call/96077)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [June 27, 2006, 2:40pm UTC](https://www.ruby-forum.com/t/segv-by-block-call/96077 "2006-06-27T14:40:02Z")

</div>

e$B$I$&$be(B boron e$B$G$Ne(B SEGV e$B$,D\>$i$J$$$N$G!“e(B http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20060625T000310.txt.gz e$B$7$g$&$,$J$/e(B drb e$B$r$\_$k$3$H$K$7$F!”$J$s$H$+=L$a$F8+$^$7$?!#e(B …

---

## [Armageddon](https://www.ruby-forum.com/t/armageddon/95732)

<div class="topic-metadata">

**Author:** [@Alex\_MacCaw](https://www.ruby-forum.com/u/Alex_MacCaw)\
**Replies:** 3\
**Last updated:** [June 22, 2006, 2:02pm UTC](https://www.ruby-forum.com/t/armageddon/95732 "2006-06-22T14:02:19Z")

</div>

I’m just wondering what happened to Armageddon and whether people had any more information/news about it. I’ve thought about comet but I think that a flash socket would be easier to implement. Does Armageddon have the…

---

## [Help installing Rails app on server](https://www.ruby-forum.com/t/help-installing-rails-app-on-server/62532)

<div class="topic-metadata">

**Author:** [@Philip\_Johnston](https://www.ruby-forum.com/u/Philip_Johnston)\
**Replies:** 3\
**Last updated:** [June 6, 2006, 1:52am UTC](https://www.ruby-forum.com/t/help-installing-rails-app-on-server/62532 "2006-06-06T01:52:30Z")

</div>

Hello, I’ve been creating Rails apps on Mac OS X just fine, and I just got a hosting account with webmasters.com, which offers Rails. I uploaded an empty app, just to see if I can get the “Welcome Aboard” page. I di…

---

## [Name of action inside template](https://www.ruby-forum.com/t/name-of-action-inside-template/61603)

<div class="topic-metadata">

**Author:** [@John\_I](https://www.ruby-forum.com/u/John_I)\
**Replies:** 3\
**Last updated:** [May 26, 2006, 7:19am UTC](https://www.ruby-forum.com/t/name-of-action-inside-template/61603 "2006-05-26T07:19:01Z")

</div>

Hi all, How do I know the name of the action currently invoked inside RHTML template? I need to make a text\_field readonly when the action is ‘edit’ and readwrite when the action is ‘new’. Tq, John

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

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