Skip to main content
FATAL error on hitting Rails API
Rails • Asked by Srilekha Thirumalaisamy
Hi, I am beginner in ruby/rails. I have a rails api which when curled directly works as excpected. But, when invoked through vent(wrapper on kafka queue) returns 4xx error. I have verified ...
2
posts

Group Chat with ActionCable: Part 3 Discussion
General • Asked by Chris Oliver
Chris,Would it be possible to have one on Map APIs like mapbox or google maps api please :)Omar
19
posts

WildCard Let'sEncrypt
Servers • Asked by Nikola Okonesh
Hi! How to use LetsEncrypt wildcard for subdomains. https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypt
1
post

How to optimize the work of clients from different countries?
General • Asked by xxx44yyy
My server is located in Norway. My clients live in Norway, Japan, Hong Kong, USA and South Africa. Due to the fact that the server is located in Norway, the ping for customers is very long. I'm usi...
2
posts

Rich text format editor in rails 4
General • Asked by John Munyi
I am looking for a rich text format editor that is compatible with rails 4, any good ones out there, I want to make beautiful text-areas with rich text. cheers
10
posts

Any chance we can get a video on how to use a js cropper and using active storage
General • Asked by Corey Gibson
There really dosent seem to me good documentation any where on how to crop images with active storage, I know it can be done just seems pretty complex and would be a cool video
1
post

Two Factor Authentication With Devise Discussion
General • Asked by Chris Oliver
Was looking at this the other week... perfect timing Chris. Legend.
5
posts

Upgrade to Mojave on Mac OS
Rails • Asked by Pam Willenz
Hi Chris - I am running Sierra (not high Sierra) on my fairly new Mac (summer 2017). I need to upgrade to Mojave and am afraid I will break my ruby/rails dev environment (like I did when I upgraded...
6
posts

My app keeps crashing
General • Asked by donaldlund2010
Hello all, I am new to rails and was hoping someone could help me out. I built an app and at first it said it couldnt find Ruby so I reinstalled it, then it said compiling error so I updated the...
1
post

How do I change the Java Virtual Machine (JVM) that MATLAB is using on Windows?
Javascript • Asked by Diya Sharma
I would like to use a different version of JVM than the default used in MATLAB on Windows.
3
posts

Nested Comment Threads in Rails - Part 3 Discussion
General • Asked by Chris Oliver
Really great series, thank you for doing it. One question: I have a comment form below the comments and it is not clearing out. However, when I move above the comments it does. Any thoughts?
3
posts

Accepts_nested_attributes_for, I am getting 'unpermitted parameter: :user' and User not entering to DB.
Rails Solved • Asked by Ryan Mindigo
Hello! I am building an app with Accounts/Users & Memberships via has_many through. I am using Devise and want to create a new user from 'accounts#new" via 'accepts_nested_attributes_for.' W...
2
posts

How do I remove associated records?
Rails • Asked by azal-io
I have these associations. Course has_many :assignments, class_name: 'CourseManagement::Assignment' has_many :students, through: :assignments, source: :student Assignment: belongs_to :cou...
2
posts

How do we show dynamic data in .erb file like from a json file?
Rails • Asked by theshashiverma
I have a view file index.html.erb in my view folder and there I am showing some data in the form of Table(bootstrap table) and this is a static table so I had to write so many lines of HTML for thi...
1
post

Do I have to create a controller for users using Devise or where can I find its actions ?
Rails • Asked by Damian Nelwep
I'm having some trouble setting up Paperclip gem to setup profile pictures for the users of my app and I need to access users_controller. Since I'm using Devise, I don't really know where I can fin...
3
posts

Where do this code go? (Refactoring Rails Workers)
Rails Solved • Asked by Arjun Rajkumar
Hey! I have two different workers ``` #app/workers/website_worker.rb class WebsiteWorker def perform(website) do_this_action(website) end def do_this_action(website) ...
6
posts

Rails Application Templates Discussion
General • Asked by Chris Oliver
Hello,Im gettingCould not find "Procfile" in any of your source paths. Your current source paths are: /Users/my_user/Documents/dev/my_app/https:/raw.githubusercontent.com/excid3/jumpstart/masterUs...
35
posts

How update value which run from strong params??
General • Asked by Taras
I have action(strong parameters) in controller: ``` def home_task_params params.require(:home_task).permit(:subject, :description, :data) end ``` i want do something similar to this ``...
2
posts

Is there a better solution that Paperclip to manage profile pictures ?
Gems / Libraries • Asked by Damian Nelwep
Hi everyone, I'm asking this question because it seems pretty hard to setup, between Image Magick and all the mecanics there is to put to work... I saw there was another solution Carrierwave but...
6
posts

Improve on these ActiveRecord requests?
Rails • Asked by Alan Reid
I am trying to get the top 5 products, based on the impressions that product has recieved. Now the code below is working ok, but its not in the right order, and I cant work out a better way to g...
5
posts

Subscribe to the newsletter

Join 20,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.