FAQ

Search Discussions

366 discussions - 1,125 posts

  • Hi All, Can someone please help? I've been banging my head against for wall for 2 months; all of which has been spent trying to set up ROR. So I actually haven't written 1 line of code :( Any help ...
    KalKal
    Mar 29, 2012 at 8:07 pm
    Apr 20, 2012 at 4:47 am
  • I'm going around in circles with this one can't solve it. I have a database with a lot of Name objects in it, some have the same given name - ok fairly normal. Name given (string) gender (string) # ...
    Bingo bobBingo bob
    Mar 16, 2012 at 3:41 pm
    Apr 3, 2012 at 8:24 am
  • Hi every: I'm trying to install postgres gem but since I have latest postgres version then some problems appears. When I run gem install postgres I get this: [root@ruby-devserver 9.1]# gem install ...
    ReynierPMReynierPM
    Mar 1, 2012 at 1:27 pm
    Mar 3, 2012 at 8:31 am
  • Hi all, I have a problem at the moment and am not sure what I should do. It is in regards to relationships between tables and whether I need foreign keys. I have two tables in my database; users and ...
    Christopher JonesChristopher Jones
    Mar 7, 2012 at 1:43 pm
    Mar 8, 2012 at 2:06 am
  • I seem to have correct include path, but a lot of gems can't be loaded via "required". What could be the problem? #!/usr/bin/ruby -w require "cgi" # cant load this require "actionpack" # can not load ...
    Ruby UserRuby User
    Mar 22, 2012 at 12:35 am
    Mar 26, 2012 at 9:27 am
  • Does anybody know how to make the following code work: invoice = Invoice.select('id, date').find(1) invoice.conf_date = Date.today invoice.save As it's mentioned in guides "If the select method is ...
    ArturturikArturturik
    Mar 4, 2012 at 11:57 am
    Mar 4, 2012 at 4:36 pm
  • I have installed ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux] rails 3.2.2 gem 1.8.21 on ubuntu 10.04 when i created my first application and tried running it on server I get the following ...
    Rai MRai M
    Mar 27, 2012 at 6:04 am
    Jul 10, 2013 at 3:13 pm
  • Hey all, So I have a custom query that I embedded into a class method definition: def self.get_sum_for_range(unit_id,report1,report2) find_by_sql(["SELECT SUM(distance * 0.000621371192) as sum FROM ...
    John MerlinoJohn Merlino
    Mar 6, 2012 at 3:20 pm
    Mar 8, 2012 at 12:46 pm
  • Hey all, I'm trying to learn RoR with absolutely no programming experience following the ruby on rails essentials tutorial on lynda.com. I'm still very early in the video series and I created a new ...
    Jack cognacJack cognac
    Mar 20, 2012 at 4:54 am
    Jan 23, 2014 at 9:05 pm
  • Dear All, i am developing an application with rails 3, and now i need to generate a pdf file,i search a lot, and try a lot ,such as prawn ,PDFkit and so on, it seems that prawn is no response in ...
    Daisy DiDaisy Di
    Mar 20, 2012 at 2:12 am
    Mar 21, 2012 at 6:20 am
  • Hi all, I aspire to being a Ruby & coding Jedi like James Bond character. In reality I am more like one of the extras in Austin Powers when it comes to programing. I think it is important that before ...
    MagooguliMagooguli
    Mar 19, 2012 at 8:46 pm
    Mar 20, 2012 at 9:06 pm
  • I had developed one web application using scaffold...Application consists one controller(BOOKS). In BOOK controller 7 action are presented(new,create,show,edit,destroy,list,index)..correspondingly in ...
    Mahes karthickMahes karthick
    Mar 15, 2012 at 3:58 am
    Mar 20, 2012 at 6:14 am
  • Hi: I'm starting a simple application to learn Rails and Ruby of course. I come from PHP and frameworks like Symfony, CakePHP and CodeIgniter and some of them have a task to create DB models from ...
    ReynierpmReynierpm
    Mar 2, 2012 at 3:34 pm
    Mar 2, 2012 at 9:21 pm
  • Hello Everyone I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want to set up the 'redmine'. To install mysql gem I used -- sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc ...
    Myth17Myth17
    Mar 21, 2012 at 4:50 pm
    Mar 22, 2012 at 2:14 pm
  • Hi I am going through the Agile web development with rails 4th edition book and I am trying to modify the depot application to allow the customer to select a size before purchasing a product. What ...
    Shaban K.Shaban K.
    Mar 17, 2012 at 6:48 pm
    Mar 22, 2012 at 9:07 am
  • Hello fellow Ruby enthusiasts! Although I've been using Ruby for some time, I just started using RoR. I'm experiencing an error that I'm having trouble resolving and was hoping to find some help. I ...
    AndyLikesRubyAndyLikesRuby
    Mar 11, 2012 at 8:49 pm
    Mar 14, 2012 at 9:58 pm
  • Rails 3.1.3 I have models and their association like, Video 1: -------- n: Script When users newly create a Video, I want it to create the very first Script entry together. I have put @script = ...
    Soichi IshidaSoichi Ishida
    Mar 7, 2012 at 9:02 am
    Mar 11, 2012 at 6:26 am
  • Thanks in advance for any help on this. I would like to search my DB for records using a Model.where request... Using jquery I have access to the text within the select option chosen from a drop box. ...
    AbramAbram
    Mar 1, 2012 at 12:44 pm
    Mar 6, 2012 at 3:23 pm
  • Hello, I have two tables with association HABM, projects and users, and in projects I want to show all users that was associated to the project. I have try with this: <%= select( "user", "id", ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Mar 5, 2012 at 9:00 pm
    Mar 6, 2012 at 8:32 am
  • Hi, I am a bit of a rails novice and trying to work this out. Been tearing my hair out over this for a long time. I have 2 models that I am working on at the moment. The idea is that Teams have many ...
    JKnegtelJKnegtel
    Mar 1, 2012 at 12:44 pm
    Mar 4, 2012 at 9:48 pm
  • Why this doesn't work? <%= link_to 'in english', :locale = 'en' if I18n.locale != 'en' % And how to make it work? -- Posted via http://www.ruby-forum.com/. -- You received this message because you ...
    Fresh MixFresh Mix
    Mar 3, 2012 at 5:50 pm
    Mar 4, 2012 at 12:06 pm
  • Good evening. I've consulted wikis, old threads, forums, everything, in order to understand/find a way to deploy RoR with minimum effort. I've developed it using WebBrick to check functionality; now ...
    JaJa
    Mar 28, 2012 at 10:56 pm
    Mar 29, 2012 at 8:44 pm
  • hi, im getting tired on this one. i want to replace all forwardslashes with backwardslashes. irb: r = "C:/RAILS/" r.gsub("/", "\\") or r.gsub("/") {('\'} both give me: "C:\\RAILS\\" how can i use ...
    Aaron SchmitzAaron Schmitz
    Mar 23, 2012 at 10:36 am
    Mar 26, 2012 at 12:49 pm
  • Hi Folks, I want a form in a rails 3.0.10 app with form_for exactly I have 3 models @apple, @basket, @table class Apple belongs_to :tables belongs_to: baskets end class Basket belongs_to :tables ...
    Cluter VipicCluter Vipic
    Mar 21, 2012 at 12:27 am
    Mar 23, 2012 at 5:51 pm
  • hi I have installed ruby 1.9.3p125 (2012-02-16) [i386-mingw32] rails 3.2.2 windows 7 I have tried to create a rails project by using the command from command line rails new firstapp the following is ...
    Rai MRai M
    Mar 17, 2012 at 2:01 pm
    Mar 17, 2012 at 4:04 pm
  • Hi I am new to computer programming wanting to learn ROR. Few questions that I have 1.Is it necessary to learn java before I learn ROR 2.Which stable version of ruby,gems and rails that I need to ...
    Rai MRai M
    Mar 14, 2012 at 9:54 pm
    Mar 15, 2012 at 7:34 pm
  • = Fri, 14 Mar 1902 01:20:12 +0000 Today is the 13th of march. So why is it returning 14th? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To ...
    John MerlinoJohn Merlino
    Mar 14, 2012 at 1:30 am
    Mar 15, 2012 at 7:12 pm
  • So this whole many-to-many thing has me really confused. I get how to set it up but I can't seem to find anywhere that really explains the best way to use it in your controller. *What I have:* ...
    Brandon MightBrandon Might
    Mar 1, 2012 at 12:30 pm
    Mar 2, 2012 at 9:11 am
  • I have an ActiveRecord that has several foreign keys, where the foreign keys act as a single compound key that needs to be unique: class CreateRelations < ActiveRecord::Migration def change ...
    Fearless FoolFearless Fool
    Mar 22, 2012 at 7:35 pm
    Apr 4, 2012 at 7:39 am
  • Hi, I'm having trouble with a simple users-messages setup, where users can send messages to other users. Here's my class definition: class Message < ActiveRecord::Base belongs_to :from_user, ...
    Jenna_sJenna_s
    Mar 31, 2012 at 8:28 pm
    Apr 3, 2012 at 5:41 am
  • I am trying to run this test setup do @comment = comments(:hello) @comment.commenter = "cleb" @comment.body = "hello" @comment.user_id = 1 end test "should create comment" do ...
    Neil ByeNeil Bye
    Mar 27, 2012 at 12:19 pm
    Mar 28, 2012 at 7:30 pm
  • For a project I used the gem 'event_calendar'. However, there were a couple things I had to manually change within the gem source to suit my needs. How would I go about to deploy this in production ...
    CC
    Mar 21, 2012 at 2:46 am
    Mar 21, 2012 at 11:56 pm
  • Nunca tive contato antes com Ruby on Rails. Temos um servidor aqui no serviço que foi configurado para receber aplicações Ruby. Na máquina local, o site estava funcionando perfeitamente. Agora existe ...
    EvandroEvandro
    Mar 15, 2012 at 7:05 pm
    Mar 20, 2012 at 1:53 am
  • I currently have these 3 search methods in my rails model, they are all the same apart from which field they search (take a look at the 5th line inside each method). def self.search(*args) return [] ...
    Christopher JonesChristopher Jones
    Mar 13, 2012 at 12:54 pm
    Mar 13, 2012 at 4:47 pm
  • Hi guys (and gals), The code formatting is so nice on SO.com, so I thought I'd just share my post in hopes that someone from the group can help. ...
    AbramAbram
    Mar 10, 2012 at 9:13 pm
    Mar 12, 2012 at 1:52 pm
  • I'm using Authlogic with Rails 3.0 and I'm having an issue where my users can't login. I have a customer model and a user model and in production my customer login works, but my user login doesn't ...
    YellowreignYellowreign
    Mar 7, 2012 at 5:29 am
    Mar 8, 2012 at 6:28 pm
  • Hey Everyone, Seeking a ROCKSTAR rubyist to provide instruction, guidance & code review for a smart, ambitious and eager student who wants to learn the BASICS & critical BEST PRACTICES from the best ...
    KishaKisha
    Mar 8, 2012 at 2:57 am
    Mar 8, 2012 at 5:05 pm
  • I have a couple of session parameters set in a Controller which I want to use in a different Controller. Which is the cleanest way to do this? I did quite a bit of Googling but could not come up with ...
    Myth17Myth17
    Mar 8, 2012 at 2:38 pm
    Mar 8, 2012 at 4:05 pm
  • When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do ...
    Moises zaragozaMoises zaragoza
    Mar 7, 2012 at 8:11 pm
    Mar 8, 2012 at 3:35 pm
  • maybe this forum is not the ideal place for this question, but does anyone know how to track email statistics? such as clicks, delete, spam report. -- You received this message because you are ...
    Marcelo G. SilvaMarcelo G. Silva
    Mar 5, 2012 at 12:37 pm
    Mar 5, 2012 at 9:39 pm
  • The security fix announcement today sent to the rubyonrails-security group implied that Rails 2.3 is no longer supported. Is that the case? Did I miss an announcement somewhere? Is there a list of ...
    Paul E. G. LynchPaul E. G. Lynch
    Mar 1, 2012 at 9:15 pm
    Apr 15, 2012 at 4:39 am
  • I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this error: $ sudo gem install rails ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: rails ...
    Paulo CassianoPaulo Cassiano
    Mar 31, 2012 at 3:00 am
    Apr 2, 2012 at 9:06 pm
  • hi everyone i wanna use in_place_editor_field i've installed the Plug- in and when i'm trying to use it. <%= in_place_editor_field :subject, :credit_hour % i have added this line in view part and ...
    Honey rubyHoney ruby
    Mar 16, 2012 at 6:46 am
    Mar 17, 2012 at 6:34 am
  • I prefer to create my own authentication, but it adds an extra day or two to my work load (tests take the most time). Although this time keeps shrinking with every new app I start. I don't like the ...
    Mohamad El-HusseiniMohamad El-Husseini
    Mar 14, 2012 at 1:03 pm
    Mar 15, 2012 at 1:14 pm
  • Hi People, Im running the seed.rd for the countries from here: https://github.com/wdblair/Rails-Seed-All-Countries-and-All-States/downloads the author states that the file is UTF. When I execute the ...
    MaxusMaxus
    Mar 6, 2012 at 5:34 pm
    Mar 13, 2012 at 8:59 am
  • Hi I want one controller action to invoke another action in another controller, but I don't want the overhead of a redirect_to response which then generates another request to the correct action and ...
    Pieter HugoPieter Hugo
    Mar 8, 2012 at 11:47 am
    Mar 9, 2012 at 1:44 pm
  • Rails 3.1.3 Hi. I thank you for your help all the time. I had a table User (or I might have named 'Users' rather, but my recollection is unclear). Since I chose to use devise rather than a plain user ...
    Soichi IshidaSoichi Ishida
    Mar 8, 2012 at 3:32 am
    Mar 8, 2012 at 7:16 am
  • Hi I know with javascript we can validate the input of a form on the client, is there an easy way to specify this in rails? I am thinking the javascript code getting generated using some sort of DSL? ...
    Dev GuyDev Guy
    Mar 4, 2012 at 10:08 pm
    Mar 6, 2012 at 3:22 pm
  • I am presented with this error in my code, the line number happens to be -- Filestore.create(:filename = uploaded_file.original_filename , :fileblob = uploaded_file.open, :bunch = @current_bunch ) ...
    Myth17Myth17
    Mar 5, 2012 at 1:23 pm
    Mar 5, 2012 at 7:16 pm
  • Hi: I'm trying to run rails server and I get this error: [root@ruby-devserver config]# rails server /usr/local/rvm/gems/ruby-1.9.3-p125/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': ...
    ReynierpmReynierpm
    Mar 2, 2012 at 6:05 am
    Mar 4, 2012 at 12:00 pm
Group Navigation
period‹ prev | Mar 2012 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions366
posts1,125
users279
websiterubyonrails.org
irc#RubyOnRails

279 users for March 2012

William H. H.: 258 posts Colin Law: 104 posts Walter Lee Davis: 35 posts Javier Quarite: 27 posts Peter Vandenabeele: 21 posts Michael Pavling: 20 posts Reynierpm: 20 posts Myth17: 19 posts Yan shi: 15 posts John Merlino: 13 posts Aaron Schmitz: 12 posts Amvis: 12 posts Honey ruby: 12 posts Abram: 11 posts Morozov Maksim: 11 posts Craig White: 10 posts Kisha M Richardson: 10 posts Nosretep: 10 posts Agis A.: 9 posts Frederick Cheung: 9 posts
show more