Search Discussions

157 discussions - 448 posts

  • hi! i am trying to add database field to a model without model regeneration. i have added my field to migration scripts class CreateUsers < ActiveRecord::Migration def change create_table :users do ...
    Valentin KotelnitskiValentin Kotelnitski
    Aug 12, 2013 at 3:26 pm
    Aug 13, 2013 at 8:20 pm
  • So far, I've been using RSpec for testing my Rails apps simply because that's what railstutorial.org emphasizes. However, I am in the process of trying out Cucumber. I like the fact that it's in ...
    Jason Hsu, Android developerJason Hsu, Android developer
    Aug 22, 2013 at 9:29 pm
    Sep 8, 2013 at 7:37 pm
  • Here is my sample code: class Foo Bar = 10 end Foo::Bar # = 10 Foo::Bar.class # = Fixnum 10.class # = Fixnum Float::NAN # = NaN Float::NAN.class # = Float NaN.class # uninitialized constant NaN ...
    Love U RubyLove U Ruby
    Aug 27, 2013 at 10:20 am
    Aug 27, 2013 at 4:17 pm
  • Hello again ruby community! I just learned how to add two arrays(I know, i know). My program looked like this array1=[1,2,3] array2=[4,5,6] array_sum=array1+array2 I thought pretty simple stuff, they ...
    Alex FroelichAlex Froelich
    Aug 29, 2013 at 8:31 pm
    Aug 30, 2013 at 2:04 am
  • Looking through the asset pipeline documentation, I was able to make everything work as expected. Really nice!! However, not for images that we are loading using a variable (i.e., wine.picture) which ...
    Nick KhamisNick Khamis
    Aug 8, 2013 at 7:08 pm
    Oct 1, 2013 at 2:22 am
  • require 'json' str = "1=2,3=(4=5,6=7)" new_str = str.gsub(/=|\(|\)/) do |m| if m == "=" m= "= " elsif m == "(" m = "{" else m = "}" end end new_str = new_str.prepend("{") << "}" # = "{1= 2,3= {4= ...
    Love U RubyLove U Ruby
    Aug 26, 2013 at 7:42 pm
    Aug 27, 2013 at 7:55 am
  • Hi i tried content_tag inside content_tag bu its not working <%= content_tag(:h1,"Arrange"+content_tag(:span,"Demo"))% i want like this type <h1 Arrange <span Demo</span </h1 plz help. bye -- You ...
    Aug 13, 2013 at 11:50 am
    Aug 19, 2013 at 2:02 pm
  • We are seeking an assistant software developer to support our development Experience of Ruby and Rails, PostgreSQL, coffeescript, jquery would be be preferential and Java for Android would be ...
    Kévin EtienneKévin Etienne
    Aug 23, 2013 at 5:27 pm
    Oct 29, 2014 at 9:50 pm
  • I'm porting an old rails app to Rails 4 and got stumped tonight on time conversions. This worked: Loading development environment (Rails 2.3.18) = "08/14/2013 07:09PM" = Wed Aug 14 19:09:00 UTC 2013 ...
    Aug 18, 2013 at 9:19 am
    Aug 22, 2013 at 3:47 pm
  • The models: class User has_many :institution_memberships belongs_to :account after_create :set_default_membership def set_default_membership if institution_memberships.empty? ...
    masta Blastamasta Blasta
    Aug 1, 2013 at 2:56 pm
    Aug 6, 2013 at 2:47 pm
  • Hi people, I need some help here. I'm new to ROR, and is following the guideline on "Getting started with rails". The inputs have been accurate and are running well until section: "5.1 Laying down ...
    Jenson LuJenson Lu
    Aug 9, 2013 at 10:34 am
    Aug 10, 2013 at 8:44 am
  • Hi i need a help, I am using paperclip to deal with images. My new need is to merge image which is stored in s3 with another png image so i will get a new image and this merged image have to be saved ...
    Manoj M.Manoj M.
    Aug 13, 2013 at 6:50 am
    Dec 12, 2013 at 4:35 am
  • Hi, I'm with a very basic doubt in MVC in RoR. I'm new at RoR, I had never developed an app in Rails since the beggining, just few things separately. I want to have a sign in page, like the first ...
    Rita FerreiraRita Ferreira
    Aug 31, 2013 at 10:18 pm
    Sep 7, 2013 at 10:58 pm
  • Dear all, I am developing a web harvesting server which requires regularly website parsing. Since I use Mac 10.8 as my development environment, I try to use Launchd to routinely wake up my parser. My ...
    Shawn h.Shawn h.
    Aug 29, 2013 at 10:33 am
    Aug 29, 2013 at 7:05 pm
  • Hi, I created a join table and am having trouble figuring out how to query it... create_table "minisections_questions", :id = false, :force = true do t.integer "minisection_id" t.integer ...
    Dave CastellanoDave Castellano
    Aug 15, 2013 at 6:53 pm
    Aug 19, 2013 at 10:47 pm
  • Hi, I'm having a bit of aggro getting Unicorn and Nginx setup to where Uncorn.rb actually loads. Second prob is getting Nginx to properly recognize the new app listed as server in nginx.conf Does ...
    Exel DevExel Dev
    Aug 10, 2013 at 8:39 am
    Aug 14, 2013 at 12:20 pm
  • Hi, I am following this post * http://www.sitepoint.com/ruby-social-gems-linkedin/* for using linked gem and API for getting profile and other stuff But at the end I am getting this error: = Booting ...
    Rekha BenadaRekha Benada
    Aug 29, 2013 at 7:48 pm
    Sep 5, 2013 at 5:56 am
  • Hello! I now have a VPS and I've been playing with it a bit. It is running Debian 7.0. I'm wondering how to set up my environment to deploy a Rails 4 app. I'd like to use Nginx with Passenger, ...
    Chris PetersonChris Peterson
    Aug 28, 2013 at 10:55 pm
    Sep 2, 2013 at 3:27 pm
  • Hi guys when I execute the piece of code bellow on RoR console it works fine: url = URI.parse("https://us1.api.mailchimp.com/2.0/helper/ping") request = Net::HTTP::Post.new(url.path) http = ...
    Paulo CastroPaulo Castro
    Aug 29, 2013 at 12:33 pm
    Aug 30, 2013 at 2:14 pm
  • Hi Ruby on Rails community! I am trying to write a program that uses the .match command to find out if a string contains a certain word-then using that information write a conditional statement. The ...
    Alex FroelichAlex Froelich
    Aug 29, 2013 at 2:43 pm
    Aug 29, 2013 at 5:48 pm
  • Im trying to submit a rails remote form in a bootstrap popover, but it keeps processing as html. There are no js errors, controller responds to js and i have a create.js.erb. Can someone please point ...
    Thomas DragsbækThomas Dragsbæk
    Aug 9, 2013 at 10:35 am
    Aug 25, 2013 at 9:52 am
  • Hi, I'm new in RoR, I need some help in the following situation: I have 2 controllers, clinica and consultas. Clinica is my default controller. On /views/clinica, I have the index.html.erb default of ...
    Rita FerreiraRita Ferreira
    Aug 23, 2013 at 5:27 pm
    Aug 23, 2013 at 6:52 pm
  • Hi Often when I build sites I need some way to track visits to specific pages. For instance I need to see what Artists are the most popular so I can let my users sort based on popularity. I have used ...
    Linus PetterssonLinus Pettersson
    Aug 17, 2013 at 9:04 pm
    Aug 21, 2013 at 6:23 am
  • Hi everyone, new to the group, new to programing and most certainly new to RoR (so forgive me if this questions is stupid) Last week I started to take the RoR course at onemonthrails.com and I've ...
    Diego SchmunisDiego Schmunis
    Aug 15, 2013 at 7:17 pm
    Aug 19, 2013 at 4:29 am
  • hello friends, i am using twitter bootstrap css designing framwork.. is there other framework like bootstrap.. please suggest..... -- You received this message because you are subscribed to the ...
    Mukul sahariaMukul saharia
    Aug 8, 2013 at 8:08 pm
    Aug 9, 2013 at 10:35 am
  • Hello guys I have gathered some interview questions with answers in my Blog. http://technoscrum.blogspot.in/2013/07/ruby-on-rails-interview-questions.html Hope people here will found this helpful ...
    Aug 2, 2013 at 9:47 am
    Aug 2, 2013 at 10:38 am
  • Hey all, we recently ported to Rails 4.0 from 3.2.13 with our application and were really excited about the new ActionController::Live functionalities. Part of our application is a ...
    Maximilian BuschMaximilian Busch
    Aug 15, 2013 at 7:17 pm
    Apr 2, 2014 at 12:46 pm
  • Hi, I am a newbie to Ruby. I have installed and set up Netbeans in windows 7. I have created a new project but i am not able to see Gemfile in the project tree view. can some one help me. thanks ...
    Vijay BhargavVijay Bhargav
    Aug 30, 2013 at 4:31 pm
    Sep 3, 2013 at 1:18 pm
  • Hello folks I got that error Pls tell me what's wrong frozen? is defined by ActiveRecord -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To ...
    Tsolmon NarantsogtTsolmon Narantsogt
    Aug 30, 2013 at 12:33 pm
    Aug 30, 2013 at 1:24 pm
  • Hello folks. I'm new in Ruby also ROR. I installed oracle intant client and test it it works fine. Now I wanna connect to oracle db. But its got some error. like this *custom_require.rb:36:in ...
    Tsolmon NarantsogtTsolmon Narantsogt
    Aug 29, 2013 at 8:25 am
    Aug 29, 2013 at 9:31 am
  • I have had the same issue. It does not always reproduce, but I have a machine that runs into it at least once a day. ruby 1.9.2p136 gettimeofday is being called as fast as possible, using up 99% of a ...
    Daniel WeberDaniel Weber
    Aug 27, 2013 at 10:48 pm
    Aug 28, 2013 at 8:11 pm
  • In my server log, I am seeing this error message that is raised in activesupport. 2013-08-12T23:06:08.932580+00:00 app[web.2]: SyntaxError ...
    Aug 22, 2013 at 8:57 am
    Aug 28, 2013 at 6:53 pm
  • Hi, How to use Devise Gem in rails? What basic configuration is required for that? I did it but getting so many errors one after other How to use Devise Gem with Oauth2.0? Thanks -- You received this ...
    Rekha BenadaRekha Benada
    Aug 22, 2013 at 4:35 pm
    Aug 26, 2013 at 8:10 pm
  • This is an exciting opportunity with a major UK Broadcast and media agency who have an opening for a Senior Ruby Developer to help out on a new project for the next 3 months. The developer needs to ...
    Victoria BradfordVictoria Bradford
    Aug 21, 2013 at 6:26 am
    Aug 26, 2013 at 10:12 am
  • wouldn't it be more efficient to have a generator ask for column names and types and indexes in a prompt? or easier at least. It would be nice to also have ncurses menus for that. -- You received ...
    Joe Le BrechJoe Le Brech
    Aug 21, 2013 at 9:42 am
    Aug 22, 2013 at 1:38 pm
  • Greets! I was wondering if there might be any pitfalls I should be aware of in order to create a domain based white label app. By that I mean, a single app that will change the layout/css/routes of ...
    Rick SchmittyRick Schmitty
    Aug 15, 2013 at 12:43 pm
    Aug 16, 2013 at 8:02 pm
  • I get this error Just that error on a white screen and nothing else. How do I debug this? I googled for similar error but all of them are dated and deal with browser specfic issue with Safari but for ...
    Aug 6, 2013 at 8:44 am
    Oct 9, 2013 at 6:59 pm
  • Hi, Looking an expert in Ruby on Rails for maintaining & implementing new concepts and optimization of our website. For more details write back. Regards, Arun M Thrillophilia.com ...
    Arun MArun M
    Aug 27, 2013 at 9:42 pm
    Sep 2, 2013 at 9:35 am
  • I'm having an issue with Puma, it fails when it tries to restart itself. When this happens it kills all the Puma processes, resulting in nginx delivering a 502 Bad Gateway to our users. I'm able to ...
    Rob DanielsRob Daniels
    Aug 29, 2013 at 9:51 pm
    Aug 30, 2013 at 12:47 pm
  • The documentation is very straight forward and the mentioned example also cleared all the lines except the one mentioned inside **. http://ruby-doc.org/core-2.0.0/Module.html#method-i-module_function ...
    Love U RubyLove U Ruby
    Aug 29, 2013 at 7:16 pm
    Aug 30, 2013 at 5:38 am
  • Hi all, I have created a form to insert new records (see "Selección_001.png") with two mandatory fields ("name" and "surname") but if I try to insert a blank record (so it is invalid) I get the two ...
    Jorge C.Jorge C.
    Aug 29, 2013 at 8:03 pm
    Aug 29, 2013 at 9:02 pm
  • i trying to create an asset management app. i am working through the ruby on rails 4.0 guide by Michael Hartl but in his guide it shows edit page for authenticated users i do not needthis function as ...
    Pez acidePez acide
    Aug 27, 2013 at 10:05 pm
    Aug 29, 2013 at 5:05 pm
  • Hi, I am trying to add linkedin login feature in my rails application using omniauth gem..I used omniauth gem for Fb login and it's working fine..but it's not working for linkedin login this is my ...
    Rekha BenadaRekha Benada
    Aug 26, 2013 at 8:39 pm
    Aug 27, 2013 at 5:05 am
  • Boa tarde pessoal, Queria saber se existe alguma forma de enviar uma impressão direta para a impressora padrão sem abrir o gerenciador de impressão do navegador ? -- Alcelyo R Mariz Bacharel em ...
    Alcelyo RobertoAlcelyo Roberto
    Aug 23, 2013 at 4:40 pm
    Aug 23, 2013 at 6:01 pm
  • hi!! I am a newbie in ROR. I have two models Post has_many :Comment Comment belongs_to :Post the error displays when I try to save a comment related to certain post. I get the following error ...
    Ank k.Ank k.
    Aug 22, 2013 at 7:56 pm
    Aug 22, 2013 at 8:08 pm
  • Hello, I have a Rails application with a default time zone of UTC. This works fine for almost everything. Now I have a situation where I would like to present the values in a datetime_select offset ...
    Andrew HavensAndrew Havens
    Aug 22, 2013 at 8:57 am
    Aug 22, 2013 at 7:23 pm
  • Hi all, I am getting this bellow error This is my code(method): def self.generate_normal_report(batch_ids) batches = Batch.find(:all,:conditions = {:id = batch_ids},:select = "id") batches.each do ...
    Keerthi priyaKeerthi priya
    Aug 19, 2013 at 6:54 pm
    Aug 21, 2013 at 1:26 pm
  • My Doppler Value Investing site (http://www.dopplervalueinvesting.com) uses Ruby on Rails and a Postgres database. There are two important parts: the superficial analysis and an in-depth analysis. An ...
    Jason Hsu, Android developerJason Hsu, Android developer
    Aug 13, 2013 at 5:48 pm
    Aug 19, 2013 at 4:49 pm
  • I have what I think should be a simple problem, but I'm having issues finding a solution to it via Google. I'm writing functional tests for my AccountsController. I began by adding tests to the ...
    Kyle FazzariKyle Fazzari
    Aug 17, 2013 at 2:54 pm
    Aug 18, 2013 at 9:01 pm
  • I have a table that is populated using AJAX pagination (Kaminari). What I'm trying to do is view this page and make sure there is certain content within the table. This causes a problem with my ...
    Garrett WilsonGarrett Wilson
    Aug 18, 2013 at 9:19 am
    Aug 18, 2013 at 7:02 pm
Group Navigation
period‹ prev | Aug 2013 | next ›
Group Overview
grouprubyonrails-talk @

155 users for August 2013

Why that: 101 posts Colin Law: 37 posts Tamara Temple: 23 posts Dheeraj Kumar: 20 posts Walter Lee Davis: 11 posts Hassan Schroeder: 9 posts Dave Aronson: 7 posts Frederick Cheung: 7 posts Jordon Bedwell: 6 posts Matt Jones: 6 posts Nick Khamis: 6 posts Rekha Benada: 6 posts Philip Edelbrock: 5 posts Exel Dev: 4 posts Jason Hsu, Android developer: 4 posts Joe Le Brech: 4 posts Linus Pettersson: 4 posts Rita Ferreira: 4 posts Samir Kanta Dash: 4 posts Tsolmon Narantsogt: 4 posts
show more