FAQ

Search Discussions

257 discussions - 836 posts

  • HI , I have a state and country drop down in my client form and i want that state to be populated when a country is selected, How ever iam struggling on it... i dont want to implement plain ...
    AJAJ
    May 2, 2012 at 1:57 pm
    May 5, 2012 at 7:25 am
  • Hello all, I have been struggling all day with getting css files to load in my application. I am attempting to use the rails-ui-themes gem to help style my application but right now just getting ...
    VellVell
    May 25, 2012 at 9:57 pm
    May 30, 2012 at 3:56 pm
  • Hello, I have a problem when I try to add the gem therubyracer. I put in my prompt: bundle install, and this error appears: C:\rails\organily bundle install Fetching gem metadata from ...
    Felipe Pieretti UmpierreFelipe Pieretti Umpierre
    May 31, 2012 at 9:02 pm
    Aug 18, 2014 at 11:10 am
  • write a Ruby on Rails web application that uses Twitter Bootstrap for its design and has one action that will fetch this page using the mechanize gem ...
    Prajwal B.Prajwal B.
    May 16, 2012 at 4:17 am
    Jun 14, 2012 at 10:06 am
  • I am using Project fedena <http://projectfedena.org/ for School Management software a ROR application. i want to attach a biometric device for students & employee attendance , any one can suggest me ...
    Ashutosh vermaAshutosh verma
    May 31, 2012 at 12:43 pm
    Jun 7, 2012 at 5:30 am
  • #user.rb ------ Model class User < ActiveRecord::Base attr_accessible :email, :name, :password, :password_confirmation has_secure_password before_save :create_remember_token . . . . . . . private def ...
    5T41N55T41N5
    May 12, 2012 at 8:06 am
    May 14, 2012 at 7:41 pm
  • I am using rubyzip and am trying to put a huge csv file with 1.4 million rows into the zip file. Using jruby I get a out of heap error. I believe the error happens in the block below ...
    JedrinJedrin
    May 9, 2012 at 4:52 pm
    May 11, 2012 at 8:48 pm
  • Hi! I'm a RoR beginner and I'm trying to make a gem that can "intercepts" all action from my controllers. I would like to do something like that: class ApplicationController < ActionController::Base ...
    Lauro CaetanoLauro Caetano
    May 12, 2012 at 12:23 am
    May 12, 2012 at 2:03 am
  • *controller* @update_coupon = JSON.parse(get_updatecpn.body) * * *view* 1, <% @update_coupon.each do |doc| % 2, <% if doc["value"] == 2 % 3, <%end% Here the *@update_coupon* getting from ...
    AmvisAmvis
    May 22, 2012 at 1:29 pm
    May 22, 2012 at 2:57 pm
  • I'm struggling to install therubyracer gem. Using CentOS 6.2 x86_64, ruby 1.9.3p194, gem 1.8.24, libv8 (3.10.8.0, 3.3.10.4 x86_64-linux) Trying to install therubyracer gives me: Building native ...
    Tfp44Tfp44
    May 18, 2012 at 2:19 pm
    Nov 1, 2013 at 10:59 am
  • I have a model, Work, that when I create a new instance with incorrect field data does not call the validation methods. When I update an existing instance with the same incorrect fields the ...
    FlapsFlaps
    May 31, 2012 at 7:50 pm
    Jun 4, 2012 at 3:28 pm
  • Hi all! I've googled all over and I couldn't find anything about chaining scopes with OR instead of the default AND. I have an Asset model with the following scopes: class Asset < ActiveRecord::Base ...
    Gustavo de Sá Carvalho HonoratoGustavo de Sá Carvalho Honorato
    May 18, 2012 at 5:23 pm
    May 22, 2012 at 7:47 pm
  • I'm using rails 3.2.3 and am having issues with mass assignement. I have a Hotel model and a Hphoto model (integrated with paperclip) I have tried almost everything and still get mass-assignement ...
    Miguel A.Miguel A.
    May 9, 2012 at 3:42 pm
    May 10, 2012 at 9:34 am
  • hi there!! I'm just trying to run a script that adds certain methods to all ActiveRecord::Base descendants, but what happens is that it seems that all models are loaded after the application runs ...
    Guillem VidalGuillem Vidal
    May 6, 2012 at 7:22 pm
    May 8, 2012 at 12:53 am
  • I am in immediate need of a Ruby on Rails Developer to help us complete a project. The majority of our application is already built and it's running on our development web server, we just need to ...
    JasonJason
    May 7, 2012 at 3:02 pm
    Dec 7, 2012 at 9:06 am
  • require 'rubygems' require 'nokogiri' require 'sqlite3' FIELD_NAMES = [['selectcity', 'VARCHAR'],['match', 'VARCHAR'], ['phone_no', 'NUMERIC'], ['name', 'VARCHAR'],['address', 'VARCHAR'] ] ...
    Prajwal B.Prajwal B.
    May 26, 2012 at 3:46 pm
    May 27, 2012 at 6:34 am
  • I'm running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a ...
    Scott EisenbergScott Eisenberg
    May 16, 2012 at 2:42 am
    May 17, 2012 at 11:11 am
  • I'm working on creating a model that allows redirect to another instance of the same type (Page). For obvious reasons, I don't want it to be able to redirect to itself. How can I get the model to ...
    TuckieTuckie
    May 14, 2012 at 1:11 pm
    May 15, 2012 at 9:52 am
  • Howdy, Using rails 3.2.3 and ruby 2.0.0dev. Running rails s, doesn't seem to include the javascript. This causes Delete/destroy to never work. It just defaults to a GET and thus show. I tested this ...
    BeauBeau
    May 10, 2012 at 1:26 pm
    May 11, 2012 at 1:02 pm
  • I to the part of the tutorial where a User model is created. It has the following attributes: # id :integer(4) not null, primary key # name :string(255) # email :string(255) # created_at :datetime ...
    MikeMike
    May 5, 2012 at 1:25 pm
    May 11, 2012 at 8:35 am
  • Hi, I am trying to install the ruby-odbc gem on windows 2008 server Enterprise SP2 64 bit version I have installed the devkit for ruby and it is also getting installed. When trying to install this ...
    Raghuram DuvvuriRaghuram Duvvuri
    May 4, 2012 at 11:56 am
    May 7, 2012 at 1:09 pm
  • I get image url via API. It usualy have 360x200 but sometimes 233x350 etc.. I would like to crop them all to specific size 260x186. And show them using <%= image_tag image_url if hotel.images.first % ...
    RegedarekRegedarek
    May 16, 2012 at 8:20 pm
    Dec 25, 2013 at 2:21 am
  • I have an existing rails backend website which makes json ajax calls to my server and I was passing csrf tokens in every ajax call. Now,I am developing a mobile iOS app to use the same backend and ...
    AnishAnish
    May 20, 2012 at 11:26 pm
    Dec 30, 2012 at 2:27 am
  • Hey everybody I'm sorry, I know that this question seems to arise every few moments, but I think in my case it's a bit special (but doesn't everybody?). Well, I'm working with RoR on a private level ...
    Joshua MuheimJoshua Muheim
    May 22, 2012 at 8:12 am
    May 31, 2012 at 8:19 pm
  • I am still learning Rails, I've read some books and did some hands on at codeschool.com and now I'm trying to write my first simple app from scratch. I'm using devise for authentication, but since i ...
    Steve KnitSteve Knit
    May 29, 2012 at 11:56 am
    May 29, 2012 at 1:55 pm
  • Hi guys, I'm starting to write tests and I writing a functional test for my 'create' action. So, basically I have the following test: describe '#create' do @attributes = { title: 'New post', ...
    Kleber ShimabukuKleber Shimabuku
    May 23, 2012 at 5:51 pm
    May 28, 2012 at 5:19 am
  • I have problems on a simple design problem. I have many companies. Each company have one or more commercial activity. Activities types are: ecommerce, local unit, television, automatic vending ...
    MauroMauro
    May 10, 2012 at 2:57 pm
    May 11, 2012 at 7:30 am
  • Rails 3.1.3 I have a table 'Contribution' having a column, 'price' which must be integers. validate :price = true, :numericality = { :only_intger = true } then, in creating a new Contribution DB, I ...
    Soichi IshidaSoichi Ishida
    May 4, 2012 at 7:16 am
    May 5, 2012 at 4:02 am
  • Hi, I have a Ruby on Rails application. I am able to run it in my local system using Apache2 server. I would like to host my application so that all the systems in the private network 192.168.3.0/24 ...
    Ajit TeliAjit Teli
    May 3, 2012 at 9:15 am
    May 3, 2012 at 1:33 pm
  • Hi All, I'm building an app that compares statistics from sports games. Each statistic has an "action" that defines what happened at that point in time, for example "player has possession" is one ...
    Michael BaldockMichael Baldock
    May 24, 2012 at 3:05 pm
    May 29, 2012 at 11:38 am
  • Hi, This is my application.js /* *= require_self *= require_tree . */ And I'm calling it in layout as <%= javascript_include_tag "application" % and it is working perfectly in development mode. But ...
    Avantec VanAvantec Van
    May 28, 2012 at 1:03 pm
    May 28, 2012 at 9:08 pm
  • On input in a text area, the user can se the return key which generate a \r\n inside the string the address is stored per se the way it was keyed in .. @partner[:bank_location] = "92, Place Honoré ...
    ErwinErwin
    May 16, 2012 at 3:25 pm
    May 17, 2012 at 8:23 am
  • SapnaSolutions is looking to add a rails developer to their in-house development team. We’re looking for someone who wants to hone their Rails skills on challenging projects while learning from web ...
    Roshani RathodRoshani Rathod
    May 11, 2012 at 8:51 am
    May 12, 2012 at 9:09 pm
  • Hi..I would be happy to get some support. What I want is: 1. a query field #type in some letters looking for a name 2. a dynamic updated list according to the typed-in letters What I have: #view <%= ...
    WernerWerner
    May 10, 2012 at 7:19 am
    May 11, 2012 at 10:34 am
  • Hey, I im using Rails 3.2.3 for my app, and everything its ok when I run rails s. But when I go to the browser i got this: ActiveRecord::ConnectionNotEstablished And this is the full trace ...
    ViicviicviicViicviicviic
    May 2, 2012 at 6:18 am
    May 5, 2012 at 2:03 am
  • I have User, Account, and Role models. The Account model accepts nested properties for users. This way users can create their account and user records at the same time. class AccountsController < ...
    Mohamad El-HusseiniMohamad El-Husseini
    May 1, 2012 at 4:05 pm
    May 4, 2012 at 1:54 pm
  • In routes.rb I have this: resources :presentations do post "save_stuff", :on = :member end In PresentationsController I have this: def save_stuff ... end And in my form I have this: <%= form_for ...
    Neil ChaudhuriNeil Chaudhuri
    May 15, 2012 at 10:54 pm
    Jun 22, 2013 at 5:43 am
  • I am working on a project to connect a jena semantic web database to rails. I'd like to know if anyone has experience using rails with an RDF data backend? I found limited information about ...
    Yin AphinyanaphongsYin Aphinyanaphongs
    May 17, 2012 at 11:10 am
    Nov 13, 2012 at 9:01 pm
  • hi all i'm trying to know how to show a photo preview before uploading a pic in rails can any one help me out . Thanks in advance -- You received this message because you are subscribed to the Google ...
    Honey rubyHoney ruby
    May 30, 2012 at 6:55 am
    Jun 3, 2012 at 2:41 pm
  • I'm trying to use CanCan to an account scoped application. I wrote this method in my ability class: roles = user.roles.find_by_account_id(account.id) if roles.any? { |role| role.type == "Ownership" } ...
    Mohamad El-HusseiniMohamad El-Husseini
    May 31, 2012 at 5:04 pm
    May 31, 2012 at 5:42 pm
  • Hi All, The Linux box I was using to do my rails development had the hard disk upgraded and restarted. Now I am getting the following warnings when I use script/console or script/server Loading ...
    Gurdipe DosanjhGurdipe Dosanjh
    May 30, 2012 at 9:44 am
    May 30, 2012 at 3:48 pm
  • Hi, i need a user sign in page which has user name and password, which uses oauth which allows us to post tweets to twitter and post to facebook as well. What is the best method to proceed? Any ...
    Martin devapitchaiMartin devapitchai
    May 28, 2012 at 3:19 pm
    May 29, 2012 at 12:11 pm
  • Hi friends! I'm relatively new with Rails and I'm struggling for a long time with this problem (it should have a pattern solution but until now I didn't find it): I have the following models ...
    LuisRubyLuisRuby
    May 28, 2012 at 3:37 am
    May 28, 2012 at 10:31 pm
  • hi, all i want a rails job, part time or remotely i have worked with rails for 4 years,i just want to learn english and do not care about the salary of this job if you hava, contact me! -- You ...
    Alex GAlex G
    May 17, 2012 at 11:10 am
    May 26, 2012 at 9:00 am
  • *view.html* <%= submit_tag "act",*:id = params[:id]*, :class = "*actcpn* btn btn-success" % *.js* * * $(".*actcpn*").click(function() { $.ajax({ type: "PUT", url ...
    AmvisAmvis
    May 23, 2012 at 6:18 am
    May 25, 2012 at 12:22 am
  • I am working with Railsspace social networking book. I stuck in the problem when i am doing paginate for the search result. It gives the following error. NoMethodError in CommunityController#index ...
    Amir Z.Amir Z.
    May 22, 2012 at 1:37 pm
    May 24, 2012 at 8:23 pm
  • If you are experienced rails developer please let me know. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" ...
    Suraj B.Suraj B.
    May 21, 2012 at 9:57 pm
    May 23, 2012 at 7:16 am
  • When i am installing ferret. It is giving following error. ERROR: could not find gem ferret locally or in a repository. Any help is appreciable. Thanks Amir -- Posted via http://www.ruby-forum.com/ ...
    Amir Z.Amir Z.
    May 21, 2012 at 11:58 am
    May 23, 2012 at 6:28 am
  • Hello, I'm writing a mail-merge application with Ruby on Rails. I have one user-created template, wich he creates with a CKEditor (in HTML). I have a list of members, and in the "mailings" controller ...
    Marc C.Marc C.
    May 22, 2012 at 3:00 pm
    May 22, 2012 at 10:43 pm
  • Hi, i'm starting now with rails, and i have simply question. I need to render two partials in one ajax call: I have the following controller: # GET /hosts/1 # GET /hosts/1.json def show @host = ...
    Joao MartinsJoao Martins
    May 21, 2012 at 2:53 pm
    May 22, 2012 at 1:21 pm
Group Navigation
period‹ prev | May 2012 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions257
posts836
users205
websiterubyonrails.org
irc#RubyOnRails

205 users for May 2012

Vivek G.: 185 posts Jeremy Walker: 49 posts Colin Law: 48 posts Frederick Cheung: 23 posts Akshar jamgaonkar: 20 posts Jedrin: 19 posts Michael Pavling: 19 posts Azizmb.in: 18 posts Mauro: 13 posts Amvis: 12 posts Aziz Bookwala: 12 posts Erwin: 11 posts Honey ruby: 10 posts Matt Jones: 10 posts Vell: 10 posts Luis Lavena: 9 posts Dheeraj Kumar: 8 posts Mohamad El-Husseini: 8 posts Regedarek: 8 posts Walter Lee Davis: 8 posts
show more