FAQ

Search Discussions

300 discussions - 1,031 posts

  • Directly I apologize for my English - I used the automatic translator. If there is a possibility, find the person, knowing Russian better, it will translate you correctly the text. Address to ...
    Sergey EzhovSergey Ezhov
    Apr 23, 2012 at 5:57 am
    Apr 27, 2012 at 2:00 pm
  • I am newbie working railspace application, its going smoothly. :)getting something much better in this. I developed code for login logout and registration and code is working fine but as i am running ...
    Amir Z.Amir Z.
    Apr 25, 2012 at 7:39 am
    May 1, 2012 at 8:16 am
  • Hi all, I have setup a ROR environment on my server and once i generate a controller with a few actions in it and put a basic message in each action within the controller rb file also editing the ...
    Paul NaPaul Na
    Apr 7, 2012 at 3:36 pm
    Apr 7, 2012 at 9:00 pm
  • For some reason (most likely in my view due to naming conventions) rails association is not working. Trying to access child object from parent object gives undefined method. *Routes.rb:* * * ...
    Vikram AnandVikram Anand
    Apr 8, 2012 at 11:48 am
    Apr 9, 2012 at 4:09 pm
  • Hello I have two tables: Lawyer and Phone. Phone is separated into area code and number. A lawyer has many phones. I want to produce a query which searches for lawyers who have a phone matching a ...
    Rafael C. de AlmeidaRafael C. de Almeida
    Apr 24, 2012 at 1:56 am
    Apr 25, 2012 at 1:36 pm
  • class BranchesController < ApplicationController def branch @branch = Branch.new (params[:branch]) branch_back = @branch.*branch* end end in the model have one *branch.rb* class Branch def branch end ...
    AmvisAmvis
    Apr 21, 2012 at 5:22 am
    Apr 23, 2012 at 7:45 am
  • Hi All, It is my understanding that there are 3 environments built-in to Rails (Test, Development[default], Production). Can someone please explain exactly how you switch between them (specially ...
    KalKal
    Apr 18, 2012 at 3:02 am
    Apr 19, 2012 at 12:41 am
  • Hi All, Re: Upgrading to Rails 3 I am working on a rails application I need to upgrade to the latest version of Ruby and Ruby on Rails. It is currently using: Ruby version 1.8.7 and Ruby on Rails ...
    Gurdipe DosanjhGurdipe Dosanjh
    Apr 6, 2012 at 7:35 pm
    Apr 8, 2012 at 12:47 pm
  • Hi guys, I must be missing something obvious with pessimistic locking. Here is what I do (Rails 2.3, mySQL): In my Foo model: def test Foo.transaction do lock = ...
    PierreWPierreW
    Apr 2, 2012 at 10:33 pm
    Nov 21, 2012 at 10:30 pm
  • Hi there, I have Ajax Pagination (sort of) working on my Ruby on Rails Project. However my problem is, is that it repeats each page x number of times, x being equal to the amount of records I have on ...
    Antony ShimminAntony Shimmin
    Apr 7, 2012 at 7:07 pm
    Apr 7, 2012 at 8:59 pm
  • Hi, I have two models, Page and MenuItem, where Page belongs_to MenuItem . When I delete a page I need to delete also its MenuItem, and vice versa. The problema is that I can't put a :dependent = ...
    Serafino PicozziSerafino Picozzi
    Apr 2, 2012 at 4:26 pm
    Apr 3, 2012 at 8:40 am
  • Hi Folks, I developed an application using Rails 3.1.3. I would like to deploy it on bluehost(I have one account there) I tried hard to do it, but I could'nt deploy it. Does anyone know how to deploy ...
    Bruno MeiraBruno Meira
    Apr 27, 2012 at 4:45 am
    Apr 27, 2012 at 2:42 pm
  • I am newbie to rail. Trying to develop social networking site so working with railspace application. Everything is working fine but I stuck in the problem when i am giving the authorization tocken to ...
    Amir Z.Amir Z.
    Apr 25, 2012 at 7:34 am
    Apr 25, 2012 at 1:04 pm
  • Hi all, I have a app with the /tests/new location which renders the add new form. This all works perfectly so when i fill the form in it goes straight into the db but i want the form to store the ...
    Paul NaPaul Na
    Apr 21, 2012 at 11:03 am
    Apr 22, 2012 at 1:50 pm
  • I'm trying to run some functional tests on Rails. However I am coming up with the following error. RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, ...
    Sherpa derpaSherpa derpa
    Apr 9, 2012 at 2:10 pm
    Apr 9, 2012 at 9:14 pm
  • How to use web to show/display locate folder. Thanks, -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" ...
    CC ChenCC Chen
    Apr 6, 2012 at 4:03 am
    Apr 8, 2012 at 5:43 pm
  • Hello, good day! This is a rather intricate question coming from a not so experienced ruby on rails user. Let's get to it: I am developing an app that has users, authors, microposts and tags. I want ...
    Marcos KorodyMarcos Korody
    Apr 17, 2012 at 12:35 pm
    Apr 3, 2014 at 6:06 am
  • I have been having trouble install Rails from the terminal on my new MacBook. I have tried to find a solution on both google and youtube, but I have not find a solution to the problem $ rails -v ...
    Sixxvirus sixxvirusSixxvirus sixxvirus
    Apr 19, 2012 at 2:15 am
    Apr 24, 2012 at 10:26 am
  • Hi guys, I just started using Ruby on Rails. After implementing the RoR blog tutorial I started with my own data model. Sadly I am not able to get my create page running. Model: class Activity < ...
    Julian P.Julian P.
    Apr 14, 2012 at 12:18 pm
    Apr 14, 2012 at 3:00 pm
  • Hi! I'm a swedish university student (Masters) and this summer I will probably not have an ordinary summer job, but instead work on some of my own projects. These will probably not fill my time so ...
    Linus PetterssonLinus Pettersson
    Apr 5, 2012 at 4:20 pm
    Apr 10, 2012 at 8:01 pm
  • I'm trying to get the ruby debugger working and can't seem to get there. Environment summary: Mac OS X Lion RVM Ruby 1.9.3p125 Rails 3.2.3 Rspec 2.9.0 I've put the debugger statement in my controller ...
    David PaschichDavid Paschich
    Apr 8, 2012 at 12:44 am
    Apr 9, 2012 at 6:14 pm
  • I am inheriting a legacy PHP website and I want to add a few Rails pages. Is there anyone who can recommend some info on how to add RoR to a PHP-driven website? Ralph Shnelvar -- You received this ...
    Ralph ShnelvarRalph Shnelvar
    Apr 6, 2012 at 7:53 pm
    Apr 7, 2012 at 11:27 pm
  • Hi all, I install Ruby1.9.2po0 and Rails3.2.3 on RedHat5 When I create a project "rails nwe chapter" It show below error message: ************************************************************* ...
    CC ChenCC Chen
    Apr 4, 2012 at 1:30 pm
    Apr 5, 2012 at 10:34 pm
  • Working thru a Rails tutorial... Can anyone tell me why the first example uses braces and the second example uses parentheses? Is it because 1st example is a hash literal, second is not? u = ...
    Dave CastellanoDave Castellano
    Apr 25, 2012 at 6:21 pm
    Apr 30, 2012 at 10:21 pm
  • Hi, when I run the following code get this error C:\RakeTest rake rake aborted! C:/RakeTest/rakefile.rb:2: syntax error, unexpected tDOT3, expecting $end any help would be greatly appreciated ...
    Brian mrBrian mr
    Apr 13, 2012 at 8:10 pm
    Apr 23, 2012 at 7:04 pm
  • I have an application where user sets his/her preferred date/time format. User is expected to enter datetime in his preferred format across the application. Now the problem is for few formats the ...
    Amit PatelAmit Patel
    Apr 17, 2012 at 3:11 am
    Apr 17, 2012 at 5:20 pm
  • Hi, I'm trying to select record as follows: @course = CourseDate.find_all_by_date_and_canceled_time(Date.today,nil) records with todays date but those where the canceled_time is empty, the above find ...
    Dani DaniDani Dani
    Apr 13, 2012 at 11:01 pm
    Apr 14, 2012 at 12:17 pm
  • Rails 2.3.2, Ruby 1.9.3 I want to get all records for one month from charges table. recs = Charge.where(["date = ? and date < ?", t.beginning_of_month, t.next_month.beginning_of_month]) and this ...
    Damjan RemsDamjan Rems
    Apr 12, 2012 at 8:36 am
    Apr 12, 2012 at 12:44 pm
  • Please Im trying to create an application where i can post like twitter, but i was the users name to be posted under their respective posts My Post_controller looks like this def index @posts = ...
    Deee elDeee el
    Apr 10, 2012 at 9:31 am
    Apr 10, 2012 at 12:11 pm
  • Hi All, I'm in the process of once again researching Rails payment gateways for a couple of my production sites. I wanted to gather opinions and thoughts on what you all are using, and why you may or ...
    Joel DezenzioJoel Dezenzio
    Apr 5, 2012 at 12:47 pm
    Apr 9, 2012 at 7:51 pm
  • I want to develop code for web sites that I want to sell into a niche market. So how can I protect the RoR code? So let's say that I have two websites: www.sample-x.com and www.sample-y.com ...
    Ralph ShnelvarRalph Shnelvar
    Apr 9, 2012 at 2:45 pm
    Apr 9, 2012 at 5:10 pm
  • I am new to Ruby and to Rails (using Ruby 1.9.3 and Rails 3.2.3) so I picked up the Agile Web Development book and have been working through it (apologies if this isn't the correct place for this ...
    Lucas J.Lucas J.
    Apr 7, 2012 at 11:14 pm
    Nov 1, 2013 at 11:37 am
  • We want to use SQL/active record for logging but limit the table size so that older messages disappear off of the table Some process has to run periodically to do that. Suppose I want to keep my ...
    JedrinJedrin
    Apr 27, 2012 at 3:23 pm
    Apr 30, 2012 at 9:04 pm
  • Please see the attached images. I installed Ruby on a PC running Windows Server 2008 R2. I also installed Rails and it worked. Now I am doing the same on another PC with same OS, but it giving error ...
    Rubyist RohitRubyist Rohit
    Apr 28, 2012 at 9:46 am
    Apr 28, 2012 at 4:43 pm
  • I am working with railspace social networking application. I did login logout registration process in it but as i am introducing the concept for remember me then stuck in the problem. it is showing ...
    Amir Z.Amir Z.
    Apr 25, 2012 at 7:14 am
    Apr 26, 2012 at 12:24 pm
  • Following 2 statements look identical to me, however the first one returns only one object but the second one returns correctly an array of 4 objects. What is happening here is simple, I get all the ...
    Ankur JainAnkur Jain
    Apr 20, 2012 at 12:49 am
    Apr 21, 2012 at 2:30 pm
  • I was trying to create a radio button in scaffold form but got error here is the form codes- <%= form_for(@value) do |f| % <% if @value.errors.any? % <div id="error_explanation" <h2 <%= ...
    Padmoja RoyPadmoja Roy
    Apr 20, 2012 at 1:12 am
    Apr 20, 2012 at 4:10 pm
  • I have: = form_tag document_template_sessions_path, :id = "document_template_session_frm", :remote = true do In the controller I have: class DocumentTemplateSessionsController < ApplicationController ...
    MauroMauro
    Apr 14, 2012 at 10:48 am
    Apr 17, 2012 at 8:56 pm
  • @user = User.find_by_user_name(user_name) if !@user.business_admins.nil? puts "Am here" @business_admin = @user.business_admins[0] end class User < ActiveRecord::Base has_many :business_admins end ...
    AmvisAmvis
    Apr 12, 2012 at 2:49 pm
    Apr 13, 2012 at 8:06 am
  • I'm doing RSpec controller testing with CanCan authorization, and I'm seeing something I've never seen in RSpec before: the same test run twice fails on the second one. I am NOT doing before(:all) or ...
    Fearless FoolFearless Fool
    Apr 5, 2012 at 9:54 pm
    Apr 6, 2012 at 4:03 pm
  • I have the following two models and am not quite sure how they should be associated. - Car - CarWashStation At any given time, an instance of Car will be at (belong to?) one of a dozen car wash ...
    Mark 01Mark 01
    Apr 4, 2012 at 9:39 pm
    Apr 5, 2012 at 5:17 pm
  • I am trying to build a rails app I wrote in JRuby. When I run bundle install it errors out on yajl-ruby trying to build it as a native extension. I think it must have some dependency with a different ...
    JedrinJedrin
    Apr 2, 2012 at 6:42 pm
    Apr 4, 2012 at 11:11 pm
  • I keep getting the following error: NoMethodError in Students#show undefined method `student_accounts_path' for #<#Class:0x007ffe2bf6d688 :0x007ffe2c5e5628 I am trying to implement a has_one model. I ...
    Ayesha fernandoAyesha fernando
    Apr 1, 2012 at 1:05 am
    Apr 2, 2012 at 4:49 am
  • Hi everyone! we have been working on phrase <https://phraseapp.com , a project around the i18n gem. It provides the ability to translate a website using in-place edit. If you have ever developed a ...
    Manuel BoyManuel Boy
    Apr 6, 2012 at 10:13 am
    Jan 9, 2013 at 2:21 am
  • Rails 3.1.3 I have tables User = has_many :contribution Contribution = belongs_to :user in user.rb, I would like to define a method to compute the total contribution (sum of field 'price:integer' ) ...
    Soichi IshidaSoichi Ishida
    Apr 30, 2012 at 8:03 am
    Apr 30, 2012 at 8:55 am
  • Hi! I need some help, my partner and I have hired an app development company to create an iPhone app that allows shops to list their inventory and advertise their specials, there is also a back end ...
    EmanresuEmanresu
    Apr 27, 2012 at 1:57 pm
    Apr 28, 2012 at 8:37 am
  • Hi all, I have this method which, ideally, I would like to work in such a way as I pass in three string values, the first is the name of the object I am trying to instantiate, the second a string ...
    Shandy NantzShandy Nantz
    Apr 23, 2012 at 4:32 pm
    Apr 27, 2012 at 8:55 pm
  • I have left my ruby books at home. I am looking at some code that has stuff like use Rack::Flash and some other more complex statements similar to that. I am not sure what "use" does and it is too ...
    JedrinJedrin
    Apr 10, 2012 at 2:47 pm
    Apr 25, 2012 at 2:27 pm
  • Hi, Could somebody please show me a way to find, and display multiple regex matches in the same line? Like this: test_string = "I shot the Sherrif but I didn't shot the Deputy." # The word I would ...
    LorenLoren
    Apr 23, 2012 at 2:30 pm
    Apr 23, 2012 at 4:58 pm
  • Hi I'm a new programmer and not familiar with Ruby on Rails. My first project is to convert a software written in RoR into a .net framework. Is it possible to convert/migrate the software into Visual ...
    Scott L.Scott L.
    Apr 20, 2012 at 4:24 pm
    Apr 20, 2012 at 8:46 pm
Group Navigation
period‹ prev | Apr 2012 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions300
posts1,031
users184
websiterubyonrails.org
irc#RubyOnRails

184 users for April 2012

Vitali R.: 340 posts Colin Law: 127 posts Frederick Cheung: 28 posts Amvis: 27 posts Walter Lee Davis: 22 posts Hassan Schroeder: 16 posts Jedrin: 16 posts Kal: 16 posts Michael Pavling: 14 posts Gurdipe Dosanjh: 12 posts Juan Pablo Avello: 11 posts Ralph Shnelvar: 11 posts Matt Jones: 9 posts Abram: 8 posts IAmNan: 8 posts Javier Quarite: 8 posts Luis Lavena: 8 posts YogiZoli: 8 posts Erwin: 7 posts Jeff Kyzer: 7 posts
show more