Search Discussions

379 discussions - 1,451 posts

  • Scuse me but, as the subject says, I'm not be able to set an extra attribute of a join model. Situation is: class Company < ActiveRecord::Base has_many :managements has_many :managers, :through = ...
    Jan 12, 2012 at 11:22 am
    Jan 16, 2012 at 8:27 pm
  • Could help me out through team viewer? I've had so much trouble trying to get RoR running if some one could help me out it would be amazing! -- Posted via http://www.ruby-forum.com/. -- You received ...
    Mathew S.Mathew S.
    Jan 12, 2012 at 8:30 pm
    Jan 16, 2012 at 1:26 am
  • Hi, I want to do a polymorphic association like that: class User has_many :my_posts, :as = :owner end class Post belongs_to, :owner, :polymorphic = true end meaning that I want to do: @user = ...
    Rodrigo RuizRodrigo Ruiz
    Jan 27, 2012 at 4:44 pm
    Jan 28, 2012 at 11:11 am
  • Hi, I just deployed a simple crud (Rails 3.1) to heroku, and it takes more than 5 seconds to load the index page. Does anyone know how to solve this? Ps.: locally it takes less than 500 ms, and have ...
    Rodrigo RuizRodrigo Ruiz
    Jan 31, 2012 at 4:56 pm
    Oct 16, 2012 at 1:37 am
  • Hi! I have an app that manages products. I import the products from several resellers and they all name their categories different. Because of this I have resellercategories that are mapped to my own ...
    Linus PetterssonLinus Pettersson
    Jan 6, 2012 at 1:13 am
    Jan 7, 2012 at 6:30 pm
  • Hello, Im trying to write a simple app for company internal usage. The other applications we use (in php) authenticate users based on database credentials, and to be honest I have no idea how to ...
    Marcin SMarcin S
    Jan 30, 2012 at 4:36 pm
    Feb 1, 2012 at 7:36 pm
  • Hello, I'm trying to install the rails on ubuntu 11.10, but when I put the command felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails --no-r1 --no-rdoc ERROR: Loading command: install ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Jan 21, 2012 at 9:40 pm
    Jan 22, 2012 at 2:20 am
  • Dear all, I am trying to install ruby on rails...but the sqlite3-ruby part has been the trouble giver. I read almost every trouble shoot given in various forums in internet but nothing worked? I am ...
    Jan 3, 2012 at 9:52 am
    Jan 3, 2012 at 2:43 pm
  • I am using capistrano v2.9.0 to deploy to a ubuntu server running apache v2.2.12, passenger v3.0.4, ruby v1.9.2 and rails v3.0.1. When I deploy a new application, I often get error messages like: ...
    Jan 11, 2012 at 4:09 pm
    Jan 20, 2012 at 3:03 pm
  • Hello, First of all I am not a Ruby programmer. The reason I am writing this post is because I took over the administration of a CentOS-server running a Ruby-application because the former ...
    David EkdahlDavid Ekdahl
    Jan 24, 2012 at 10:56 am
    Jan 24, 2012 at 9:35 pm
  • Hi! I'm trying to speed up some queries in my app, running Rails 3.2 and need some help. I'm running the app at Heroku on postgresql. I'm new to postgresql and need some help to optimize a query so ...
    Linus PetterssonLinus Pettersson
    Jan 25, 2012 at 4:14 pm
    Jan 26, 2012 at 8:07 pm
  • Hi everyone, I'd like an opinion. Does Rails scales for something like an e-commerce that makes 5000 sells each day? An e-commerce like ebay, for example. Thanks in advance. Ps.: I wanna convince my ...
    Rodrigo RuizRodrigo Ruiz
    Jan 25, 2012 at 3:05 am
    Jan 26, 2012 at 2:18 pm
  • I've run in to a strange situation where it would be great if there were a way to use " redirect_to :back " to skip back over the previous page and go to the previous, previous page ( :back X 2.) Any ...
    Jan 23, 2012 at 5:46 am
    Jan 25, 2012 at 8:02 pm
  • I'm having a problem with a submit event What I'm trying to do is to update a record using radio inputs... and everything is ok, but when I do a fast double-click on the radio button, the form ...
    Jan 5, 2012 at 4:33 pm
    Jan 6, 2012 at 7:45 pm
  • I have a strong handle on when to use a helper -- at least I think so. A helper may include some logic (not enough to belong in the model) and it presents html as its output. So I have a conceptual ...
    Walter Lee DavisWalter Lee Davis
    Jan 26, 2012 at 2:26 pm
    Jan 26, 2012 at 5:44 pm
  • Hello, I'm trying to connect with a db in my app, but when I go on config/database.yml the default db is sqlite3, how can I put the mysql as default ? # SQLite version 3.x # gem install sqlite3 # # ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Jan 22, 2012 at 10:17 pm
    Jan 23, 2012 at 11:21 am
  • Hi all, I have created a Goggle+ page "Ruby on Rails Tutorial Using Google+<https://plus.google.com/106628992551398658527 ". I have contacted with 8-10 developers to give training session on various ...
    Rajeev Kannav SharmaRajeev Kannav Sharma
    Jan 16, 2012 at 5:30 pm
    Feb 5, 2012 at 3:47 pm
  • Hello there ppl. I want to have a counter which will: - count the number of times that the 'index' controller action is called and store this in a cookie - will be displayed in the view only if the ...
    Agis A.Agis A.
    Jan 17, 2012 at 4:24 pm
    Jan 17, 2012 at 8:40 pm
  • Hello, I am new to Rails and wanted to ask some of the veterans here what they recommend for Role based permissions. I am working on an application that has users and those users can have multiple ...
    Jan 12, 2012 at 5:30 pm
    Jan 15, 2012 at 4:47 am
  • Hello All This is my first time on ruby-forum so pardon if this is not posted correctly. I am having a very similar issue regarding has_many through has_many. A logged user can create a work order ...
    Fritz RodriguezFritz Rodriguez
    Jan 14, 2012 at 4:12 am
    Jan 15, 2012 at 3:51 am
  • Hoping someone might be able to throw me a few clues on this one. I'm working with lists of names a User (current_user) manages lists of names, some male some female (scoped on m or f in gender), ...
    Bingo bobBingo bob
    Jan 13, 2012 at 11:49 am
    Jan 14, 2012 at 7:49 pm
  • Hi every one, i need something like populating all the states when a particular country selected. My exact requirement is, in my project management tool, when a project is selected all of its ...
    Venkata reddyVenkata reddy
    Jan 8, 2012 at 7:58 am
    Jan 10, 2012 at 12:54 pm
  • Hi, I'd like to know what is the best way to do this. Right now I can see two options: 1) create a new views at make a custom controller for registration controller to redirect to the right path 2) ...
    Rodrigo RuizRodrigo Ruiz
    Jan 26, 2012 at 2:58 pm
    Jan 27, 2012 at 4:41 pm
  • When you click [x] the close button, will show the alert with 3 button like below picture: Show dialog message ================================================= Do you want to save changes? All ...
    Joachim ChengJoachim Cheng
    Jan 12, 2012 at 5:23 am
    Jan 14, 2012 at 11:31 am
  • PermissionsController def add_member ...snip... @permissions = Permission.all respond_to do |format| format.html { flash[:messages1] = @permission.user.name + " has been given rights." } format.js ...
    Craig WhiteCraig White
    Jan 5, 2012 at 10:19 pm
    Jan 9, 2012 at 5:21 pm
  • Hi, I'm having some trouble with bundler: -bash-4.1$ gem install bundler Successfully installed bundler-1.0.21 1 gem installed Installing ri documentation for bundler-1.0.21... Installing RDoc ...
    Ibrahim CesarIbrahim Cesar
    Jan 26, 2012 at 11:52 am
    Feb 1, 2012 at 2:28 pm
  • hi all, i have captcha image on Registration popup but on local the captcha image and code is not coming. i have install RMagick and gd2 gem also.It gives following error, MissingSourceFile (no such ...
    Sachin kewaleSachin kewale
    Jan 24, 2012 at 12:37 pm
    Jan 31, 2012 at 8:27 am
  • Hi guys. I would like to ask what would be the average hour rate for a junior rails dev in the US and then in Europe like UK & Germany. Basically, where is considered the best country to work in as a ...
    Agis A.Agis A.
    Jan 25, 2012 at 2:41 pm
    Jan 26, 2012 at 10:39 pm
  • Hello, I'm using instantrails 2 to develop RubyOnRails projects on windows and need to update my ruby version to 1.8.7 (I'm still using 1.8.6). I downloaded ruby 1.8.7 here ...
    Jan 24, 2012 at 5:33 pm
    Jan 25, 2012 at 7:05 pm
  • Hi All, I am having routes like below to delete/list an user. map.connect 'developer/:user_name/delete',:controller= "developers",:action= "delete",:method= :delete map.connect ...
    Loganathan SellapaLoganathan Sellapa
    Jan 20, 2012 at 12:39 pm
    Jan 22, 2012 at 12:23 pm
  • Hi all, I got a requirement where i should send mail to user based on the time they set to deliver the mail. In my user table i have notification time which will be saved as 1,2,3,4,5... for options ...
    Angel davidAngel david
    Jan 20, 2012 at 9:07 am
    Jan 20, 2012 at 10:26 am
  • Newbie learning Rails and about to undertake my first real app. Please bare with me, I'll try not to be long winded. It's a blogging app where blogs belong to organizations, not users. An ...
    Mohamad El-HusseiniMohamad El-Husseini
    Jan 16, 2012 at 10:45 pm
    Jan 19, 2012 at 12:36 pm
  • Hi, What is the correct syntax for adding a prompt to a select_tag? I have this, which works as expected: <%= select_tag "author_id", options_from_collection_for_select(@authors, :id, :name, ...
    Jim BurgessJim Burgess
    Jan 16, 2012 at 6:35 pm
    Jan 16, 2012 at 7:40 pm
  • Hi. I have RoR app. It needs to use keepalive in its responses. It sits on apache. I've configured apache and its serving static files from apache with keepalive working, but dynamic pages generated ...
    Philip T.Philip T.
    Jan 13, 2012 at 1:50 pm
    Jan 14, 2012 at 5:57 pm
  • I'm curious about a conflict between railscasts and rails 3.1 documention. Do I put javascript code into application.js in the assets folder or not? And what's the ramifications of either approach? ...
    Tom AllisonTom Allison
    Jan 12, 2012 at 7:53 pm
    Jan 13, 2012 at 7:49 pm
  • hi, I am using rails 3.0.10, i had created user and admin using devise, i want to make normal user as admin, can anyone help me on how to make user as admin Thanks Kapil -- You received this message ...
    Kapil KaligotlaKapil Kaligotla
    Jan 9, 2012 at 2:34 pm
    Jan 11, 2012 at 7:00 am
  • Help RoR Masters, I need to print a report that has a escape sequence but every time I try The Dot matrix printer also prints the escape sequence. example *escape sequence here* + '!' +*escape ...
    Christian BautistaChristian Bautista
    Jan 6, 2012 at 11:55 am
    Jan 10, 2012 at 10:34 pm
  • I have: class Company < ActiveRecord::Base has_many :categorizations has_many :categories, :through = :categorizations has_many :managements has_many :managers, :through = :managements has_many ...
    Jan 10, 2012 at 10:33 am
    Jan 10, 2012 at 4:33 pm
  • Dear all, In my web application, The client has to enter a set of values and I want to write them to a text file. This is what I am doing to achieve that. class SollusController < ...
    Jan 7, 2012 at 6:40 pm
    Jan 8, 2012 at 8:21 am
  • Hi, Whenever I deploy a Rails app using MySQL I get an application error. I even tried a hello-world app and I get the error even though everything was uploaded fine. It always says to look in my ...
    Jan 6, 2012 at 11:55 am
    Jan 7, 2012 at 4:00 pm
  • I'm using will_paginate on my app and it's working fine. The problem came when I had to put search field. After the search, the first page comes according to the parameter passed, but when I go to ...
    Jan 31, 2012 at 12:16 pm
    Feb 9, 2012 at 11:00 pm
  • Hi, I'd like to know why I can't, or how can I, access attributes like that: class User < ActiveRecord::Base def name @first_name + @last_name end end first_name and last_name are user attributes in ...
    Rodrigo RuizRodrigo Ruiz
    Jan 30, 2012 at 8:10 pm
    Jan 31, 2012 at 11:32 am
  • I had created users using devise in rails. I am storing user mobile number and land line number for the user profile, by using this code it is storing the cell and land line numbers in database but ...
    Kapil KaligotlaKapil Kaligotla
    Jan 30, 2012 at 5:31 am
    Jan 30, 2012 at 11:05 am
  • For the sake of example let's say you have an application where users list their ducks for sale. The services offers two Plans: Bronze, which allows you to list 3 ducks at a time; and Platinum, which ...
    Mohamad El-HusseiniMohamad El-Husseini
    Jan 26, 2012 at 5:09 pm
    Jan 27, 2012 at 8:10 pm
  • Dear All, i want to delect a record with the code <% @reservations.each do |reservation| % <tr <td 00000<%= reservation.id% </td <td <%= reservation.item_desc % </td <td <%= reservation.item_desc % ...
    Daisy DiDaisy Di
    Jan 26, 2012 at 8:19 am
    Jan 27, 2012 at 10:07 am
  • Hi there, About this method: http://apidock.com/rails/ActiveResource/Base/find/class How do I set custom headers? I am communicating with a Rest API that requires a cookie. I've tried a lot of ...
    Nadeem J. QureshiNadeem J. Qureshi
    Jan 18, 2012 at 5:10 pm
    Jan 25, 2012 at 2:50 pm
  • hi all, i have one issue after entering username and password on login popup and clicking login button the user is logged in but i have to refresh the url i have check the log but nothing is there,i ...
    Sachin kewaleSachin kewale
    Jan 20, 2012 at 10:20 am
    Jan 23, 2012 at 9:55 pm
  • Hello! I am using the standard (scaffolded), REST routing. I need to pass external values to my "new" action for a certain model, and let the user complete the other fields in the standard form_for. ...
    Jan 20, 2012 at 12:19 am
    Jan 20, 2012 at 7:08 pm
  • Hi, I'm having an issue with some routes in my apps, the apps are the same app the only difference is that I use one for testing and the other for production stored in different directories lets say ...
    Art tavArt tav
    Jan 19, 2012 at 8:42 pm
    Jan 20, 2012 at 9:18 am
  • I have about 20 relatively small applications running on the server. They mostly access the same database tables. Is it more efficient to combine them into a single application with lots of ...
    Jan 16, 2012 at 2:13 pm
    Jan 17, 2012 at 2:15 pm
Group Navigation
period‹ prev | Jan 2012 | next ›
Group Overview
grouprubyonrails-talk @

262 users for January 2012

Venkat Surabhi: 258 posts Colin Law: 128 posts Peter Vandenabeele: 104 posts Javier Quarite: 36 posts Rodrigo Ruiz: 32 posts Walter Lee Davis: 32 posts Dave Aronson: 31 posts Mauro: 30 posts Linus Pettersson: 27 posts Erwin: 23 posts Hassan Schroeder: 22 posts Agis A.: 18 posts Michael Pavling: 17 posts Tim Shaffer: 17 posts Mohamad El-Husseini: 16 posts John Merlino: 15 posts Sachin kewale: 15 posts Ahmy Yulrizka: 14 posts Jsnark: 13 posts Venkata reddy: 13 posts
show more