Data dodania Pytanie
2017-07-29 18:07 How to convert Django app to RoR? »
I just found out I can't deploy Django on cPanel so I'm converting it to Ruby on Rails. It's a small app where users can sign up for a bronze, silver ...
(1) odpowiedzi
2017-07-28 10:07 appname.herokuapp.com is redirecting me to www.appname.com after deployment »
I got a project which is deployed before in evolix server with the domain name www.appname.com ( OVH domain ). I migrate the project to heroku. After...
(0) odpowiedzi
2017-07-27 23:07 How to display two differents models in my view with will_paginate in rails? »
Hi everyone I have a question , I looking for on google but I don't find an answer. I'm actually want to display Post model and User model by search i...
(0) odpowiedzi
2017-07-27 18:07 Devise User:edit not accepting update of subdomain | RAILS | DEVISE | devise-basecamper »
So I have added a new subdomain functionality to my app that's running on heroku gem 'devise' gem 'devise-basecamper' Each User has a subdomain spe...
(0) odpowiedzi
2017-07-27 16:07 Capistrano 3: After deployment is not "refreshed" code (website stays as prior the deploy) »
I was doing some modification on the website (pure HTML+CSS), deployed it on the server and after refreshing the browser the content was the same. So...
(1) odpowiedzi
2017-07-26 17:07 How to query rails way ? Rails 3.2 »
List of relationship between models: class ErrorScope < ActiveRecord::Base belongs_to :server has_many :scope_to_fixflow_map attr_accessibl...
(2) odpowiedzi
2017-07-26 09:07 factory error in raills »
This is the error, I am getting when I am performing a check condition container.class.name.demodulize == 'ProductContainer' When I am not writi...
(0) odpowiedzi
2017-07-25 14:07 Best way to get records from another model again and again - Rails »
I have a model Booking which contains space_id attributes associated with Space Model by belongs_to :space. Now I have multiple spaces and want to co...
(1) odpowiedzi
2017-07-25 10:07 Ruby: list file names with special characters »
I have a file as data/raw/sample�X�}.pdf. The file has special characters . Now when I try to run the below code to list the file: Dir["data/raw...
(0) odpowiedzi
2017-07-24 21:07 How to turn off server signature + heroku + ruby on rails »
I have one page site and deployed on Heroku. While checking SEO, I found that Server Signature is On. So how can I turn this off? ...
(1) odpowiedzi
2017-07-24 15:07 Devise redirect path after sign-up and before confirmation »
I have implemented the devise gem on my app and I want to redirect to a specific path after sign_up. I have this method in the registration_controller...
(2) odpowiedzi
2017-07-24 08:07 Images are not retrieving on error »
I am storing multiple images using the nested fields for. If we upload invalid image, then the form throws error and uploaded image is not displaying ...
(1) odpowiedzi
2017-07-23 20:07 Running Ruby On Rails "RubyMine" Array values in the parameter to `Gem.paths=` are deprecated »
Ruby on rails, i have a problem every time i'm trying to run the project on RubyMine it gives me this error : Array values in the parameter to Gem.pa...
(0) odpowiedzi
2017-07-23 15:07 cannot install logstash solr_http plugin »
I am trying to integrate Logstash with Solr, I already have a fair knowledge in solr but nothing on logstash or ruby and rails framework. I installed ...
(0) odpowiedzi
2017-07-23 06:07 uninitialized constant API::V1::MusicController »
I'm really sorry to ask this when there are a lot of similar posts but none seams to work for me. /app/controllers/api/v1/musics_controller.rb: cla...
(1) odpowiedzi
2017-07-22 09:07 Is there any alternative of Heroku for ruby on rails app to deploy live? »
I wanted to deploy my ruby on rails app live I already try Herkou & Aws. So is there any alternative of this? ...
(1) odpowiedzi
2017-07-21 13:07 while running selenium script in ruby i want to give a alert of every task how to give annotations »
while running selenium script in ruby i want to give a alert of every task how to give annotations. in selenium script I have login and create user a...
(1) odpowiedzi
2017-07-20 16:07 Keep namespacing of a controller when including a model in Rails »
I am trying to keep the namespace of a class when including a module. Lets say I have these Models: class Shop < ApplicationRecord self.abstra...
(1) odpowiedzi
2017-07-20 14:07 Rails how to organize views »
I have one app with two different views per controller. So I want to have mysite.com/old/accounts should be rendered old templates. At mysite.com/ne...
(1) odpowiedzi
2017-07-20 08:07 Ruby: undefined method `name' for nil:NilClass »
I'm trying to install this app on Windows 7 https://github.com/cheezy/puppies. I am not a developer, I am just following below steps to install it: ...
(0) odpowiedzi
2017-07-19 14:07 AWS Console inside RoR Web application »
Will appreciate if anyone can give suggestion, I want to show AWS EC2 console right inside my RubyOnRails or Angular.js application, so that user can...
(0) odpowiedzi
2017-07-18 12:07 Rspec for controller »
def finding if params[:called_by] == ‘ATTACHMENT’ Dir.mkdir('tmp/tmp_pdf') unless File.exists?('tmp/tmp_pdf') name = params[:ticket_atta...
(0) odpowiedzi
2017-07-18 08:07 How to capture value from application and store in database table »
I created Devise Users table and Type table. I added the type_id column to the users table through migration. Below are the links in home.html.erb: ...
(0) odpowiedzi
2017-07-18 02:07 Ruby on rails database not working »
I am going through the 'Installing and Running ruby on Rails 5: Windows' tutorial on lynda. I got the MySQL database up and running and rail installed...
(0) odpowiedzi
2017-07-17 16:07 How to bind localhost RoR app to discourse docker container? »
I've a ruby on rails app which is on 0.0.0.0:3000 and discourse docker container on port 0.0.0.0:80 . I want to bind localhost RoR app with docker con...
(1) odpowiedzi
2017-07-17 14:07 /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' -- while trying to start the server »
I end up with this error: /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- bundler/setup (LoadErr...
(0) odpowiedzi
2017-07-16 12:07 changed? depreaction Rails 5.1.2 »
Devise before it saves the record, it checks if attributes changed and if so it performs special actions: def send_devise_notification(notification, ...
(1) odpowiedzi
2017-07-15 07:07 Rails Exception Notifier does not send mail on 404 »
I could request a page that does not exists and I would suppose a 404 would be send, but with the configuration below I receive mails for other errors...
(0) odpowiedzi
2017-07-14 20:07 Ruby on Rails resque task gets error »
I'm trying to use resque in my ruby on rails application. I created resque.rake file in lib/tasks folder require 'resque/tasks' task 'resque:setup'...
(1) odpowiedzi
2017-07-14 13:07 before_destroy check if attribute for related model is given (version control) »
i have a model which has_many relation to a version model. Any action on the parent model need to be tracked. At the form for delete i have added a ne...
(1) odpowiedzi
2017-07-14 08:07 Image not displaying in production mode »
Images are not displaying in production mode. It is working fine in the development environment. For example, image is not displayed for the followin...
(1) odpowiedzi
2017-07-13 23:07 How to compare times in different time zones in Ruby? »
I have this date that which is in timezone offset format that I need to convert to UTC format. For example: date1 = 2017-07-13T17:13:12-04:00 date2...
(1) odpowiedzi
2017-07-13 13:07 How create files inside backbone assets »
I want to create files inside backbone collection, template and model using one commend like "scaffold". My directory structure is as follow. How it w...
(0) odpowiedzi
2017-07-13 00:07 Why does Ruby fail to remove method even though it is clearly defined? »
I work on a rather complex Ruby project that has multiple interdependencies. With recent bundle update, I got logging-rails (0.6.0) pulled in, and tha...
(0) odpowiedzi
2017-07-12 12:07 Rest client post request, error with multipart »
I have the following ajax request which works fine, but when i try the same through rest-client ruby gem i'm getting the following error "{\"error\":...
(0) odpowiedzi