Skip to main content
Gravatar
Add paywall functionality to app
Rails Solved • Asked by Stan Smith
I would like to offer people x views of certain pages then prompt them to pay for access. I was looking ot use this gem acts_as_paywall - https://github.com/BarefootCoders/acts_as_paywall but wan...

Gravatar
Tagging Posts(Or whatever) in rails without any gems
Site Feedback Solved • Asked by Samuel Janes
I've been creating a test app for a couple of weeks know, and want to have a tagging system. It would also be cool if it was polymorphic, so multiple models could have tags. Thanks!

Gravatar
Are there any reasons why my Helper methods are not picked up?
Rails Solved • Asked by Alan Reid
Hi I have a helper method, which converts currency to pounds. Is there any reason why this donest get picked up in the mailer templates, but works thoughtout the rest of the site?

Gravatar
Changing currency
Rails Solved • Asked by Alan Reid
I would like to change the currency in my app for each site. So i currently have **`number_to_currency(aNumber, :locale => :gb)`** which works well. I have a number of sites which use differe...

Gravatar
Can I move parts of Shrine config to environments?
Rails Solved • Asked by Michael Horton
I am using Shrine as you described in your *Direct File Uploads to S3* episodes. It works fine, although I had to make a few minor tweaks to suit Bootstrap 4. One thing is troubling me: all files a...

Gravatar
5.0.1 out of RC?
Rails Solved • Asked by Alan Reid
I just did a `bundle update` and my app updated to Rails 5.0.1, it looks like this may have come out of RC. However there is nothing on their site yet. However their github is stating the buuld is ...

Gravatar
How do I submit multiple checked items?
Rails Solved • Asked by Alan Reid
Hi all, can someone guide me in the right direction please? Basically i have dynamic options a user can select 1 or many of these items. I thought checkboxes would be good for this. The user...

Gravatar
deploy Rails
Rails • Asked by Anthony Candaele
I following the deploy rails instructions on GoRails. When I tried to install Ruby 2.1.2 with rbenv, I got this error message: "no acceptable c compiler found in $PATH" I solved it by ...

Gravatar
Deploy Rails guide confusion
Rails • Asked by Anthony Candaele
Hi, I'm deploying my Rails app, using this website's Deploy Rails guide. Something is not really clear, at the end of the guide, under the section 'Adding The Nginx Host' it says: "Ope...

Gravatar
Bundle issues
Rails Solved • Asked by Dana Nourie
Hi, I'm starting the forums tutorials, and I keep get this bundle error. I've tried bundle update and get the same thing: Bundler could not find compatible versions for gem "sprockets": In...

Gravatar
Feature Guidance - Linked Posts
General Solved • Asked by Rory Walker
Hey Fellow GoRailers, I have a feature that I'm implementing and some guidance would be well appreciated. It's linked posts: every time a posts gets updated, a link is placed on the original rep...

Gravatar
Routing question: Pass a 2nd parameter in the URL?
Rails Solved • Asked by Alan Reid
Hi again :) I would like to know how to get my routes how i want them haha as we all do :) Basically i want to get the edit variant URL to be like `/products/:product_id/variants/:variant_id` ...

Gravatar
Meaning of “Expected string default value for …”
Rails Solved • Asked by Alan Reid
So i am starting a new project, and have done this meany times now. However this is the first time i have hit this issue! I created the app as normal **`rails new myapp -d postgresql`** I've ...

Gravatar
how do implement a rails popularity/trending algorithm
Rails Solved • Asked by Samuel Janes
I'm making a web app and I want to sort through a model based on popularity/trendiness, kind of like reddit/hacker news. I want to determine the popularity based on the count of comments, likes, a...

Gravatar
Jekyll, MiddleMan or CMS for a blog site?
General Solved • Asked by Ariff Munshi
Hi guys, I've build quite a few production apps now with rails and I'm embarking on my latest project which is a niche blog site. I guess going with rails is a bit of an overkill with this one s...

Gravatar
Problem with upgrading to Rails 4.2.2
Rails Solved • Asked by Ariff Munshi
Hi all, Hope that someone here can help. I just got an old mac back and bumped it up to OSX 10.10.3 (was on snow leopard). Did a whole reinstall for homebrew, rbenv (was rvm), ruby (2.2.2), rai...

Gravatar
JWT Authentication using Devise
Rails • Asked by Carlos Orellana
I've been looking for a really god material about how to create Authentication using JWT and Devise, after that consume that with ReactJS (Mainly the rails part, but the react is a plus) Some ma...

Gravatar
Announcing the GoRails Forum
General • Asked by Chris Oliver
Hey everyone! Today I am releasing the GoRails forum. This is the place you can turn when you need advice for how to design a feature or refactor your code. I'll be answering questions here and ...

Gravatar
Searchkick: Reindex on model in multitenancy through default scope app
General • Asked by Mark Radford
Has anyone had any success indexing their multitenant data with searchkick? I followed the suggested article in the readme (https://www.tiagoamaro.com.br/2014/12/11/multi-tenancy-with-searchkick/) ...

Gravatar
Should I use a gem like paperclip or carrierwave to handle PDF and docx uploads?
Rails Solved • Asked by Drilon Buzuku
Hey guys, has anyone advice on this one? Are there maybe better ways to handle document uploads in rails?