# Rails

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

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

---

## ["incompatible character encodings: ASCII-8BIT and UTF-8"](https://www.ruby-forum.com/t/incompatible-character-encodings-ascii-8bit-and-utf-8/191321)

<div class="topic-metadata">

**Author:** [@unit](https://www.ruby-forum.com/u/unit)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/incompatible-character-encodings-ascii-8bit-and-utf-8/191321 "2010-07-09T15:58:57Z")

</div>

Hi! Just started to learn Rails, and I get this error when i’m trying to make a simple forum-app (much like the screencast about making a blog in 15min at rubyonrails.org). This appears when I try to render a partial …

---

## [Text\_field value doubt](https://www.ruby-forum.com/t/text-field-value-doubt/191318)

<div class="topic-metadata">

**Author:** [@nazimzeeshan](https://www.ruby-forum.com/u/nazimzeeshan)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/text-field-value-doubt/191318 "2010-07-09T15:41:41Z")

</div>

\<%= f.text\_field :item, :value =\> Date.today %\> above code displays todays date in item text field. I want to display the parameter thr(search string)…somthin lik \<%= f.text\_field :item, :value =\> params\[:search\_strin…

---

## [Rails Live Project](https://www.ruby-forum.com/t/rails-live-project/191317)

<div class="topic-metadata">

**Author:** [@the-lar](https://www.ruby-forum.com/u/the-lar)\
**Replies:** 3\
**Last updated:** [July 9, 2010, 3:30pm UTC](https://www.ruby-forum.com/t/rails-live-project/191317 "2010-07-09T15:30:03Z")

</div>

Hello This is sateesh, presently i am learning rails.Presently i have assigned to Rails Real time Project. I am little bit confusing about how to start to understanding of Real Time project. i.e How do i will easil…

---

## [RoR Sphinx-search (on Windows Xp) Guidance Request](https://www.ruby-forum.com/t/ror-sphinx-search-on-windows-xp-guidance-request/191297)

<div class="topic-metadata">

**Author:** [@ashu](https://www.ruby-forum.com/u/ashu)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 3:25pm UTC](https://www.ruby-forum.com/t/ror-sphinx-search-on-windows-xp-guidance-request/191297 "2010-07-09T15:25:52Z")

</div>

Hui all, i am trying to implement sphinx search (on Windows Xp) engine in my app. nut it fails in the several point i don’t know the actual procedure . Can anyone help me on this to implement sphinx-search (on Wind…

---

## [Ruby on rails and android](https://www.ruby-forum.com/t/ruby-on-rails-and-android/191246)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 13\
**Last updated:** [July 9, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-android/191246 "2010-07-09T15:18:24Z")

</div>

How to develop rails application in android mobile applications

---

## [Validating XML against XSD](https://www.ruby-forum.com/t/validating-xml-against-xsd/132538)

<div class="topic-metadata">

**Author:** [@raghu](https://www.ruby-forum.com/u/raghu)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 3:16pm UTC](https://www.ruby-forum.com/t/validating-xml-against-xsd/132538 "2010-07-09T15:16:19Z")

</div>

Hi Folks, I got into a pitch hole when during the development stage of my project when I came across a scenario where in I had to validate an XML against and XSD.After a hell lot of googling, I couldnt really manage …

---

## [Best Version Plugin/Gem for our App](https://www.ruby-forum.com/t/best-version-plugin-gem-for-our-app/191310)

<div class="topic-metadata">

**Author:** [@debadatta](https://www.ruby-forum.com/u/debadatta)\
**Replies:** 3\
**Last updated:** [July 9, 2010, 3:12pm UTC](https://www.ruby-forum.com/t/best-version-plugin-gem-for-our-app/191310 "2010-07-09T15:12:03Z")

</div>

Hi all, I am wondering which version of plugin or gem should be more trustable for my application. How we can know? Thanks in advance

---

## [Non Database](https://www.ruby-forum.com/t/non-database/191257)

<div class="topic-metadata">

**Author:** [@rubyginner](https://www.ruby-forum.com/u/rubyginner)\
**Replies:** 11\
**Last updated:** [July 9, 2010, 2:48pm UTC](https://www.ruby-forum.com/t/non-database/191257 "2010-07-09T14:48:23Z")

</div>

Hi, I am looking at using Ruby in an application that, as well as having the usual database will also need to interface to real-time data using tftp. Is it possible to do this within RoR? Where do I start? Thanks A…

---

## [STI vs Polymoric](https://www.ruby-forum.com/t/sti-vs-polymoric/191311)

<div class="topic-metadata">

**Author:** [@debadatta](https://www.ruby-forum.com/u/debadatta)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 1:36pm UTC](https://www.ruby-forum.com/t/sti-vs-polymoric/191311 "2010-07-09T13:36:55Z")

</div>

Hi all, I am also which one will be better STI or polymorphic for my app. thanks in advance

---

## [Search logic doubt.plz help](https://www.ruby-forum.com/t/search-logic-doubt-plz-help/191307)

<div class="topic-metadata">

**Author:** [@nazimzeeshan](https://www.ruby-forum.com/u/nazimzeeshan)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 1:33pm UTC](https://www.ruby-forum.com/t/search-logic-doubt-plz-help/191307 "2010-07-09T13:33:59Z")

</div>

i am having some products in a database(mysql) n i have done the scaffolding and added a search. So when i search, if product found then it shud display it and if not found it shud redirect to create page. Here is d …

---

## [Hidden\_field vs. form\_for Parameter](https://www.ruby-forum.com/t/hidden-field-vs-form-for-parameter/191295)

<div class="topic-metadata">

**Author:** [@punkrockgeekboy](https://www.ruby-forum.com/u/punkrockgeekboy)\
**Replies:** 2\
**Last updated:** [July 9, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/hidden-field-vs-form-for-parameter/191295 "2010-07-09T12:26:05Z")

</div>

Hi, I have a question regarding the best way to do the following: Given I have a Parent model that has many Child models, and the “show” page for the parent model allows the user to create a new Child, which is prefe…

---

## [Outputting a rails url to javascript](https://www.ruby-forum.com/t/outputting-a-rails-url-to-javascript/191031)

<div class="topic-metadata">

**Author:** [@Tig](https://www.ruby-forum.com/u/Tig)\
**Replies:** 6\
**Last updated:** [July 9, 2010, 10:24am UTC](https://www.ruby-forum.com/t/outputting-a-rails-url-to-javascript/191031 "2010-07-09T10:24:55Z")

</div>

Hi, I’m working on a rails/google maps app, where makers on the map show ‘places’. I would like to be able to put a link into each marker’s infowindow that will take the user to the ‘show’ action for that place (ie. …

---

## [\[ANN\] plugin: has\_many\_booleans](https://www.ruby-forum.com/t/ann-plugin-has-many-booleans/191299)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 9:24am UTC](https://www.ruby-forum.com/t/ann-plugin-has-many-booleans/191299 "2010-07-09T09:24:02Z")

</div>

has\_many\_booleans is an ActiveRecord plugin which generates virtual boolean attributes for a model. When the object gets saved, the plugin transforms all attributes into a single integer, using a bitset. So you can ea…

---

## [Google app - gdata4ruby](https://www.ruby-forum.com/t/google-app-gdata4ruby/191207)

<div class="topic-metadata">

**Author:** [@adil](https://www.ruby-forum.com/u/adil)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 9:24am UTC](https://www.ruby-forum.com/t/google-app-gdata4ruby/191207 "2010-07-09T09:24:01Z")

</div>

Hi, I am integrating google app -docs and calender and for that I am using authsub API and gem gdata .My existing user will sign up with google account for google service so I need to sent custom variable like use…

---

## [Doesn't work erb engine](https://www.ruby-forum.com/t/doesnt-work-erb-engine/191050)

<div class="topic-metadata">

**Author:** [@karen\_k](https://www.ruby-forum.com/u/karen_k)\
**Replies:** 17\
**Last updated:** [July 9, 2010, 8:20am UTC](https://www.ruby-forum.com/t/doesnt-work-erb-engine/191050 "2010-07-09T08:20:14Z")

</div>

I’m new in RoR:) I have controller and view (/app/controllers/greeting\_controller.rb and /app/views/greeting/index.rhtml /.erb/.html.erb - doesn’t match). greeting\_controller.rb source: class GreetingController \< App…

---

## [View Path and Plugins](https://www.ruby-forum.com/t/view-path-and-plugins/191171)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 3\
**Last updated:** [July 9, 2010, 6:01am UTC](https://www.ruby-forum.com/t/view-path-and-plugins/191171 "2010-07-09T06:01:23Z")

</div>

I have a plugin. I want to include some baseline views for the app code to “just use” – meaning no need to copy files into /app, and no need to specify a path in the controller. Is that possible? If I have to add some…

---

## [Simple routing problem](https://www.ruby-forum.com/t/simple-routing-problem/191125)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 2:00am UTC](https://www.ruby-forum.com/t/simple-routing-problem/191125 "2010-07-09T02:00:23Z")

</div>

I’ve got the following in config\\routes.rb: map.resources :users In app\\views\\shared\_menu.erb, I’ve got: Please sign in \<%= link\_to “here”, :controller=\>“user”, :action=\>“sign\_in” -%\> In app\\controllers\\users\_contr…

---

## [How to Find Good Ruby on Rails Freelancers and Developers](https://www.ruby-forum.com/t/how-to-find-good-ruby-on-rails-freelancers-and-developers/191292)

<div class="topic-metadata">

**Author:** [@radrecruiter](https://www.ruby-forum.com/u/radrecruiter)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 1:49am UTC](https://www.ruby-forum.com/t/how-to-find-good-ruby-on-rails-freelancers-and-developers/191292 "2010-07-09T01:49:51Z")

</div>

I’m looking to start a discussion on how to find good Ruby on Rails Developers. Can anyone lead me in the right direction? Ruben Zaragoza

---

## [\[JOBS\] Ruby on Rails Developer](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer/191291)

<div class="topic-metadata">

**Author:** [@David\_Christensen](https://www.ruby-forum.com/u/David_Christensen)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer/191291 "2010-07-08T23:41:40Z")

</div>

We are assisting a client with their search for a RoR Developer. They are located in San Mateo, CA and would prefer hiring a full time resource but would consider a contractor, as well. They are well funded and offe…

---

## [Rails3 -- Replacement for ActionController::Base.relative\_url\_root?](https://www.ruby-forum.com/t/rails3-replacement-for-actioncontroller-base-relative-url-root/191290)

<div class="topic-metadata">

**Author:** [@donktwo](https://www.ruby-forum.com/u/donktwo)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/rails3-replacement-for-actioncontroller-base-relative-url-root/191290 "2010-07-08T23:41:05Z")

</div>

I have a post on stackoverflow which outlines the problem I am having: ruby on rails - What is the replacement for ActionController::Base.relative\_url\_root? - Stack Overflow In short, I ported a rails 2.x to rails3 and…

---

## [\[Rails3b4\] Route globbing](https://www.ruby-forum.com/t/rails3b4-route-globbing/191288)

<div class="topic-metadata">

**Author:** [@johnb](https://www.ruby-forum.com/u/johnb)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 10:51pm UTC](https://www.ruby-forum.com/t/rails3b4-route-globbing/191288 "2010-07-08T22:51:54Z")

</div>

I’m trying out globbing for the first time, I have the route match ‘\*path’ =\> ‘request#dispatch’ defined and a scaffolded request controller with dispatch method and accompanying scaffolded default view yet I get; A…

---

## [My web app seed data and cucumber](https://www.ruby-forum.com/t/my-web-app-seed-data-and-cucumber/191287)

<div class="topic-metadata">

**Author:** [@costi](https://www.ruby-forum.com/u/costi)\
**Replies:** 3\
**Last updated:** [July 8, 2010, 10:29pm UTC](https://www.ruby-forum.com/t/my-web-app-seed-data-and-cucumber/191287 "2010-07-08T22:29:52Z")

</div>

I’m writing a web app which is used a SaS. Each customer has their own db and app directory. I have a rake task which creates all necessary minimum data to run their website: default rights and roles, a superadmin use…

---

## [Rails on BSD](https://www.ruby-forum.com/t/rails-on-bsd/191277)

<div class="topic-metadata">

**Author:** [@Mrbass21](https://www.ruby-forum.com/u/Mrbass21)\
**Replies:** 2\
**Last updated:** [July 8, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/rails-on-bsd/191277 "2010-07-08T22:19:48Z")

</div>

I had this problem too. After searching all day I found a solution. On BSD you need to have a converter installed. /usr/ports/converters/ruby-iconv/ sudo make install clean However, that did not solve the problem for…

---

## [Send\_file from URL?](https://www.ruby-forum.com/t/send-file-from-url/191280)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 3\
**Last updated:** [July 8, 2010, 9:35pm UTC](https://www.ruby-forum.com/t/send-file-from-url/191280 "2010-07-08T21:35:47Z")

</div>

hi - i have a URL of an image (on cloud storage) and I want to send the file from a request. I do not want to redirect because I want to conceal the cloud URL. So I want to do something like: send\_file “http://www……

---

## [Linking API derived data to my application's database](https://www.ruby-forum.com/t/linking-api-derived-data-to-my-applications-database/191272)

<div class="topic-metadata">

**Author:** [@mattb](https://www.ruby-forum.com/u/mattb)\
**Replies:** 2\
**Last updated:** [July 8, 2010, 8:51pm UTC](https://www.ruby-forum.com/t/linking-api-derived-data-to-my-applications-database/191272 "2010-07-08T20:51:17Z")

</div>

Hi guys, Given a page that retrieves data from a 3rd party API, how would you then go about associating additional info in the application’s database with that record? Specifically, the page displays info on a produc…

---

## [Google Adsense](https://www.ruby-forum.com/t/google-adsense/191279)

<div class="topic-metadata">

**Author:** [@Ainar\_A](https://www.ruby-forum.com/u/Ainar_A)\
**Replies:** 5\
**Last updated:** [July 8, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/google-adsense/191279 "2010-07-08T20:05:37Z")

</div>

What steps are needed to integrate Google Adsense in Ruby on Rails app? Just copy and paste of adsense code will not work…, hope somene have done it before…, Regards

---

## [Need clarification](https://www.ruby-forum.com/t/need-clarification/191274)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/need-clarification/191274 "2010-07-08T19:39:51Z")

</div>

hi i have a Project & Task model. ######## Project model has that additional method: def self.lasttask(project, sort=“DESC”) Task.find(:first, :conditions=\>\['project\_id = ? ', project.id\], :order =\> “somedate #{sor…

---

## [Simple question about submit](https://www.ruby-forum.com/t/simple-question-about-submit/191107)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 11\
**Last updated:** [July 8, 2010, 7:02pm UTC](https://www.ruby-forum.com/t/simple-question-about-submit/191107 "2010-07-08T19:02:39Z")

</div>

It’s such a simple question … and I can’t find an answer. When I put up a form and I have a submit button … cleary when the user clicks on it a uri is generated. What is that uri? In other words … what method in whic…

---

## [Paperclip polymorfic problem with :styles](https://www.ruby-forum.com/t/paperclip-polymorfic-problem-with-styles/191249)

<div class="topic-metadata">

**Author:** [@dries](https://www.ruby-forum.com/u/dries)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 6:14pm UTC](https://www.ruby-forum.com/t/paperclip-polymorfic-problem-with-styles/191249 "2010-07-08T18:14:56Z")

</div>

I made a model Picture that is polymorfic but I want to specify specific :styles for each model that use Picture. http://pastie.org/1034662 I don’t know how to this, I used lambda for this but he doesn’t know the da…

---

## [Paypal Integration](https://www.ruby-forum.com/t/paypal-integration/191259)

<div class="topic-metadata">

**Author:** [@debadatta](https://www.ruby-forum.com/u/debadatta)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 5:39pm UTC](https://www.ruby-forum.com/t/paypal-integration/191259 "2010-07-08T17:39:12Z")

</div>

Hi all I want to integrate Paypal in my rails application … How to do it please give me some idea for IPN.

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

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