FAQ

Search Discussions

499 discussions - 1,678 posts

  • Hi all I wondering how I would go about generating multiple features on user creation. I want every user who signs up to have a wishlist automatically which is a separate to the actual users ...
    Christopher JonesChristopher Jones
    Feb 8, 2012 at 9:25 pm
    Feb 11, 2012 at 2:49 am
  • hi guys im playing with RoR with the environment of rails 3 ruby 1.9 i got stuck in nil can't be coerced into BigDecimal error i need to get the total cost of the products inside the cart i know ...
    LEDLED
    Feb 21, 2012 at 7:15 am
    Feb 21, 2012 at 3:53 pm
  • 1. Provide the models required 2. Each article can be related to many articles (or none).Provide code for making @article.related_articles work 3. Clean up the code according to rails conventions ...
    Srimanta ChakrabortySrimanta Chakraborty
    Feb 3, 2012 at 10:25 am
    Feb 6, 2012 at 2:14 pm
  • Hey all, so I have a table of games in my rails application. The table has many of records within in. What I wish to do is have at the top of the page a sort of link system like the following A | B | ...
    Christopher JonesChristopher Jones
    Feb 19, 2012 at 7:49 pm
    Feb 20, 2012 at 10:35 pm
  • Hi, I'm a novice in Ruby , I want to ask what is the best IDEs to use Ruby for beginners ? Is eclipse a good choice ? any idea? Thanks a lot! Nada -- You received this message because you are ...
    NadaNada
    Feb 28, 2012 at 3:35 pm
    Mar 4, 2012 at 11:54 am
  • Hi all, In my application all users have the ability to upload a profile picture through a file field but it is not compulsory. On my index page it displays all users along with their profile ...
    Christopher JonesChristopher Jones
    Feb 28, 2012 at 4:58 pm
    Feb 29, 2012 at 3:56 pm
  • Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ...
    rubix Rubixrubix Rubix
    Feb 26, 2012 at 9:52 pm
    Feb 29, 2012 at 12:49 am
  • route.rb match "/:layout" = "company@index" in application_controller I have: before_filter :authenticate_user! rescue_from DeviseLdapAuthenticatable::LdapException do |exception| render :text = ...
    MauroMauro
    Feb 11, 2012 at 11:46 pm
    Feb 13, 2012 at 9:46 am
  • I have an error in my unicorn log... Traces: Error during failsafe response: ActionView::Template::Error ...
    Alexander KurakinAlexander Kurakin
    Feb 6, 2012 at 12:28 pm
    Feb 6, 2012 at 8:26 pm
  • I need a way to set a counter that will show how many of the model have been created and put this in each instance. This will allow me to use the record number as an input to another field before id ...
    Bob SmithBob Smith
    Feb 8, 2012 at 7:13 am
    Feb 26, 2012 at 9:52 pm
  • Hey all, I am currently doing my dissertation project and am extremely far in to the process and am ready to host it external of my university due to my university not having Ruby on Rails support on ...
    Christopher JonesChristopher Jones
    Feb 6, 2012 at 2:21 pm
    Feb 10, 2012 at 2:41 pm
  • consider scenario, User model with name, birth_date fields (here birth_date is not mandatory field) inside view form birth_date is assigned as '31/31/1985' which is invalid ideally user object should ...
    Sandip ransingSandip ransing
    Feb 1, 2012 at 8:23 am
    Feb 1, 2012 at 12:02 pm
  • Rails 3.1.3 Hi again. I would like to pass an instance variable to "HERE!!!" in 'save.js.erb' $('#listtrans').html( '<%= escape_javascript(render :partial = "videos/script_list", :locals = { :scripts ...
    Soichi IshidaSoichi Ishida
    Feb 16, 2012 at 5:10 am
    Sep 17, 2013 at 6:38 pm
  • Hey all, using ruby 1.8.7, I wrote this: 500.times.map { Integer((rand * 1) * 1000) / Float(1000) } Basically, this gives me a list of 500 random decimal numbers that are rounded to 3 places. ...
    John MerlinoJohn Merlino
    Feb 29, 2012 at 12:22 am
    Mar 1, 2012 at 8:58 am
  • Hello guys, I had made a css file and link to my rails app, but, my background and others parameters in my css file. an example: * {font-family:Tahoma, "Trebuchet MS", Arial, Helvetica, sans-serif; ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Feb 22, 2012 at 9:20 pm
    Feb 24, 2012 at 1:54 am
  • I have recently installed a newer version of Rails, using the RailsInstaller v2.0.1.0 for Windows. The installer seemed to run fine with no errors, however, the command "$ rails new myapp" produces ...
    Patrick BayfordPatrick Bayford
    Feb 15, 2012 at 7:09 pm
    Feb 18, 2012 at 1:45 am
  • How to enlarge a thumnail ,when somebody click on it in ruby on rails ?? is there any gem for it? please help . -- Thanks Regards Amrit Pal amritpalpathak.blogspot.com -- You received this message ...
    Amrit Pal PathakAmrit Pal Pathak
    Feb 12, 2012 at 2:04 pm
    Feb 12, 2012 at 3:40 pm
  • Hi I was hoping someone could put me in the right direction or help with this query. I have created an admin user via Devise, I can log in fine and direct to the correct page. What i would like to do ...
    Richard l.Richard l.
    Feb 1, 2012 at 7:58 pm
    Feb 4, 2012 at 11:12 am
  • Hello All, I am working with rails in Windows xp platform since last 2 month or so.I have made some basic and simple rails CRUD app. But whenever I tried to put some authentication on top of the ...
    Pallav_bfsPallav_bfs
    Feb 2, 2012 at 7:43 am
    Feb 2, 2012 at 7:56 pm
  • now am selecting one date from table, so from that date i have to retrieve the day of week, day of month,year... Some ways i have tried but didn't get that, actually i had tried with current date. ...
    AmvisAmvis
    Feb 2, 2012 at 9:06 am
    Feb 2, 2012 at 3:33 pm
  • Hi all, I am currently doing work on my rails project and have hit a wall. I am quite new to Rails so at the moment only know a little bit about it. I have a users table and a games table. At the ...
    Christopher JonesChristopher Jones
    Feb 1, 2012 at 1:17 am
    Feb 1, 2012 at 7:46 pm
  • I migrate my application from rails 2.3.11 to rails 3.2.1 My models class Campaign < ActiveRecord::Base has_many :campaign_reports end class CampaignReport < ActiveRecord::Base belongs_to :campaign ...
    Manish N.Manish N.
    Feb 24, 2012 at 1:28 pm
    Feb 25, 2012 at 9:15 am
  • I am currently writing a search method for my rails applications and at the moment it works fine. I have the following in my game.rb: def self.search(search) if search find(:all, :conditions = ...
    Christopher JonesChristopher Jones
    Feb 21, 2012 at 3:42 pm
    Feb 22, 2012 at 4:45 pm
  • Hello guys, I didn't touch ror for a while. Today i tried to upload an easy static page to heroku. I got the error: we're sorry but something went wrong. So i researched a bit and found out that i ...
    GenjiGenji
    Feb 14, 2012 at 9:58 pm
    Feb 15, 2012 at 2:26 am
  • Hello, I have in my db a register what have special characters, and when I try to put on my form to edit this values, this happens: incompatible character encodings: UTF-8 and ASCII-8BIT Extracted ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Feb 7, 2012 at 2:21 am
    Feb 14, 2012 at 12:59 am
  • Please let me know your interest in following. Location: Columbia, SC Duration: 12 months+ Rate: $65/hr 1099/c2c Required Skills: RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND ...
    Sandeep JainSandeep Jain
    Feb 7, 2012 at 6:45 pm
    Feb 10, 2012 at 2:45 pm
  • Hi I have problem trying to pass the signin failure test. This is the test code of the sessions_controller.rb def create user = User.authenticate(params[:session][:email], ...
    JeanJean
    Feb 3, 2012 at 4:37 pm
    Feb 3, 2012 at 8:30 pm
  • Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails new test1"" I have very strange problem. I try to run this simple command "rails new test1" -- this ...
    Steve RobinSteve Robin
    Feb 1, 2012 at 8:04 pm
    Feb 2, 2012 at 4:07 pm
  • Hello, I'm trying to make ActiveResource work with nested attributes and the fields_for tag. I started with a typical Rails application, with two ActiveRecord models with one to many relationship ...
    Dimas CyriacoDimas Cyriaco
    Feb 21, 2012 at 2:02 pm
    Mar 3, 2012 at 10:29 am
  • Hi, does anyone know how to compare to arrays not considering their order? For example: if I compare [1, 4, 2] with [4, 1, 2], this should return true. Thanks in advance. -- You received this message ...
    Rodrigo RuizRodrigo Ruiz
    Feb 27, 2012 at 10:04 pm
    Feb 28, 2012 at 2:03 am
  • HI all, I have just setup the ROR environment on a vps, but once i created the app and run rails s or db:create after modifying the database.yml it keeps on appearing with the "Could not find gem ...
    Paul NaPaul Na
    Feb 27, 2012 at 3:49 pm
    Feb 27, 2012 at 6:34 pm
  • Hello all, I am attempting to add some jquery to an application that I am developing but I am having trouble getting my newly created .js file to load. I have tried manually requiring my file in the ...
    VellVell
    Feb 15, 2012 at 6:13 pm
    Feb 21, 2012 at 8:04 pm
  • Hi, I need to export data to a PDF file with proper CSS as displayed in HTML. Could you please tell me what is the best and proper way to do this. Thanks, Nitin Mathur. -- You received this message ...
    Nitin MathurNitin Mathur
    Feb 18, 2012 at 4:33 pm
    Feb 20, 2012 at 9:58 pm
  • Hello, I call my Model in my Controller: class ProjectsController < ApplicationController def index @projects = Project.all end end my model: class Project < ActiveRecord::Base has_many :items end my ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    Feb 17, 2012 at 2:31 pm
    Feb 17, 2012 at 5:15 pm
  • Hi all, I am quite new to Rails. The code below loads a set of data from the database. When I click on one of the item from db, it will load more details of same item from database and display in the ...
    Lekkie LekkieLekkie Lekkie
    Feb 8, 2012 at 7:00 pm
    Feb 14, 2012 at 2:15 pm
  • I have a User model that can save two types of users: 1. Password-protected users (for this I need has_secure_password) 2. Facebook users (for this I don't need has_secure_password, but two different ...
    David MDavid M
    Feb 15, 2012 at 4:45 pm
    Apr 19, 2014 at 5:10 am
  • Hi, Please help me how to integrate barcode reader to ruby on rails application?Please give me sample code Regards, Shan -- Posted via http://www.ruby-forum.com/. -- You received this message because ...
    Shannu shanShannu shan
    Feb 14, 2012 at 12:36 pm
    Jan 2, 2014 at 2:25 am
  • I have developed a rails 3.1 application with mysql, accessable by internet However, I also need a version of the same application used standalone on the users PC or MAC, i.e a form of an off-line ...
    HansHans
    Feb 13, 2012 at 12:50 pm
    May 25, 2013 at 6:36 pm
  • Hi, I'm playing with RoR since Ruby 1.0, now I'm playing with 3.2. I have to merge/rewrite one ERP from standalone app client/server to web approach. Some of this part is made with PHP, but this part ...
    Raimon FsRaimon Fs
    Feb 20, 2012 at 5:33 pm
    Apr 23, 2012 at 1:55 pm
  • Guys help me please. How to convert this rails-cast to rails 3 ? I'm trying to convert it but still there is no luck. http://railscasts.com/episodes/88-dynamic-select-menus Thanks in Advanced. c",) ...
    Sly veranoSly verano
    Feb 6, 2012 at 6:42 am
    Apr 18, 2012 at 1:55 am
  • hi all, i am getting an error 'undefined method 'current' for 852:Fixnum', the error coming for following line <%if @expert_pagination.current.previous% <a href="#" class="darkgray1" ...
    Sachin kewaleSachin kewale
    Feb 28, 2012 at 11:26 am
    Feb 29, 2012 at 9:35 am
  • Hello, recently on one of y sites i have a weird ID problem one editing some pages. After edit I get an The page you were looking for doesn't exist. error. The Id of the editing page is 93 but in log ...
    AdamAdam
    Feb 18, 2012 at 11:21 am
    Feb 20, 2012 at 9:57 am
  • Hello So i am trying to learn Ruby and Rails. My biggest problem right now is my platform. Any good setup for ruby on rails for windows? or would it just be easier to put unix/lynics on my computer. ...
    Jeff KyzerJeff Kyzer
    Feb 16, 2012 at 10:12 am
    Feb 17, 2012 at 6:12 am
  • Hi, I'm trying to use annotate to document my model classes. Two of the models don't work, though, with the following errors: $ bundle exec annotate --position before Unable to annotate ...
    Cassiano LealCassiano Leal
    Feb 16, 2012 at 10:12 am
    Feb 16, 2012 at 5:52 pm
  • Hi, I am new to Ruby on Rails. I am trying to use 'check_box_tag' to delete multiple tags(objects) at a time. I want to store checked tag_ids into a hash. And I should be able to delete all checked ...
    Ajit TeliAjit Teli
    Feb 15, 2012 at 10:36 am
    Feb 16, 2012 at 6:48 am
  • Hi! I updated my application from Rails 3.1.x to 3.2.1. I followed the update instructions in the Rails Guide which hardly requires any modifications apart from development mode. On my local machine ...
    JavintoJavinto
    Feb 2, 2012 at 4:58 pm
    Feb 12, 2012 at 10:53 pm
  • Hi I want my admin user to create news posts that are the viewed on the public News page. I was thinking that this could be achieved by having the admin user create "Blogs", but i only want the admin ...
    Richard l.Richard l.
    Feb 4, 2012 at 11:38 am
    Feb 5, 2012 at 3:47 pm
  • Hi all, i'm a bigginer in rails, i used before a j2ee there was a method request.getParameterValues(param_name) that return array of parameters values than have the same name is there like that ...
    M.SHM.SH
    Feb 23, 2012 at 8:20 pm
    Feb 23, 2012 at 10:00 pm
  • Can anyone help me? I have a problem that when I click on the search button I get the following error message: ActionView::MissingTemplate in Searches#show Showing ...
    Roger PatrickRoger Patrick
    Feb 22, 2012 at 7:02 pm
    Feb 22, 2012 at 9:06 pm
  • I have limited screen space for a table that I'm displaying, so I'm showing a truncated view of a description field: <td <%= simple_format car.description.truncate(200, :separator = ' ') % </td I ...
    DonDon
    Feb 19, 2012 at 7:11 am
    Feb 20, 2012 at 2:49 pm
Group Navigation
period‹ prev | Feb 2012 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions499
posts1,678
users295
websiterubyonrails.org
irc#RubyOnRails

295 users for February 2012

Zhou qing: 474 posts Colin Law: 139 posts Peter Vandenabeele: 73 posts Walter Lee Davis: 46 posts Valery Kvon: 41 posts Javier Quarite: 38 posts Dave Aronson: 35 posts Michael Pavling: 29 posts Amvis: 19 posts Erwin: 18 posts Soldier.coder: 18 posts Dev Guy: 16 posts Bruno Meira: 13 posts Don: 12 posts Everaldo Gomes: 12 posts Greg Akins: 11 posts Hassan Schroeder: 11 posts Mauro: 11 posts San: 11 posts Honey ruby: 10 posts
show more