FAQ

Search Discussions

106 discussions - 328 posts

  • Hi, everyone, I've learned Rails(Web development) on my own for two months, and came to a situation like this: There are two tables A and B in my database. A 'has_many` B. For every user input, There ...
    Yongbiao LongYongbiao Long
    Oct 12, 2014 at 8:51 am
    Nov 4, 2014 at 6:55 pm
  • So I'm creating a tv trivia game app, and when a user completes their quiz, I need to update certain aspects of the user (level/xp, also saving some of their answers to the database). However, I'm ...
    Joseph WilksJoseph Wilks
    Oct 7, 2014 at 1:14 am
    Oct 7, 2014 at 10:53 pm
  • I am on win7. I installed ruby 2.0.0 but I don't know how tu install rails 4.0.8. I need this enviroment for Ruby on Rails tutorial. Thank's -- You received this message because you are subscribed to ...
    Darko VulinDarko Vulin
    Oct 10, 2014 at 9:43 am
    Oct 14, 2014 at 4:09 pm
  • All my tables/models have a "revision" field, and I have a before_update callback to increment the revision field. Among my tables are: events rooms events_rooms In my Event model, I have: has_many ...
    Brian SammonBrian Sammon
    Oct 15, 2014 at 9:02 pm
    Oct 16, 2014 at 9:29 pm
  • Hi, I am trying to setup RoR on my test developer node, and I have some difficulties when I created my new application. I noticed that the “script” directory is not created, which it does not allow ...
    Juan TorresJuan Torres
    Oct 6, 2014 at 8:18 am
    Oct 20, 2014 at 1:09 pm
  • I'm developing a polling application that will deal with an average of 1000-2000 votes per second coming from different users. In other words, it'll receive 1k to 2k requests per second with each ...
    LZ OlemLZ Olem
    Oct 8, 2014 at 1:15 pm
    Oct 9, 2014 at 11:15 am
  • This is my code for my index.html.erb scaffold as you can see the if else stops a user to "show, edit or destroy" the entries. However, they can create a new Rota entry by clicking New Rotum. I can ...
    Mohammed RashidMohammed Rashid
    Oct 6, 2014 at 10:53 am
    Oct 8, 2014 at 4:51 pm
  • I'm using *Rails-api* with *mongoid*. I try to upload user avatar using *Carrierwave* from a *remote url*. I got the*remote url* form *omniauth-facebook* image params. The problem is the *avatar* ...
    Adham El-DeebAdham El-Deeb
    Oct 3, 2014 at 7:05 am
    Oct 3, 2014 at 8:38 pm
  • My boss is finally willing to listen to moving to a quality open sourced platform for our e-commerce web site, but she needs 'concrete examples' to believe that moving to ruby on rails is a good ...
    JohnelahrJohnelahr
    Oct 29, 2014 at 10:17 pm
    Nov 5, 2014 at 9:59 pm
  • Hello rails! I have a question for you and maybe I will get some help :) I want to prefix my url routes at the end of the url example: *www.example.com/rails/_rb* or *www.example.com/foo/bar/_br* Any ...
    Claudiu ClauClaudiu Clau
    Oct 30, 2014 at 3:14 pm
    Nov 2, 2014 at 7:46 pm
  • Hey guys I'm completely lost at this point I'm trying to make a simple app that takes an input in the form of a string ("City, State") and sends that string to the google_places gem to do ...
    Dominic MonacoDominic Monaco
    Oct 21, 2014 at 9:02 pm
    Oct 22, 2014 at 12:41 pm
  • I have an application (rails 3.2, ruby 1.9) in production I just want to change one file in the application and I am not deploying the whole application What do I have to do ? If it is e.g a ...
    HansHans
    Oct 13, 2014 at 3:47 pm
    Oct 14, 2014 at 8:23 am
  • Email Address:<span class="m_body_email_addr" title="740e41374dfaafa94c3e648935049e44" richardlenawasae@gmail.com</span Hi Guys, I'm still new on Ruby on Rails and am now developing a real world ...
    Richard LenawasaeRichard Lenawasae
    Oct 4, 2014 at 7:32 am
    Oct 6, 2014 at 2:53 pm
  • I believe, there's inconsistency between how Rails and curl normalize header names. If I do a `curl -H "some_header: value"` it will send the header as `HTTP_SOME_HEADER`. Then in Rails controller I ...
    RomanRoman
    Oct 18, 2014 at 8:49 pm
    Oct 23, 2014 at 9:13 am
  • I am new RoR developer. By now, I've learn rails MVC concept and build some application. I've tried to export the data on screen to report (pdf or excel file) but do not work yet. If anyone have any ...
    Piyhawat sudsriPiyhawat sudsri
    Oct 19, 2014 at 9:21 am
    Oct 20, 2014 at 8:31 pm
  • Good day, I'm a beginner in rails I already develop a simple app in rails but i want to upgrade the app to be an ajax, I already created the first model customer but in the second model project where ...
    Pepeng AgimatPepeng Agimat
    Oct 18, 2014 at 4:29 pm
    Oct 20, 2014 at 1:49 pm
  • Is there a way for me to do that on ruby ? class Foo def self.class_name self.class.name end end class Bar < Foo end class Tar < Foo end Bar.class_name = 'Bar' Tar.class_name = 'Tar' I want to get ...
    Alexandre CalvãoAlexandre Calvão
    Oct 10, 2014 at 3:17 am
    Oct 13, 2014 at 3:32 pm
  • Hey I am just curious when i finish my application (but haven't yet) can you post the application online and if so how do u do it as to submit my assignment i would be to difficult without putting it ...
    Aspiring.Student.programmerAspiring.Student.programmer
    Oct 12, 2014 at 11:40 pm
    Oct 13, 2014 at 1:16 pm
  • Hello Evereyone...! I am trying to create rails application like slideshare, I had properly upload my ppt file in to database when I want to perform/display that particular presentation file. How can ...
    Sai ChSai Ch
    Oct 9, 2014 at 10:27 am
    Oct 10, 2014 at 1:16 pm
  • I volunteer for a non-profit with a Ruby on Rails app and they recently lost their web developer. I have done a lot of programming from Perl to PHP and ASP, but never RoR. I've become somewhat ...
    Robert FitzpatrickRobert Fitzpatrick
    Oct 29, 2014 at 9:49 pm
    Oct 31, 2014 at 2:29 pm
  • I have a single table in which I store favourite dishes of users. A user can have more than one entries in the table. I have generated a view to show all the entries in the table but how do I create ...
    Sonali KataraSonali Katara
    Oct 28, 2014 at 7:02 am
    Oct 29, 2014 at 2:31 pm
  • I'm building a backend for a web-design created by someone else (that I'm working with). I've been provided with a bunch of html files (most, but not necessarily all, to be converted to html.erb ...
    Brian SammonBrian Sammon
    Oct 7, 2014 at 6:53 pm
    Oct 28, 2014 at 6:11 am
  • Hi Guys, I have a table with several thousand records in it. They take a long time to load and are essentially useless presented altogether.. I'd like present the user a search form to select a ...
    Mike RoodMike Rood
    Oct 26, 2014 at 12:08 am
    Oct 26, 2014 at 4:50 pm
  • Hey I am adding another database to my first one and i created the html to work showing the data but when i want to create a new entry this error occurs. I have a new controller with everything in it ...
    Aspiring.Student.programmerAspiring.Student.programmer
    Oct 20, 2014 at 10:56 pm
    Oct 26, 2014 at 1:59 pm
  • *POSITION: TECHNICAL DEVELOPER* *START DATE: November 1st 2014* Job Category: Information Technology, Healthcare, Medical, Pharmaceutical Hours: Monday to Friday, Days; Standard 40 hours per week ...
    David ZimmerDavid Zimmer
    Oct 21, 2014 at 7:43 pm
    Oct 22, 2014 at 7:17 pm
  • Hey all, that's the first time I'm posting here. I'm really a newbie, I did only the blog in "Getting Started with Rails" I'd like to continue testing Rails but I wonder how to switch from SQLite3 to ...
    Yvon ThoravalYvon Thoraval
    Oct 21, 2014 at 7:17 am
    Oct 22, 2014 at 6:24 am
  • Hello, I want to restrict my users having more than one address. Here are the definitions from my classes : class User < ActiveRecord::Base has_one :address, dependent: :destroyendclass Address < ...
    GeorgeFromTheBankGeorgeFromTheBank
    Oct 8, 2014 at 1:21 pm
    Oct 20, 2014 at 1:01 pm
  • Buenos Días, estoy haciendo una aplicación de pedidos en linea en Ruby On Rails y tengo un problema que no e podido solucionar Mi problema son el manejo de las variables en rails. uno de los ...
    Esteban PenagosEsteban Penagos
    Oct 15, 2014 at 8:56 pm
    Oct 18, 2014 at 3:04 pm
  • I posted a question on stackoverflow seeking help. I;ve been asking on the ruby on rails IRC channel as well. I'm not sure how to fix this issue. I am new to ruby on rails and I having a hard time ...
    Bradford liBradford li
    Oct 15, 2014 at 7:46 am
    Oct 15, 2014 at 9:14 am
  • People have complained that it takes far longer to create a basic app in Rails than in Drupal, PHP, and other technologies. I've decided to do something about it by streamlining the process of ...
    Jason Hsu, RubyistJason Hsu, Rubyist
    Oct 8, 2014 at 3:50 am
    Oct 9, 2014 at 1:46 pm
  • Im building a web app based on a web design consisting of .html and .js files created by our web designer. The html files that I received have <script tags pointing at the .js files, which should all ...
    Brian SammonBrian Sammon
    Oct 8, 2014 at 5:03 pm
    Oct 8, 2014 at 6:21 pm
  • Hello everybody! I am displaying a table with data coming from an xml so I'm stepping through the array and assembling the elements of each row. Each line has a check_box_tag to select the elements ...
    Alessandra PadovamAlessandra Padovam
    Oct 7, 2014 at 1:24 pm
    Oct 7, 2014 at 6:51 pm
  • Hello. I thought of adding a method in ActiveSupport that would be able to truncate custom precision amounts from a `DateTime` object. For example: DateTime.now.truncate_precision(sec: 10) # = a new ...
    PowiPowi
    Oct 6, 2014 at 12:18 pm
    Oct 6, 2014 at 2:28 pm
  • Email Address:<span class="m_body_email_addr" title="740e41374dfaafa94c3e648935049e44" richardlenawasae@gmail.com</span Hi, I'm developing a heavy project using Ruby on Rails, and I already have a ...
    Richard LenawasaeRichard Lenawasae
    Oct 3, 2014 at 2:04 pm
    Oct 3, 2014 at 3:32 pm
  • I do a create on an Active Record model in a controller and it's doing something strange. It's primary key (id) is nil, created/updated are nil as well. A few of the columns/attributes are nil as ...
    Jan YoJan Yo
    Oct 1, 2014 at 1:17 am
    Oct 1, 2014 at 2:52 pm
  • Consider this schenario where I'm having pagination on a page @recordings = Recording.order(:title).page(params[:page]).per(4) puts params[:page]@recordings.each do |recording| puts recording.id end ...
    Max GrønlundMax Grønlund
    Oct 28, 2014 at 2:22 pm
    Nov 5, 2014 at 3:05 pm
  • Hi group, We're working as a team of programmers and for most of us, when we run rake db:migrate, we get our datetime columns to show up with the datetime datatype in the schema.rb file, but for ...
    Bertly_the_coderBertly_the_coder
    Oct 28, 2014 at 11:51 am
    Oct 28, 2014 at 3:56 pm
  • *The Problem* I wonder how many people (I'm one of them) started with basic Rails applications serving HTML, JSON, or both, and eventually ran into a point where certain parts of the application ...
    Eugene GilburgEugene Gilburg
    Oct 27, 2014 at 2:22 am
    Oct 27, 2014 at 3:54 am
  • Hi, I've code like this x_data = Model.where(column: 'xyz') and I wanted to use 'x_data' everywhere like models, controllers, helpers, etc. I used in this way module Global X_DATA = ...
    Avantec VanAvantec Van
    Oct 22, 2014 at 6:19 am
    Oct 23, 2014 at 10:04 am
  • What's the current best practice for getting the userID from the sesson, and having it be part of every newly created/modified record? I have an app with a Club model and a People model, and a ...
    Brian SammonBrian Sammon
    Oct 20, 2014 at 5:34 pm
    Oct 20, 2014 at 7:00 pm
  • Panzer Technologies is well prepared to provide the best staffing solutions and when it comes to ruby on rails development, it stands out as a distinguished company, with required expertise in ROR ...
    Adam GilchristAdam Gilchrist
    Oct 16, 2014 at 1:17 pm
    Oct 20, 2014 at 12:20 pm
  • Hi, I need to add a required class in gender radio button. How this can be done. <td colspan="2" <label for="stay_connected_form_gender" I am <span class="astris" *</span </label <%= f.radio_button ...
    M,Gopi M.gopinathM,Gopi M.gopinath
    Oct 17, 2014 at 7:46 am
    Oct 17, 2014 at 11:10 pm
  • The hard drive on my Macbook recently failed. A local shop replaced it and restored data from the failing drive. Thereafter, I couldn't start the the rails server on rails apps that previously had ...
    Mike RoodMike Rood
    Oct 15, 2014 at 5:39 am
    Oct 15, 2014 at 12:37 pm
  • I have an instance variable, @pages, which needs to be set up in a certain way at the end of several actions, so I thought to be clever and do it in the following way: # In my controller after_action ...
    Ronald FischerRonald Fischer
    Oct 8, 2014 at 3:06 pm
    Oct 10, 2014 at 8:19 pm
  • Hi, Please help here....When i try to migrate database "{name}" it shows an error says! ActiveRecord::DuplicateMigrationNameError:....... ("Multiple migrations have the name #{name}") and i'm sure i ...
    Richard LenawasaeRichard Lenawasae
    Oct 10, 2014 at 4:33 am
    Oct 10, 2014 at 5:43 pm
  • form_for defaults to 'new' if no :url is specified. Why doesn't it default to 'create' instead, since that is the most common scenario? -- You received this message because you are subscribed to the ...
    CandorCandor
    Oct 9, 2014 at 3:37 am
    Oct 9, 2014 at 1:47 pm
  • Excuse me I am a total beginer, but I want to learn programming in RoR. I have linux Ubuntu 14.04. How I can install it? Is there somewhere step by step instruction? Thanks. -- You received this ...
    BranoBrano
    Oct 6, 2014 at 10:22 am
    Oct 6, 2014 at 1:25 pm
  • Hi @ all, In a rails application I have a nested module in my library: module Foo module Bar def foo_bar image_path("my_asset.png") end end end Within `foo_bar` i can use `image_path`, a rails ...
    Martin TrummerMartin Trummer
    Oct 5, 2014 at 4:47 pm
    Oct 5, 2014 at 5:07 pm
  • Hello! I'm running a quick survey to learn about what makes Ruby on Rails developers like YOU happy <https://docs.google.com/forms/d/1fk2TJkMaGzbO5pThFFQKFhDgXQOEPUWFn1PS4n1-ZwU/viewform and what ...
    Pablo Alonso GarcíaPablo Alonso García
    Oct 3, 2014 at 8:44 am
    Oct 3, 2014 at 1:12 pm
  • I am developing an application in rails 3.2 with gem jquery-rails. I am using development mode, but will change to production soon. Then this error which I get in development mode -- No route matches ...
    HansHans
    Oct 2, 2014 at 10:07 am
    Oct 2, 2014 at 3:54 pm
Group Navigation
period‹ prev | Oct 2014 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions106
posts328
users110
websiterubyonrails.org
irc#RubyOnRails

110 users for October 2014

ZBoT ZBoT: 55 posts Colin Law: 31 posts Jason Fleetwood-Boldt: 26 posts Brian Sammon: 14 posts Matt Jones: 10 posts Vivek Sampara: 10 posts Hassan Schroeder: 8 posts Frederick Cheung: 7 posts Alexandre Calvão: 6 posts Yongbiao Long: 6 posts Ganesh Ranganathan: 5 posts Jason Hsu, Rubyist: 5 posts Hans Marmolin: 4 posts Pratap Patil: 4 posts Scott Ribe: 4 posts Adham El-Deeb: 3 posts Aspiring.Student.programmer: 3 posts Clayton Cottingham: 3 posts Darko Vulin: 3 posts Dominic Monaco: 3 posts
show more