Search Discussions
-
I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some steps to follow for ROR? or some effective tutorials link to setup this? -- You received this message because you are ...
Amvis
Oct 12, 2011 at 6:53 am
Oct 24, 2011 at 1:46 pm -
hello.. i have problem with rubygems version 1.8.7 on ubuntu 10.04 server LTS 64bit.this rubygems i also try both installation automatic using apt-get package manager and using manually installation ...
MaT 2.
Oct 31, 2011 at 1:12 am
Nov 7, 2013 at 1:09 pm -
Hi, I am exploring using RoR for an enterprise application that needs to be given out to customers, and the two criteria I am looking at are packaging and ease of deployment/upgrade, and protecting ...
Santosh c
Oct 9, 2011 at 9:09 am
Oct 13, 2011 at 7:30 pm -
Hi, I have the following code working in a rails 3 view, but it is unfortunately not pure rails code! <% @filter1 = "tr.show1,tr.show2" % <% @filter2 = "tr.show1" % <% @filter3 = "tr.show2" % <form ...
Sebastian
Oct 21, 2011 at 12:02 pm
Oct 25, 2011 at 12:49 pm -
Hello, I work for a company that uses PHP. In my free time I write Ruby apps. My manager recently "discovered" Heroku (which I had been using for a while) which spawned a discussion about eventually ...
Andrew
Oct 7, 2011 at 6:35 pm
Oct 16, 2011 at 4:41 pm -
hello i want to ask, how to generate model from table in my database. That's possibel ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google ...
Prasetya utama
Oct 18, 2011 at 2:01 pm
Oct 20, 2011 at 4:25 pm -
Hello I am rather new to Ruby and have been following along with the book "Ruby On Rails 3 Tutorial - Learn Ruby by Example - by Michael Hartl". I am currently in Chapter 3 which discusses static ...
DMAT
Oct 24, 2011 at 8:54 am
Dec 2, 2011 at 9:50 am -
Hello there. A friend of mine asked me to finish RoR project. Project is almost finished, but there are plenty of bugs to be fixed. I don't have Ruby and RoR experience, but I have degree in software ...
Cval eval
Oct 27, 2011 at 8:55 am
Nov 14, 2011 at 8:52 pm -
Hello Please help me to find this code work. I'm trying to make a report with predefined questions. I have made questions from the scaffold and filled it. Now is to assign answer fields per each ...
Hakjune Kim
Oct 18, 2011 at 12:09 pm
Oct 20, 2011 at 10:56 am -
I have user model and referral model. Referral model has user_id as field. Now when a new user is created, I need to call referral#create as well and pass it the id of the newly generated user to ...
Nikhil Goyal
Oct 11, 2011 at 10:23 am
Oct 17, 2011 at 7:59 am -
hi i wanna run this command ruby script/server automatically when windows start. can any one help me out how to do this . thanks in advance -- You received this message because you are subscribed to ...
Honey ruby
Oct 10, 2011 at 6:25 am
Oct 11, 2011 at 8:43 am -
Hello, I've been trying to install rails remotely on a Windows machine and linecache19 fails in that it fails to build the native extensions (linecache19-0.5.12). This is probably because DevKit is ...
Barney
Oct 6, 2011 at 3:46 pm
Oct 10, 2011 at 6:10 pm -
Hello Boys and Girls, I don't know where this item belong. I am posting it on both, Ruby and Rails forums. # ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux] # rails -v Rails 3.1.0 ...
Ruby Student
Oct 5, 2011 at 9:02 pm
Oct 7, 2011 at 7:22 pm -
I wanted to know if i should use RVM? I have been using rails more and more and more now and am looking to keep ruby and ruby gems better together. Is it worth using RVM? And what does it acually do ...
Gethernm
Oct 25, 2011 at 6:43 am
Oct 30, 2011 at 1:42 pm -
Hi to all, I have managed to install many gems but cant seem to be able to install Cucumer. It produces the error that system cannot find the path specified. I am using Ruby 1.9.2 on windows 7. I ...
Mathew Birch
Oct 20, 2011 at 12:23 pm
Oct 21, 2011 at 2:15 pm -
Hey, it might be a bit off topic but I hope I'm still allowed to post this. I'm currently looking for something (whatever language, script, ...) that allows users to click a button and stream the ...
Heinz Strunk
Oct 11, 2011 at 2:41 pm
Oct 11, 2011 at 8:16 pm -
Hello everyone. I'm starting with Rails going through the obvious "Getting Started with Rails" guide: http://guides.rubyonrails.org/getting_started.html Everything goes smoothly until the rake ...
Luís de Sousa
Oct 5, 2011 at 9:25 pm
Oct 7, 2011 at 3:09 pm -
Hi I recently installed Rails 3.1.1 on my ubuntu after lots of searching on the web I managed to get my first app up and running on the local server but I'm still getting ...
Dado_eyad
Oct 27, 2011 at 4:12 pm
Nov 1, 2011 at 2:19 pm -
Hi, i want to know how to use method from model to be used in controller like sale.rb model def list # some stuff end employee controller def show @stamp = Sale.list end which shows me following ...
Pab
Oct 14, 2011 at 12:14 pm
Oct 6, 2012 at 12:28 pm -
I have a belongs_to polymorphic association and I don't know how to create and edit my models of that relationship with active admin. If anyone can help me, please do. Thank you, Rodrigo -- You ...
Rodrigo Ruiz
Oct 11, 2011 at 2:43 pm
Dec 9, 2011 at 9:21 am -
Hello, See if anyone can help me. I need to design a web application upload to a server that works with a database hosted on the PC user logged. This means that when a user logs on, the application ...
David snbl
Oct 31, 2011 at 4:45 pm
Nov 1, 2011 at 11:43 am -
Hi! Maybe, you know thing such as odesk tests. Here will be place we discuss about some questions of them. I can't understand what they want. (Rails 3) 1.Screenshot-3.png. What is answer? I think d, ...
Anonymous odesk tester
Oct 23, 2011 at 6:27 am
Oct 29, 2011 at 6:49 pm -
Hi im trying to list random records on first page and from 2nd page to onwards, i need to show records by created_at using will_paginate plugin but i can only apply one of these condition at a time. ...
Hussam Ali
Oct 26, 2011 at 9:30 am
Oct 28, 2011 at 12:51 pm -
Hi, i have a "place" model with 2 columns (id, name). I'm calling an external api which gives me data to create a new place object. I would like to add the address from the external place to the ...
Lukas M.
Oct 25, 2011 at 1:03 pm
Oct 25, 2011 at 4:43 pm -
hello i have problem while install gem mysql2 in windows 7 i have got error An error occurred while installing mysql (0.3.7), and Bundler cannot continue. Make sure that 'gem install mysql2 -v ...
Prasetya utama
Oct 21, 2011 at 4:24 pm
Oct 22, 2011 at 11:53 am -
All, I have some data that could be a combination of around 30 values. Typical values could be 'TB', 'TF', 'D', 'U', '-D', 'OP', 'RM', or nil. Ideally, I'd use the SET data type in PostgreSQL, but ...
Peter Hicks
Oct 20, 2011 at 10:46 am
Oct 21, 2011 at 1:05 pm -
I have a commercial Radiant-based website that I manage for a small- business client. They pay me a flat annual fee to do so, but lacking any other clients to split the cost between (and I have no ...
Trans
Oct 6, 2011 at 9:14 pm
Oct 9, 2011 at 8:39 am -
hi, i am using popup box for alert for repeated items with some dynamic values to display in my popup i have saved all values in @employee variable and when it call pop using button click it does't ...
Pab
Oct 4, 2011 at 1:15 pm
Oct 7, 2011 at 9:56 am -
Hello team, I just installed Rails 3.1.0 on my LINUX (Red Hat) box. I also installed Apache2 and IBM DB2 9.7. I searched the web for a beginner's tutorials for Rails. Found a few, although some ...
Ruby Student
Oct 5, 2011 at 2:35 pm
Oct 5, 2011 at 9:25 pm -
Hey this may be a dumb question but I am attempting to downgrade my ruby version to 1.8.7 for my rails 3.1 project, since that is the version supported by my hosting solution. I have uninstalled ...
Garrett S.
Oct 4, 2011 at 4:38 am
Oct 4, 2011 at 4:16 pm -
I'm in chapter 16 of the book _Agile Web Development with Rails_. I was able to get Apache/Passenger working, but now I'm stuck on MySQL. When I enter "mysql -u root", I get the message: ERROR 2002 ...
Jason Hsu, Mr. Swift Linux
Oct 2, 2011 at 1:34 am
Nov 28, 2013 at 4:35 pm -
I'm actually getting this same slowdown issue but both on my production and local machines. The asset precompilation task takes about 10 minutes to complete, with the same setup using jammit and ...
Donald Piret
Oct 1, 2011 at 2:32 pm
Feb 10, 2012 at 6:51 pm -
Hi guys, I'm having a problem that's driving me nuts. I have a rails 3.1.1 project in which bundler is ignoring RSpec, no matter what I set rspec or rspec-rails it never gets installed. I've tried ...
Leonardo Mateo
Oct 30, 2011 at 5:09 pm
Oct 30, 2011 at 11:41 pm -
Hello, What's the best/easiest way to write this delete statement using ActiveRecord 3.1? DELETE e1 FROM events e1 JOIN events e2 WHERE e1.subject_type = e2.subject_type AND e1.subject_id = ...
Christopher J. Bottaro
Oct 28, 2011 at 9:46 pm
Oct 30, 2011 at 7:01 pm -
Hey all, THis line of code gets called multiple times and creates a hash: def session_code(unit_id, code) s_code = session[:code] unit_id_hash = s_code.detect {|h| h[unit_id]} if unit_id_hash.nil? ...
John Merlino
Oct 17, 2011 at 9:28 pm
Oct 29, 2011 at 3:45 am -
Just realized I have a nice problem. using Postgresql... When I save something via Rails to the table it's saved with a GMT offset (so 12:00 becomes 16:00) But the database is configured to save ...
Tom Allison
Oct 25, 2011 at 4:53 pm
Oct 28, 2011 at 11:34 pm -
Hello, I'm having some trouble with forms, my app allows to enter data by using a multi-step form that has 7 steps. There are 3 steps that may let the user to add 1 form, for example there's a step ...
JavierQQ
Oct 26, 2011 at 3:53 pm
Oct 26, 2011 at 5:01 pm -
I am in the middle of upgrading an application which is only at 2.3 to rails 3.0 (Then to rails 3.1) Iv'e gotten the application to begin running. And it can load some models. For example in users I ...
Tspore
Oct 24, 2011 at 4:26 am
Oct 25, 2011 at 9:01 pm -
I have the following class in a Rails 3.1.1 app: class User < ActiveRecord::Base attr_accessible :email, :password, :password_confirmation, :remember_me, :username, :admin, :moderator, :bio ...
Hesham
Oct 16, 2011 at 4:35 am
Oct 17, 2011 at 8:13 am -
Hi All! I am searching for a gem that handles authentication and authorization at the same time for me. I tried several combinations of different authentication and authorization gems, but even if ...
Norbert Melzer
Oct 14, 2011 at 4:06 pm
Oct 17, 2011 at 8:13 am -
Please how can I save more than one field ? I have Product has many colors by quantity. This works #controller: products action: new file:_form.erb <% for color in Color.all % <div <%= check_box_tag ...
Farah
Oct 12, 2011 at 6:53 am
Oct 14, 2011 at 11:20 pm -
I am making a browser-based game using ruby on rails and I am having trouble implementing a ranking system for my game. Each player has five skills: intelligence, creativity, strength, charisma and ...
Pamela
Oct 11, 2011 at 10:52 am
Oct 14, 2011 at 12:57 pm -
6
[Rails] Active Record Associations - best way to find all items assosciated with a specific company
I have the following associations in my models: item.rb belongs_to :manufacturer, :class_name = "Company" belongs_to :distributor, :class_name = "Company" company.rb has_many :items My question: what ...Jim Burgess
Oct 4, 2011 at 8:36 pm
Oct 4, 2011 at 9:14 pm -
My application is starting/loading very late when hit my website url in the browser. Can anybody give some tips to optimize it please. -- You received this message because you are subscribed to the ...
Venkata reddy
Oct 1, 2011 at 6:52 am
Oct 2, 2011 at 3:18 am -
Hi, I'd like to create my first ROR application on Heroku but I can't deal with one step in this tutorial: http://devcenter.heroku.com/articles/quickstart I've spent all my day for this and I have no ...
Girly Girl
Oct 30, 2011 at 6:03 pm
Oct 31, 2011 at 2:45 pm -
I have two models class User has_one :entry end class Entry belongs_to: user end in my controller I use find_each to iterate over entries to email each of the users. Entry.find_each(:include = :user, ...
Allan Dixon
Oct 26, 2011 at 2:40 pm
Oct 27, 2011 at 4:31 pm -
I am playing with Rails 3.1.1 and made a simple blog app. I created a unique index on a field and when I submit a new post, it throws an exception if the field is not unique. I've added a rescue, but ...
Rajinder Yadav
Oct 25, 2011 at 12:27 pm
Oct 26, 2011 at 5:53 am -
Hi, A quick problem that is probably very easy. I have models, controllers and views for teams and fixtures. Team model (has_many :fixtures), Fixture model (belongs_to :team). I can create a new ...
Graham Dawe
Oct 24, 2011 at 3:42 pm
Oct 25, 2011 at 10:51 am -
Dear all, I'm new to Rails and Web development, I have a problem about how to "bind a JS event to a field within form_for block". I have a JS function called checkLength, which is used to check the ...
Paul
Oct 21, 2011 at 4:18 pm
Oct 24, 2011 at 1:56 am -
Hello all. I have a question about using active record and postgresql sequences. ---- My environment is: Ruby: ruby-1.9.2-p290 [ x86_64 ] Rails: 3.1.1. PostgreSQL: 9.0.5. pg: 0.11.0. ---- I have a ...
Eugene B.
Oct 21, 2011 at 6:58 pm
Oct 22, 2011 at 9:35 am
Group Overview
group | rubyonrails-talk |
categories | rubyonrails |
discussions | 377 |
posts | 1,239 |
users | 310 |
website | rubyonrails.org |
irc | #RubyOnRails |
310 users for October 2011
Archives
- June 2016 (104)
- May 2016 (177)
- April 2016 (212)
- March 2016 (326)
- February 2016 (262)
- January 2016 (347)
- December 2015 (363)
- November 2015 (424)
- October 2015 (268)
- September 2015 (377)
- August 2015 (290)
- July 2015 (535)
- June 2015 (430)
- May 2015 (335)
- April 2015 (458)
- March 2015 (348)
- February 2015 (388)
- January 2015 (436)
- December 2014 (433)
- November 2014 (370)
- October 2014 (329)
- September 2014 (419)
- August 2014 (468)
- July 2014 (504)
- June 2014 (72)
- May 2014 (313)
- April 2014 (488)
- March 2014 (484)
- February 2014 (403)
- January 2014 (422)
- December 2013 (322)
- November 2013 (371)
- October 2013 (478)
- September 2013 (436)
- August 2013 (448)
- July 2013 (643)
- June 2013 (559)
- May 2013 (750)
- April 2013 (575)
- March 2013 (791)
- February 2013 (578)
- January 2013 (687)
- December 2012 (681)
- November 2012 (874)
- October 2012 (928)
- September 2012 (1,187)
- August 2012 (905)
- July 2012 (1,015)
- June 2012 (916)
- May 2012 (836)
- April 2012 (1,031)
- March 2012 (1,125)
- February 2012 (1,678)
- January 2012 (1,451)
- December 2011 (1,289)
- November 2011 (1,257)
- October 2011 (1,239)
- September 2011 (551)