Search Discussions

85 discussions - 326 posts

  • Dear Experts/Friends I created a model for and moved it to a sub folder in my model's directory. Then wrote in the existing controller named employee the below code to add roster duty. def ...
    Naveed AlamNaveed Alam
    Mar 6, 2016 at 8:00 am
    Mar 7, 2016 at 7:43 pm
  • i have a fresh rails application called basic... i have boot strap working and looking to create a button that if pressed will launch a ruby script and display its live output as it happens.. ...
    Bigmac TurdsplashBigmac Turdsplash
    Mar 12, 2016 at 7:35 am
    Mar 16, 2016 at 8:27 am
  • I'm working on an app which has an image upload facility for users, I want users to be able to create 'albums' for their pictures. The way I'm thinking about implementing this is to have a hash in ...
    Johnny StewartJohnny Stewart
    Mar 22, 2016 at 7:25 pm
    Mar 23, 2016 at 10:48 am
  • Dear Friends, I have values in table for duties assigned on certain days ranges, e.g Monday to Tuesday, Wednesday to Friday. Now I want to show the duties assigned to a person on main screen if the ...
    Naveed AlamNaveed Alam
    Mar 13, 2016 at 9:53 am
    Mar 16, 2016 at 8:33 am
  • Dear friends, I get the following error when I goto the privilege page. NoMethodError in Employee#edit_privilege Showing app/views/employee/edit_privilege.html.erb where line #82 raised: You have a ...
    Naveed AlamNaveed Alam
    Mar 26, 2016 at 9:30 am
    Apr 1, 2016 at 2:09 pm
  • I am working on a project and I setup a has_many through relationship but am having a hard time figuring out how to display and edit it on a form. What I have is a Training Table, an Organization ...
    John SanderbeckJohn Sanderbeck
    Mar 9, 2016 at 2:43 pm
    Mar 10, 2016 at 4:42 pm
  • I've been trying to combine my own post with the users that I follow in chronological order DESC. Can you help me build the proper query method for it? What I currently have is the code below def ...
    David WilliamsDavid Williams
    Mar 2, 2016 at 6:47 pm
    Mar 2, 2016 at 11:06 pm
  • Hi, i have column name phone with integer datatype but when i enter phone number it throws an error "1325565488 is out of range for ActiveRecord::Type::Integer with limit 4" i have changed limit to 8 ...
    Ramu GoudRamu Goud
    Mar 24, 2016 at 9:49 pm
    Mar 27, 2016 at 11:55 am
  • I was following the tutorails in https://www.railstutorial.org/book/account_activation_password_reset#sec-activating_the_account for usr email activation. I successfully got the mail in development ...
    Aman AmanAman Aman
    Mar 24, 2016 at 5:09 pm
    Mar 30, 2016 at 8:13 pm
  • Currently I am working on a ROR code which uses rails paperclip gem. My requirement is, to process images as per its file extension. Case 1: If image type is “svg”, then do not process original ...
    Mar 15, 2016 at 8:28 am
    Mar 15, 2016 at 11:53 am
  • I have just installed ruby on rails on my window. and I was going through tutorials in http://guides.rubyonrails.org/v4.2/getting_started.html and I am getting this error (ExecJS::ProgramError in ...
    Aman AmanAman Aman
    Mar 22, 2016 at 6:52 pm
    Mar 23, 2016 at 9:03 am
  • Putting this in my application.css.scss does not load the sass library. *@import 'foundation.scss';* Even if I put this in my config. *config.sass.load_paths << Rails.root.join( 'vendor', 'assets', ...
    Justin StanczakJustin Stanczak
    Mar 15, 2016 at 1:54 am
    Mar 16, 2016 at 5:37 pm
  • Hi All! Another problem. I am using Rails 5.0.0.beta3 with a minor javascript file (115 lines). I have encountered the following problem several times in the past two days. In both earlier cases, I ...
    Donald ZiesigDonald Ziesig
    Mar 8, 2016 at 5:14 am
    Mar 10, 2016 at 8:22 am
  • Why doesn't the elasticsearch github page say anything about having to install elasticsearch as a service on the host and that it should be running on port 9200 I google this farraday error and all ...
    Fugee ohuFugee ohu
    Mar 10, 2016 at 11:11 pm
    Mar 12, 2016 at 4:54 pm
  • Hello everyone, I just started off with RoR and had a question. I wanted to link my 'Show All Posts' to my allposts.html.erb which will display all the posts that are created but I am having ...
    Hitesh SanchetiHitesh Sancheti
    Mar 6, 2016 at 10:59 pm
    Mar 8, 2016 at 8:27 am
  • Hi Everyone, I am having a problem getting Rails to render a page when it is called from javascript/ajax. I posted a detailed question on StackOverflow but no one has answered yet.(Rails 5 will not ...
    Donald ZiesigDonald Ziesig
    Mar 6, 2016 at 6:22 pm
    Mar 7, 2016 at 3:33 am
  • In my articles model, I created a scope that links categories to their respective articles posts. When I use the rails console, the method works perfectly when I query the db. article.rb scope ...
    David WilliamsDavid Williams
    Mar 9, 2016 at 9:52 pm
    Mar 11, 2016 at 4:39 pm
  • The top item generated is perfectly positioned, but the second and third items directly beneath with no padding in-between. Does ruby on rails automatically override css styling when new items are ...
    David WilliamsDavid Williams
    Mar 18, 2016 at 9:15 pm
    Mar 25, 2016 at 9:45 pm
  • Dear community, I have a small concern about remote true. I am building simple twitter site. Let's say user has "tweet" from on the main page and a list of tweets below. here is what I do: <%= ...
    Taras MatsykTaras Matsyk
    Mar 13, 2016 at 8:26 pm
    Mar 16, 2016 at 6:56 pm
  • Can anyone explain this? If in a terminal I run echo -e 'hello' I see, as one would expect, $ echo -e 'hello' hello However if I execute the command using irb I see $ irb 2.1.3 :001 system "echo -e ...
    Colin LawColin Law
    Mar 8, 2016 at 3:48 pm
    Mar 8, 2016 at 5:08 pm
  • Hi all, My name is Luis, and I'm a 16 years old guy from Spain. I would like to learn Ruby because I've seen is pretty cool and seems quite easy to learn. I tried to look for some spanish forums but ...
    Luis PieroLuis Piero
    Mar 3, 2016 at 7:40 pm
    Mar 8, 2016 at 8:14 am
  • how to install ruby on rails with mysql on ubuntu 15 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" ...
    Aman AmanAman Aman
    Mar 23, 2016 at 5:22 am
    Mar 24, 2016 at 9:26 am
  • I was going through tutorials in railstutorail.org. And I came up with users password using bycrypt I add the gem 'bcrypt', '3.1.7' line in gemfile now when I update it say : LoadError: cannot load ...
    Aman AmanAman Aman
    Mar 23, 2016 at 3:37 pm
    Mar 23, 2016 at 4:30 pm
  • Hi.. This is my first post in this forum. Kindly forgive if my problem doesnot meet your standard.. I am using the following gems gem 'will_paginate', '~ 3.0.6' gem 'will_paginate-bootstrap' ...
    Poombavai SivamaniPoombavai Sivamani
    Mar 19, 2016 at 6:23 am
    Mar 21, 2016 at 4:17 am
  • #rails #ruby #controller variable scope class UsersController < ActionController def create @val1 = "hello" @val2 = "end" end def method1 puts @val1 end def method2 puts "how can i access other ...
    Sai ChSai Ch
    Mar 17, 2016 at 10:44 pm
    Mar 18, 2016 at 8:17 am
  • <https://lh3.googleusercontent.com/-wJkpJ7YeOyg/VuE9F4r95uI/AAAAAAAAAB4/8Bv7mhfS8g8/s1600/Screenshot%2Bfrom%2B2016-03-10%2B14%253A53%253A13.png I was practicing rails by creating a food ordering ...
    Atchyut NagabhairavaAtchyut Nagabhairava
    Mar 10, 2016 at 3:54 pm
    Mar 17, 2016 at 1:53 pm
  • When I click the submit button, the form automatically refreshes the page. The console doesn't show any errors related to strong parameters as stated below. I will post the controller, _form view and ...
    David WilliamsDavid Williams
    Mar 9, 2016 at 12:00 am
    Mar 9, 2016 at 9:21 pm
  • Dear friends, I have a method named show_rosterduty in employee controller and and a view name show_rosterduty.html.erb in the authorization_rules I already set the name of method along with other ...
    Naveed AlamNaveed Alam
    Mar 8, 2016 at 7:38 am
    Mar 8, 2016 at 10:58 am
  • i installed rvm on 2 different machines with the same linux version, one i have to type `source ~/.rvm/scripts/rvm` the other i have to type `source /usr/local/rvm/scripts/rvm`, on the latter i get ...
    Fugee ohuFugee ohu
    Mar 5, 2016 at 9:23 pm
    Mar 6, 2016 at 12:28 am
  • Hi, I'm using AngularJS with Rails and I have a problem. My angular code makes several call to an API and all requests are displayed in the console. I think it's a problem because I'm exposing some ...
    Mar 4, 2016 at 12:03 pm
    Mar 4, 2016 at 12:26 pm
  • My project at https://github.com/jhsu802701/losemoneyfast is rated at 98.7% test coverage. I'm getting dinged for config/initializers/rack_profiler.rb . Is there something I can do to fix this or to ...
    Jason Hsu, Ruby on High Speed RailsJason Hsu, Ruby on High Speed Rails
    Mar 27, 2016 at 4:11 am
    Mar 29, 2016 at 5:27 am
  • Hi there, for version control of models I found that here: https://github.com/technoweenie/acts_as_versioned Its last updated 4 years ago, so I wonder if there isn't a newer package for that for ...
    Mar 26, 2016 at 12:07 pm
    Mar 26, 2016 at 2:37 pm
  • Hi..I want to make some of my text fields to auto fill with zero(0), when the user selects NA in dropdown.. How can I achieve that? Is there any rails way to do that?? I have seen lot of jquery to ...
    Poombavai SivamaniPoombavai Sivamani
    Mar 24, 2016 at 9:05 am
    Mar 24, 2016 at 10:05 am
  • I am using a form partial for updating and creating my users. Like: <%= form_for @user do |f| % Now rails automatically assigns the method post if the form corresponds with a nonexistent user and the ...
    Roman PppppRoman Ppppp
    Mar 23, 2016 at 6:39 pm
    Mar 23, 2016 at 7:15 pm
  • I have a rails application. It's quite a large site that allows the user to do many different things. One of the things is writing reports on people. I'm wanting to give the user the ability to ...
    David McDonaldDavid McDonald
    Mar 17, 2016 at 3:41 am
    Mar 17, 2016 at 11:59 am
  • Hi All! I am trying to get a rails postgres table ordered by the exact values of the ascii characters such that: <none Alpha Bravo Charlie ... Unfortunately, even when I try to escape the < ...
    Donald ZiesigDonald Ziesig
    Mar 12, 2016 at 12:49 am
    Mar 12, 2016 at 8:55 am
  • What I have is a list of audience types attending a training, and I would like to split the list of checked items into two or three columns instead of having one long list with checkboxes. Here is my ...
    John SanderbeckJohn Sanderbeck
    Mar 5, 2016 at 3:44 pm
    Mar 5, 2016 at 10:31 pm
  • Comentario: Vi por toda internet los tutoriales que dicen bajen esto para windows un paquete de la pagina railinstaller donde bajas un paquete y supuestamente con eso ya tenemos ruby and rails con ...
    Martin MoreMartin More
    Mar 27, 2016 at 1:44 pm
    Apr 1, 2016 at 4:30 pm
  • I am getting the following error in production environment "PG::DupliacatePstatement: Error: prepared statement already exists" Ruby version is 2.2.4 and Rails version is 4.1.3 I have the following ...
    Vivek BabuVivek Babu
    Mar 31, 2016 at 4:39 pm
    Mar 31, 2016 at 5:00 pm
  • I knew about rvm in this group about a month ago and I used it to create a project specific gemset for my first application with the --ruby-version option. This creates the '.ruby-version' and ...
    Mar 22, 2016 at 10:43 am
    Mar 22, 2016 at 11:49 am
  • How I put a mask on login with devise? This is my *views/devise/sessions/new.html.erb* <%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| % <div ...
    Elton SantosElton Santos
    Mar 17, 2016 at 1:50 pm
    Mar 18, 2016 at 3:22 am
  • I would like for this to be included in the head section of my rails app: <script type="text/javascript" src="https://abc/embed.js"/ How can I do this from app/assets/javascripts/application.js ? I ...
    Jose BlancoJose Blanco
    Mar 16, 2016 at 8:44 pm
    Mar 17, 2016 at 6:00 am
  • Same app, 2 different machines, bootstrap and jquery working on one machine but not the other What system level (as opposed to gem level) dependencies are required that might be missing? -- You ...
    Fugee ohuFugee ohu
    Mar 12, 2016 at 4:52 pm
    Mar 12, 2016 at 9:13 pm
  • I have the 'ckeditor' gem installed, but I'm trying to also add a preview pane for users to see the output of their HTML document/formatting. The gem's documentation tells you everything but how to ...
    David WilliamsDavid Williams
    Mar 8, 2016 at 6:40 pm
    Mar 8, 2016 at 8:40 pm
  • Hi all, How to create API for publishing post to Facebook. once i create post record it should publish the record into Facebook. Please help me. Thanks -- You received this message because you are ...
    Mar 8, 2016 at 6:57 am
    Mar 8, 2016 at 2:43 pm
  • Hello, Can anyone suggest any good source to understand more about the implementation of *jquery-rails gem and the concept of UJS ?* Basically I want to know how it works and how UJS is implemented ...
    Aishwarye OmerAishwarye Omer
    Mar 6, 2016 at 12:58 pm
    Mar 6, 2016 at 11:09 pm
  • Dear Ruby on Rails contributors, We are a team of students from Delft University of Technology. For the course Software Architecture we have to contribute to an open source project. We choose to ...
    Bas van IJzendoornBas van IJzendoorn
    Mar 4, 2016 at 5:36 pm
    Mar 4, 2016 at 6:20 pm
  • Greetings, I'm trying to get the mikel mail gem working with stmp to gmail. When I attempt to send a mail I get the 'check_auth_response' error. (NET::SMTPAuthenticationError). When I go to gmail it ...
    Whil PiavisWhil Piavis
    Mar 4, 2016 at 6:56 am
    Mar 4, 2016 at 7:48 am
  • How to extend ActiveRecord from database with additional columns from ActiveResource? I have an ActiveRecord class Person which I need to extend with columns from remote database which I can access ...
    Zdravko BalordaZdravko Balorda
    Mar 3, 2016 at 8:25 pm
    Mar 3, 2016 at 8:50 pm
  • The Ruby on Rails Tutorial <https://www.railstutorial.org/book/frontmatter by Michael Hartl uses a Gemfile without specifying a Ruby version: the ruby keyword is missing in all the applications. When ...
    Mar 1, 2016 at 11:32 am
    Mar 1, 2016 at 9:18 pm
Group Navigation
period‹ prev | Mar 2016 | next ›
Group Overview
grouprubyonrails-talk @

46 users for March 2016

Zdravko Balorda: 115 posts Colin Law: 88 posts Fugee ohu: 18 posts Walter Lee Davis: 9 posts Hassan Schroeder: 8 posts Donald Ziesig: 7 posts Tamouse pontiki: 7 posts Jim: 6 posts Justin Stanczak: 5 posts Nanaya: 5 posts James Jelinek (shakycode): 4 posts Nilesh: 4 posts Elton Santos: 3 posts Jason Hsu, Ruby on High Speed Rails: 3 posts Aishwarye Omer: 2 posts Atchyut Nagabhairava: 2 posts Dave Bell: 2 posts David McDonald: 2 posts Gm: 2 posts Jennifer Simpson Black: 2 posts
show more