Does anyone have experience with ruby motion to develop mobile app in ruby?
0
Tips
http://www.rubymotion.com/
Rails API not able to destroy session
1
Rails
I am using Rails API and devise for authentication but when sending a request to destroy the session, it doesn't return any response other then status 200.It returns the same response no matter if...
Where can I get started?
5
General
Hello!
I am new here, interested to learn Ruby on Rails but the website seems to have LOTS of videos, so:
1. Is there a track I can follow or any playlist to watch so that I don't go randomly?
2. ...
Looking for advice on how to pick up rails quickly
0
General
I am a programmer with almost two years of experience writing software in mostly Go and Python (backend). I need to learn rails in about 3 weeks time before starting my new internship at hackerrank...
Trying to do an input in a form where it will change while I am introducing characters
0
General
How can I do that an input in a simple_form_for changes while I am introducing a value, and the input comes with the $ by default, for example, I have the number 1000000, and while I am introducing...
How can I whitelist an heroku app for external api?
2
General
I have a situation where I would need a static ip for my app in order to get whitelisted from a third party api, but heroku doesn’t support this. Has anyone got managed to find a fix around this an...
Best Online SSC Coaching in Delhi?
0
General
Excel SSC is the Best SSC Coaching in Delhi. We use the most innovative and friendly way to guide our students. join us today if you want clear government exam.
Visit website - http://www.excelssc.com
How to use <script> in Rails 7
4
Javascript
How do I display a that holds a url with the .js I want to display. For example, <script src="https://greatsite.com/widgets/awesomescript.js">. I am very new to Rails, been learning for only...
Clay Dennis replied
Bundler's New Ruby Version File Option Discussion
1
General
Quick note, some of the documentation for some Ruby version managers (such as `chruby` which I use) instruct users to store the string literal "ruby-x.x.x" with the version in the `.ruby-version`. ...
Chris Oliver replied
Can NOT watch videos in China !!!
1
General
There are almost no Ruby tutorials in China, I chose this platform to study. But all your videos are on YouTube, Chinese consumers can NOT watch them. Do you have a solution. Thanks.
Chris Oliver replied
Start development instantly using devcontainers
0
Rails
Hello everyone, I learnt about devcontainers weeks ago and start using them and they are very helpful and easy to use. So, I putted this GitHub repo with a starter devcontainer template to setup an...
Is there any gem to transform pdf files to html?
2
Ruby
i need to convert a pdf file to html or some way to edit an existing pdf
Understand Scope Returns Discussion
4
General
Excellent episode Collin!
Another tip is you could keep the `future_events` scope returning a Relation. And possibly break the sorting out in case it’s used for other queries as your application g...
KRUPA replied
Parallel ActiveRecord Queries with load_async in Rails 7 Discussion
2
General
Are there any downsides to using load_async on everything if we know for a fact that we’ll be using the data during the request? It seems like a no-brainer if we can keep db connections in check?
How to count comments like reddit (infinite nested model) ?
2
Ruby
Hey Chris,
I have an `item` model which gets submitted. With
`has_many :comments, as: :commentable, dependent: :destroy`
then in the `comment` model I have
`belongs_to :commentable, polymorphic...
Solved
How to add Feature Flags in Rails with the Flipper gem Discussion
1
General
Great episode!
Ketan Patel replied
Extending Rails (Gently) Discussion
0
General
This was a fun discussion with Kasper, we talked for quite a bit longer but it was edited to make it shorter.
Also, be sure to check out Kasper's Open Source retreat if you want to hear more and ...
Kentastic posted
Best way to relate models on Jumpstart Pro
1
Ruby
Whats the best way to relate models? Im building a real estate app with Jumpstart Pro and would like to add property owners (contact/users) to the a property, so on the show page of a property I ca...
Oliver Sawtell replied
Editing Passwords Discussion
0
General
Hey Chris! Enjoyed the video!
Any issue with using:
...
@password = Password.new(password_params)
if @password.save
current_user.passwords << @password
redirect_to @password
....
In th...
Ann Cascarano posted
MySQL 8 and Rails 7 JSON fields
1
Databases
Rails 7 and MySQL 8 support JSON fields. Migrations support them.
I have been using a combination of raw MySQL and other techniques to extract data. What's the proper ActiveRecord way of searching...
Joseph replied