# Rails

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

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

---

## [Restart\_apache asking for ssl password](https://www.ruby-forum.com/t/restart-apache-asking-for-ssl-password/132205)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 1\
**Last updated:** [March 18, 2008, 5:08am UTC](https://www.ruby-forum.com/t/restart-apache-asking-for-ssl-password/132205 "2008-03-18T05:08:47Z")

</div>

I am trying to run cap\_restart apache and it’s asking for the pass phrase of my ssl certificate. The problem is it leaves me no way to enter the pass phrase. Anyone else experience this or know any work arounds? \[mys…

---

## [Can't find the partial](https://www.ruby-forum.com/t/cant-find-the-partial/132222)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 4\
**Last updated:** [March 18, 2008, 3:53am UTC](https://www.ruby-forum.com/t/cant-find-the-partial/132222 "2008-03-18T03:53:06Z")

</div>

I have a simple ajax request that should return a partial, but for some reason I am continually told that it is not there. I have modified the partial location to other partials that do work fine elsewhere and it sti…

---

## [Can Ruby/Rails be the de facto n-tier platform in future IT shops?](https://www.ruby-forum.com/t/can-ruby-rails-be-the-de-facto-n-tier-platform-in-future-it-shops/132207)

<div class="topic-metadata">

**Author:** [@ric](https://www.ruby-forum.com/u/ric)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 3:42am UTC](https://www.ruby-forum.com/t/can-ruby-rails-be-the-de-facto-n-tier-platform-in-future-it-shops/132207 "2008-03-18T03:42:42Z")

</div>

Can Ruby/Rails be scaled to replace the traditional corporate n-tier paradigm: database server \<---- java/beans —\> application server \<---- browser GUI? One example would be: Oracle \<— Java (ejb) —\> IBM Websphere \<-…

---

## [Order of after\_create callbacks](https://www.ruby-forum.com/t/order-of-after-create-callbacks/132213)

<div class="topic-metadata">

**Author:** [@jfaulkenberry](https://www.ruby-forum.com/u/jfaulkenberry)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 3:05am UTC](https://www.ruby-forum.com/t/order-of-after-create-callbacks/132213 "2008-03-18T03:05:35Z")

</div>

if I define this in a model: after\_create :process, :secondary\_processing can I assume that the callbacks are called in that particular order? first process, then the secondary\_processing. Thanks, Jonzo.

---

## [Converting DateTime to unix time?](https://www.ruby-forum.com/t/converting-datetime-to-unix-time/132202)

<div class="topic-metadata">

**Author:** [@shaish](https://www.ruby-forum.com/u/shaish)\
**Replies:** 11\
**Last updated:** [March 18, 2008, 2:50am UTC](https://www.ruby-forum.com/t/converting-datetime-to-unix-time/132202 "2008-03-18T02:50:49Z")

</div>

thnx in advance…

---

## [Select\_date](https://www.ruby-forum.com/t/select-date/132190)

<div class="topic-metadata">

**Author:** [@subhadip](https://www.ruby-forum.com/u/subhadip)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 2:47am UTC](https://www.ruby-forum.com/t/select-date/132190 "2008-03-18T02:47:59Z")

</div>

actually i have one select\_date tag…i choose one date from there. and then write query related to this…but the query is not run…please provide some simple code of view and controller.very urgent…

---

## [Rake error,?](https://www.ruby-forum.com/t/rake-error/132108)

<div class="topic-metadata">

**Author:** [@casid](https://www.ruby-forum.com/u/casid)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 2:45am UTC](https://www.ruby-forum.com/t/rake-error/132108 "2008-03-18T02:45:48Z")

</div>

Hello RoR Developers I got tiny problem with rakefile, require ‘gettext/utils’ require ‘gettext/rails’ desc “Update pot/po files to match new version.” task :updatepo do TEXT\_DOMAIN = “myapp” APP\_VERSION = “my…

---

## [Dependent =\> destroy without primary key?](https://www.ruby-forum.com/t/dependent-destroy-without-primary-key/132195)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 2:37am UTC](https://www.ruby-forum.com/t/dependent-destroy-without-primary-key/132195 "2008-03-18T02:37:12Z")

</div>

Hi- Can this be done? When I destroy the master, I get an SQL error: ActiveRecord::StatementInvalid (Mysql::Error: Unknown column ‘id’ in ‘where clause’: DELETE FROM votes WHERE id = NULL ): This is be…

---

## [NoMethodError (...occurred while evaluating nil.split)](https://www.ruby-forum.com/t/nomethoderror-occurred-while-evaluating-nil-split/132221)

<div class="topic-metadata">

**Author:** [@immortalnights](https://www.ruby-forum.com/u/immortalnights)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 1:10am UTC](https://www.ruby-forum.com/t/nomethoderror-occurred-while-evaluating-nil-split/132221 "2008-03-18T01:10:15Z")

</div>

I am getting a NoMethodError, with the following decription: You have a nil object when you didn’t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.split The error is r…

---

## [Help needed with collection\_select](https://www.ruby-forum.com/t/help-needed-with-collection-select/132220)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 1\
**Last updated:** [March 18, 2008, 12:48am UTC](https://www.ruby-forum.com/t/help-needed-with-collection-select/132220 "2008-03-18T00:48:37Z")

</div>

I’m trying to get a collection select list to work, but I’m getting this error: missing attribute: state\_code The code is a select list for states. \<%= collection\_select(:states\_code, :state, states.states\_list, :sta…

---

## [How would I construct this validation rule?](https://www.ruby-forum.com/t/how-would-i-construct-this-validation-rule/132211)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 18, 2008, 12:15am UTC](https://www.ruby-forum.com/t/how-would-i-construct-this-validation-rule/132211 "2008-03-18T00:15:27Z")

</div>

Hi, I have a column, “store\_id” in my users table that could be blank, but otherwise it must be numeric. If someone does decide to enter a number, I want to ensure that number is unique relative to other store\_id’s …

---

## [RJB in Rails - setting JAVA\_HOME correctly in environment.rb](https://www.ruby-forum.com/t/rjb-in-rails-setting-java-home-correctly-in-environment-rb/74124)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 12:02am UTC](https://www.ruby-forum.com/t/rjb-in-rails-setting-java-home-correctly-in-environment-rb/74124 "2008-03-18T00:02:31Z")

</div>

All, I am attempting to use RJB (Java-Ruby Bridge - see: http://arton.no-ip.info/collabo/backyard/?RubyJavaBridge) in my Rails app. The documentation says: “Both LD\_LIBRARY\_PATH and JAVA\_HOME setting required in env…

---

## [Problems installing WSF-Ruby](https://www.ruby-forum.com/t/problems-installing-wsf-ruby/132217)

<div class="topic-metadata">

**Author:** [@ljd520](https://www.ruby-forum.com/u/ljd520)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 11:29pm UTC](https://www.ruby-forum.com/t/problems-installing-wsf-ruby/132217 "2008-03-17T23:29:30Z")

</div>

Hi all, I am trying to use RoR to consume some webservices provided via SOAP, WSDL, UDDI and XML from a Java EJB application server. Looking at some info on the net I choose to use WSF-Ruby rather than ActionWebServi…

---

## [Installing libxml-ruby under windows](https://www.ruby-forum.com/t/installing-libxml-ruby-under-windows/132212)

<div class="topic-metadata">

**Author:** [@der\_guido](https://www.ruby-forum.com/u/der_guido)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 11:00pm UTC](https://www.ruby-forum.com/t/installing-libxml-ruby-under-windows/132212 "2008-03-17T23:00:00Z")

</div>

Hi IÂ´ve tried to many times on differnet ways to install libxml-ruby under windows. What I tried IÂ´m using instantrails as enviroment… ok after “gem install libxml-ruby” my rails-app gave me the error no such fil…

---

## [TextMate bundle problems with generators](https://www.ruby-forum.com/t/textmate-bundle-problems-with-generators/132210)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/textmate-bundle-problems-with-generators/132210 "2008-03-17T22:41:34Z")

</div>

i’ve got the new peepcode episode on using textmate with rails 2. i used git to get the bundle and reloaded everything, but now when i use the command to pull up the generator window, it acts like it works fine and as…

---

## [Converting DateTime to unix time?](https://www.ruby-forum.com/t/converting-datetime-to-unix-time/132203)

<div class="topic-metadata">

**Author:** [@shaish](https://www.ruby-forum.com/u/shaish)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/converting-datetime-to-unix-time/132203 "2008-03-17T21:49:35Z")

</div>

Thnx.

---

## [Is\_type\_of and is\_a\_category\_for vs: belongs\_to and has\_many](https://www.ruby-forum.com/t/is-type-of-and-is-a-category-for-vs-belongs-to-and-has-many/132173)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/is-type-of-and-is-a-category-for-vs-belongs-to-and-has-many/132173 "2008-03-17T21:46:08Z")

</div>

Hello experts, I wonder if I’m the only one who is running into this conceptual stumbling block… Suppose I have a database of documents, and I want to categorize the documents. I can model this as: class document\_c…

---

## [Encoding system](https://www.ruby-forum.com/t/encoding-system/131932)

<div class="topic-metadata">

**Author:** [@jef](https://www.ruby-forum.com/u/jef)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/encoding-system/131932 "2008-03-17T20:36:28Z")

</div>

Hi , By default encoding system is UTF-8 for ROR request and ajax request. How to change the encoding for this both type of request? Thanks

---

## [Delete\_all multiple conditions](https://www.ruby-forum.com/t/delete-all-multiple-conditions/132194)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 1\
**Last updated:** [March 17, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/delete-all-multiple-conditions/132194 "2008-03-17T20:25:23Z")

</div>

Hello, I’m trying to use a delete\_all method to kill some information in my database. Where my model is ‘prov’, my code is: Prov.delete\_all(\[“created\_at \< ?”, @currenttime\],\[“bill\_cycle\_date == ?”, @cycle\_date\]) Bas…

---

## [Changing base url](https://www.ruby-forum.com/t/changing-base-url/132192)

<div class="topic-metadata">

**Author:** [@shaish](https://www.ruby-forum.com/u/shaish)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/changing-base-url/132192 "2008-03-17T20:04:54Z")

</div>

hey, my rails app is viewed in a frame of another site. My problem is that because of that all my links and redirects move my site out of the frame and present the links on their own…I’ll try to explain better: Lets …

---

## [Changing path\_prefix and layout](https://www.ruby-forum.com/t/changing-path-prefix-and-layout/132176)

<div class="topic-metadata">

**Author:** [@railsirrigation](https://www.ruby-forum.com/u/railsirrigation)\
**Replies:** 1\
**Last updated:** [March 17, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/changing-path-prefix-and-layout/132176 "2008-03-17T19:50:11Z")

</div>

Im a newbie with rails and could use some guidance. This is what I am doing. I have 3 distinct sections of a client site. Each having products, troubleshooting and a downloads. I want to use the same controllers fo…

---

## [Problems creating a simple auth, please help](https://www.ruby-forum.com/t/problems-creating-a-simple-auth-please-help/132182)

<div class="topic-metadata">

**Author:** [@ReK2](https://www.ruby-forum.com/u/ReK2)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 7:35pm UTC](https://www.ruby-forum.com/t/problems-creating-a-simple-auth-please-help/132182 "2008-03-17T19:35:59Z")

</div>

Hi, I am new to ruby/rails. learning fast but still getting stuck on key places… so I have a db and a column called email and crypt one is obviously the email of the users and the other the password column. so I hav…

---

## [Collection\_select](https://www.ruby-forum.com/t/collection-select/132188)

<div class="topic-metadata">

**Author:** [@subhadip](https://www.ruby-forum.com/u/subhadip)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/collection-select/132188 "2008-03-17T19:27:32Z")

</div>

i write the collection code. \<%= collection\_select(:info, :id, @infos, :id, :user\_id, options ={:prompt =\> “-Select a payment”}, :class =\>“info”) %\> which take user\_id from database and show it properly…now i will wan…

---

## [Windows and Linux differences](https://www.ruby-forum.com/t/windows-and-linux-differences/132128)

<div class="topic-metadata">

**Author:** [@boothy](https://www.ruby-forum.com/u/boothy)\
**Replies:** 4\
**Last updated:** [March 17, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/windows-and-linux-differences/132128 "2008-03-17T19:01:44Z")

</div>

How hard or what would be the differences in learning and developing Ruby on a Windows computer then hosting on Linux, since Linux is the most common and economical way to host ie would there be a lot of code conversi…

---

## [Trouble with rails 2.0.2 and routes](https://www.ruby-forum.com/t/trouble-with-rails-2-0-2-and-routes/131982)

<div class="topic-metadata">

**Author:** [@Bert\_Rapp](https://www.ruby-forum.com/u/Bert_Rapp)\
**Replies:** 1\
**Last updated:** [March 17, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/trouble-with-rails-2-0-2-and-routes/131982 "2008-03-17T18:33:57Z")

</div>

I recently upgraded to rails 2.0.2. I’ve been using this route: map.connect ‘things/search/param1,:param1/param2,:param2/ param3,:param3/param4,:param4/param5,:param5/page,:page’, :controller =\> ‘search’, :action =\> …

---

## [Date](https://www.ruby-forum.com/t/date/132145)

<div class="topic-metadata">

**Author:** [@subhadip](https://www.ruby-forum.com/u/subhadip)\
**Replies:** 1\
**Last updated:** [March 17, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/date/132145 "2008-03-17T18:18:32Z")

</div>

i use select\_date tag in ruby…please help to write some simple query in controller related to this select\_date tag…

---

## [Rails, WML and Videos](https://www.ruby-forum.com/t/rails-wml-and-videos/132179)

<div class="topic-metadata">

**Author:** [@dicouw](https://www.ruby-forum.com/u/dicouw)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/rails-wml-and-videos/132179 "2008-03-17T18:06:10Z")

</div>

Hello everybody, I was asking myself if there is a way to stream videos on mobile phone (using Windows mobile - not iphone), Two possibilities : Playing videos using flash or something else directly on the IE brows…

---

## [Rails with PHPBB forums... How to do it](https://www.ruby-forum.com/t/rails-with-phpbb-forums-how-to-do-it/132009)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 2\
**Last updated:** [March 17, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/rails-with-phpbb-forums-how-to-do-it/132009 "2008-03-17T17:24:06Z")

</div>

Hi, I like Ruby on rails for my web development, and I like PHPBB forums as well. I think wordpress, Jhoomla and PHPBB forms are the best thing happed to PHP community. And Rails is the best inspiration for all. I …

---

## [SOAP-RPC with attachment how?](https://www.ruby-forum.com/t/soap-rpc-with-attachment-how/132174)

<div class="topic-metadata">

**Author:** [@KTU](https://www.ruby-forum.com/u/KTU)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/soap-rpc-with-attachment-how/132174 "2008-03-17T17:07:29Z")

</div>

Hi Any idea what’s the best way to send out xml file as attachment to SOAP-RPC web service ? I have server running SOAP-RPC service on port 7135 and what I know so far is that it expects XML file as attachment when …

---

## [Ruby on Rails with Hibernate](https://www.ruby-forum.com/t/ruby-on-rails-with-hibernate/131253)

<div class="topic-metadata">

**Author:** [@iSiSiS](https://www.ruby-forum.com/u/iSiSiS)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-with-hibernate/131253 "2008-03-17T16:56:54Z")

</div>

Hi! We are having this Java application that uses Hibernate to store and persist the data model. We now want to create a second application that is much like an admin tool for this data. In order to have a “safe” acc…

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

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