FAQ

Search Discussions

278 discussions - 916 posts

  • Hi, I have a form with 2 attributes/fields. As im not storing them in a database, i have used activemodel::validations for validations in my model class. In the views file i have 2 associated text ...
    Cyber c.Cyber c.
    Jun 26, 2012 at 6:59 pm
    Jun 26, 2012 at 11:19 pm
  • Hey there, Im fairly new to rails and i've tried several tutorials which taught me how to use the associatives on a basic level(has_many = belongs_to). However i'm trying to figure out how i can ...
    Timen E.Timen E.
    Jun 19, 2012 at 10:41 am
    Jun 20, 2012 at 9:57 am
  • hi, im using rvm + gemsets, but i dont know why rake always picks staging environment. i did not set this anywhere manually. any ideas? thx -- You received this message because you are subscribed to ...
    TomTom
    Jun 8, 2012 at 3:10 pm
    Jun 14, 2012 at 9:09 pm
  • Hi guys I have a macbook pro version 10.7.4. I'm so keen to start using the ruby programming language and the ruby on rails framework, but I cannot download the damn thing ! It's literally driving me ...
    Blakeh92Blakeh92
    Jun 13, 2012 at 12:11 pm
    May 1, 2013 at 3:26 pm
  • Hello, I am developing a small site for client and currently their static site is hosted on godaddy. And they don't want to move to another host for certain reasons. Godaddy has the following ...
    Renu mehtaRenu mehta
    Jun 7, 2012 at 6:58 pm
    Jun 9, 2012 at 11:22 pm
  • m sorry its a totally newbie question, but m really stuck. please help if possible. after installing everything required to run ruby on rails when i write the command 'rails s' in the command prompt ...
    Nishant g.Nishant g.
    Jun 11, 2012 at 6:21 pm
    Oct 3, 2012 at 4:21 pm
  • Hello All, I want to learn RoR3. So kindly suggest me free and online downloadable E-Books for Rub on Rails 3. Thanks in advance. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received ...
    Mandeep KaurMandeep Kaur
    Jun 27, 2012 at 10:47 am
    Jul 4, 2012 at 6:57 am
  • Hello, anyone can guide me through creating a user registration form in rails from scratch (without the scaffold command thou), using first the inbuilt sqlite3 db and then with mysql? I was having a ...
    RR TTRR TT
    Jun 12, 2012 at 11:27 am
    Jun 14, 2012 at 4:19 pm
  • Hello friends, I have installed 3.x version of Rails on my system. And I want to run 2.x Application ie OpenStreetView. I have used Bundler for that but it doesn't work and gives error : Could not ...
    Mandeep KaurMandeep Kaur
    Jun 26, 2012 at 3:26 am
    Jun 26, 2012 at 10:13 am
  • Hi I am doing a basic if..else statement and keep getting exceptions both of these are stored as int's <% if schedule.for schedule.against % <strong W</strong <% elsif schedule.for<schedule.against % ...
    Paul McGuanePaul McGuane
    Jun 9, 2012 at 4:26 pm
    Jun 11, 2012 at 4:26 pm
  • I want to host a website using Ruby on Rails 3. Which 3 best hosts give me web space to do that ? Please suggest me best 3 hosting sites to develop RoR3 Website. -- Mandeep Kaur ...
    Mandeep KaurMandeep Kaur
    Jun 21, 2012 at 7:31 am
    Aug 1, 2013 at 10:15 am
  • Hello all, I seem to be running into an issue where jquery seems to be working fine in my development environment but when I load it to my production environment it does not work. There are some ...
    VellVell
    Jun 27, 2012 at 3:14 am
    Jun 30, 2012 at 3:45 am
  • Hi , I have created an array of hashes using Model file class Class A < ActiveRecord::Base def fill_paths paths = Array.new for file in @files path = {} path["a"] = file path["b"] = DATA2(assume ...
    Cyber c.Cyber c.
    Jun 5, 2012 at 5:59 pm
    Jun 6, 2012 at 12:11 am
  • I am running the command rails server on ubuntu 12.04 having rails 3 but getting following error. amir@ubuntu:~/app$ rails server ...
    Amir Z.Amir Z.
    Jun 19, 2012 at 11:40 am
    Oct 4, 2012 at 7:47 pm
  • Hi, I have a problem with blocking user as follows:- We have a Admin Panel from where Admin can block the user which is working fine. Suppose the user "test@abc.com" is login and he is doing spam on ...
    Tushar GandhiTushar Gandhi
    Jun 28, 2012 at 7:35 am
    Jun 28, 2012 at 7:20 pm
  • Hey all, I saw this piece of code: @user = User.find(params[:user_id]) rescue nil why rescue with a nil here? If the user is not found, it will be nil anyway. -- You received this message because you ...
    John MerlinoJohn Merlino
    Jun 20, 2012 at 12:29 am
    Jun 20, 2012 at 8:29 pm
  • Hi, I see that Person.find(:all) and Person.find(:all, :params = {id = '2'}) returns all records irrespective of conditions. Is activeresource broken? PS: Im using rails 3.2.4 -- Posted via ...
    Cyber c.Cyber c.
    Jun 18, 2012 at 9:45 pm
    Jun 20, 2012 at 5:30 pm
  • I am newbie on Linux Ubuntu. Before i was working on windows and many people suggest me to work with Linux is better then windows. I installed ubuntu 12.04 in my system but facing myriad problems ...
    Amir Z.Amir Z.
    Jun 18, 2012 at 5:29 pm
    Jun 19, 2012 at 12:28 pm
  • Hi, I have a rails app running which provides an interface to create/update data stored in a DB. How do i develop a cmd line interface to do the same i.e i should be able to retrieve/update data to a ...
    Cyber c.Cyber c.
    Jun 13, 2012 at 10:09 pm
    Jun 13, 2012 at 11:41 pm
  • hi all there are two tables Student and Batch in there model i have has_and_belongs_to_many :graduated_batches, :class_name = 'Batch', :join_table = 'batch_students' in Student table and ...
    Honey rubyHoney ruby
    Jun 12, 2012 at 9:31 am
    Jun 13, 2012 at 9:27 am
  • Hello Experts, I have a tree of categories in this category object there is a property called type. the root categories have no type but the children have. so how I can get all the roots with filled ...
    Ibrahim hassanIbrahim hassan
    Jun 8, 2012 at 2:18 pm
    Jun 12, 2012 at 12:58 pm
  • Hello, I'm facing very simple weird error. in my main page main.html.erb <%=render(@locations) % and in I try to output name twice locations/location.html.erb <li <%=location.name% <%=location.name% ...
    Jamal SoueidanJamal Soueidan
    Jun 11, 2012 at 1:58 pm
    Jun 12, 2012 at 9:30 am
  • Hi Im trying to link my User model to a Teams model. I seem to be getting the following errors. Any help would be great as Im just new to RoR Thanks error ActiveRecord::AssociationTypeMismatch in ...
    Paul McGuanePaul McGuane
    Jun 9, 2012 at 2:36 am
    Jun 9, 2012 at 3:16 pm
  • Hi All, I want to create an application which needs to provide SOAP services to multiple applications, I have googled and found that no plugins/gem were available to create soap web services except ...
    Loganathan SellapaLoganathan Sellapa
    Jun 13, 2012 at 5:37 pm
    Jul 23, 2012 at 8:41 am
  • Say I have a Dog that has_may legs (In this case we don't care how many). In the _form for Dog, I would like to assign a pre-existing let to him. I would like to do something like this: <%= ...
    SheamusSheamus
    Jun 29, 2012 at 9:03 pm
    Jul 1, 2012 at 9:42 pm
  • I have isolated what appears to be a bug in the Rails extensions to DateTime, but I don't know where to report it. I have a standalone file to demonstrate the bug, but the punch line is that this ...
    Fearless FoolFearless Fool
    Jun 21, 2012 at 4:36 pm
    Jun 25, 2012 at 8:13 pm
  • Hi, I wanted to create some static pages using rails and used rails g controller Staticpages main movie song book Which has created a controller file "static_pages_controller.erb" and view files ...
    Cyber c.Cyber c.
    Jun 22, 2012 at 6:57 pm
    Jun 23, 2012 at 8:24 pm
  • I've been trying to follow Ruby on Rails 3 Tutorial by Michael Hartl but had a problem on page 199 when it asks me to enter "rake db:migrate". I got the following results: -- rake aborted! undefined ...
    N/a n/aN/a n/a
    Jun 21, 2012 at 4:32 pm
    Jun 21, 2012 at 6:00 pm
  • Hi all I'm using rails 3.2.1 + devise 2.0.4 My problem is that in my website only : Admin will create new users no direct registration for users. Now when Admin create new_user confirmation mail will ...
    Manish NautiyalManish Nautiyal
    Jun 20, 2012 at 1:04 pm
    Jun 21, 2012 at 4:23 am
  • Hello, In my rails application, I have a file which name is: "d:/Copy of t.txt". I want to open it with the default program. This file is a TXT file but it can be another kind of file (png, pdf, etc) ...
    Paulo CarvalhoPaulo Carvalho
    Jun 12, 2012 at 1:49 pm
    Jun 14, 2012 at 8:05 am
  • Hi ruby community, It has been months after much experimenting RubyOnRail but it wasn't chosen for my Enterprise project. Recently, I heard some of my friends argue that RubyOnRail is ...
    johnCodejohnCode
    Jun 9, 2012 at 10:52 am
    Jun 13, 2012 at 12:49 am
  • Hi, i added a column to my DB using rails g migration AddAttrToTablename attr:string rake db:migrate I didnt change the model file. Should i? Now when i create a new record to the table assigning ...
    Cyber c.Cyber c.
    Jun 7, 2012 at 10:08 pm
    Jun 9, 2012 at 5:50 pm
  • I have the usual: config/routes.rb: NewApp::Application.routes.draw do match('blahs/:item' = 'blahs#show', :constraints = { :item = /.*/ }) end app/view/blahs/show.html.erb: <%= link_to "blah", ...
    Perry SmithPerry Smith
    Jun 6, 2012 at 1:34 pm
    Jun 6, 2012 at 7:52 pm
  • Can any one halp? how to upload a video in ruby on rails (ruby 1.8.7 and rails-2.3.8) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google ...
    Saritha chakilalaSaritha chakilala
    Jun 4, 2012 at 8:31 am
    Jun 5, 2012 at 8:12 pm
  • Hello guys, I have two tables, tasks and projects, and each model I put: Task.rb class Task < ActiveRecord::Base attr_accessible :user_id, :project_id, :name belongs_to :project end Project.rb class ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Jun 30, 2012 at 5:37 pm
    Jul 1, 2012 at 1:43 am
  • Dear all model person id: 1, name: "test" end i need some explanation about name_will_change! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the ...
    Kengsreng tangKengsreng tang
    Jun 27, 2012 at 9:57 am
    Jun 29, 2012 at 10:11 am
  • hello, i've come across a code like def password=(pass) @password = pass . . end Anyone can please explain to me what is happening in the first line itself for the def part? the code I saw did not ...
    Ritesh T.Ritesh T.
    Jun 27, 2012 at 6:54 pm
    Jun 29, 2012 at 9:13 am
  • Hello, I developed a Rails 3.0 application on Windows. It connects to a couchDB database. Everything works fine. Now, I would like to take my application and put it on another machine which runs ...
    Paulo CarvalhoPaulo Carvalho
    Jun 25, 2012 at 8:14 am
    Jun 27, 2012 at 9:58 am
  • Hello, In my app there is a one-to-many relation between members and member_phones. Following code works in ruby 1.8.7, rails 3.0.3 but fails on heroku. @member = Member.new ...
    Renu mehtaRenu mehta
    Jun 21, 2012 at 5:50 pm
    Jun 22, 2012 at 7:59 pm
  • Hello guys, I would like to know what is the equivalent to the function TRIM() from PHP in Rails 3 ? Thank you. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Jun 19, 2012 at 8:15 pm
    Jun 20, 2012 at 8:28 pm
  • Hi, How to transform this piece of code in haml <li <a href="#" <%= image_tag("book_picture.png", :border = 0) % Relatórios</a <ul <li <a href="/relatorios/relatorio" G: Relatório PCS</a </li </li I ...
    Alcelyo RobertoAlcelyo Roberto
    Jun 19, 2012 at 3:18 am
    Jun 19, 2012 at 2:58 pm
  • hello guys, I'm trying to make a ajax request and return some data from my controller, but how I do it to call the JSON in my JS after the request ? controller task def create @task = Task.create( ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Jun 14, 2012 at 10:45 pm
    Jun 18, 2012 at 9:54 am
  • Hi I am working on a project where I have a Process object that references a Node object. I have tried adding a node_id column in the Process table and created an has_one relationship in the Process ...
    Jason WalshJason Walsh
    Jun 9, 2012 at 3:45 pm
    Jun 13, 2012 at 12:02 pm
  • Hello, What is the best way to to do enumerations of values that you want to use to provide values for a field. There are many cases where you want the user to choose from a list of values, but you ...
    Matt MartiniMatt Martini
    Jun 11, 2012 at 8:45 pm
    Jun 11, 2012 at 10:02 pm
  • I'm a bit unclear what's going on with relations. I'm hoping someone can help explain it to me. Lets say we have a model with orders and line_items such that an order has many line_items. Thus: class ...
    John HinneganJohn Hinnegan
    Jun 5, 2012 at 7:04 pm
    Jun 8, 2012 at 10:01 pm
  • Hi, I wanted to populate the DB with (name,data) pairs based on some rules. I have created a scaffold with name and data as attributes. In the controller file under the def for index, i have changed ...
    Cyber c.Cyber c.
    Jun 5, 2012 at 12:02 am
    Jun 5, 2012 at 8:12 pm
  • Hello, I was wondering if anyone knows of a good step by step tutorial to install Apache + Mysql + PHPmyadmin + Ruby + Rails or any other web server to develop in rails in Ubuntu (Linux), I been to ...
    Code ManCode Man
    Jun 4, 2012 at 8:05 pm
    Jun 5, 2012 at 8:12 pm
  • i have created a web page localhost:3000/subjects in rails and a button is there.....if i click the button then only the content inside the html changes....the whole page will not refresh...like if ...
    RockyRocky
    Jun 1, 2012 at 11:14 am
    Jun 3, 2012 at 7:36 am
  • Hi All, I am not sure but somehow something feels wrong . When I try to do "rails s" "rake migrate" "rake db:migrate" "rake spec" or anything else it takes around 10-15 mins . Is the same happening ...
    Piyush GuptaPiyush Gupta
    Jun 15, 2012 at 6:06 am
    Aug 26, 2013 at 11:17 am
  • Hello, Somewhat new to rails here. But have used Ruby for years and thus have used ruby-debug before with success. My years of gdb experience were helpful. I like how rails development is easy to do ...
    SheamusSheamus
    Jun 19, 2012 at 5:01 pm
    Aug 23, 2012 at 1:48 pm
Group Navigation
period‹ prev | Jun 2012 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions278
posts916
users227
websiterubyonrails.org
irc#RubyOnRails

227 users for June 2012

Wolfram ..: 249 posts Colin Law: 82 posts Walter Lee Davis: 23 posts Oscar Del Ben: 20 posts Erwin: 19 posts Mandy: 18 posts Michael Pavling: 17 posts Frederick Cheung: 16 posts Hassan Schroeder: 12 posts Matt Jones: 12 posts Max Reznichenko: 11 posts Amruby: 10 posts Honey ruby: 10 posts Jeremy Walker: 10 posts Aash dhariya: 9 posts Sheamus: 8 posts Tom: 8 posts Aleksey V Zapparov: 7 posts Loganathan Sellapa: 7 posts Patrick Mulder: 6 posts
show more