Bundle Package and Deployment
The fetch environment is useful because when you run `cap production deploy` it'll use production from there. And then it seamlessly supports `cap staging deploy` if you add a staging environment. ...
Chris Oliver
replied
11
Rails
Iam desperately trying to deploy my App with Capistrano but it isnt working
thank you :) i solved it by changing the yui requirement for sass !
Sebastian
replied
•
Solved
3
Rails
Missing `secret_key_base` for 'development' environment, set this value in `config/secrets.yml`
Thank You for answer.
Still the same problem. So I decided to start this project from begining. I did only one diffrence. Previously I create new secret key base via command $ rails secret (I del...
CodeParody
replied
•
Solved
3
Rails
How do I query a model with a value less than
@jacob 👍
That would make sense since you use ORDER to sort in SQL.
I guess you could modify the code to be the following to specify the column and clarify it for the db that you're not using the ...
Chris Oliver
replied
3
Rails
How i can reuse one rails webapp as a API?
Hi, i build a rails application but i need reuse this app to create a API to use this as a backend for a IOS Application, this is posible? Thanks for yours comments.
Miguel Rios R
posted
1
Rails
Shrine::Error: storage :cache isn't registered on FileUploader
Rails is loading FileUploader before shrine initializer,
After adding `require_relative './initializers/shrine'`
Ashutosh Mittal
replied
•
Solved
2
Rails
Alternative solution for belongs_to through
What is the alternative solution for belongs_to :through in association
Ravikumar
posted
1
Rails
Not able to override a column with default value
This works fine with update_colum and not update_attributes or save! and from code there are no callbacks triggered for this model.
Jose
replied
2
Rails
RAILS SIDEKIQ SCHEDULER
I would suggest creating a worker that checks the status, and if the status is not completed, it schedules a copy of itself to run `5.seconds.from_now`. That way it can continuously keep checking a...
Chris Oliver
replied
2
Rails
Ruby on Rails save on model has_many to has_many doesn't trigger on build
We have this model called "Cliente" (cliente.rb):
```
class Cliente < ApplicationRecord
has_many :clientes_hardwares
has_many :clientes_notificaciones
has_many :sucursales
has_...
Ulises Carreón
posted
1
Rails
Error when running in Test Env
@Chris Oliver
I think I missed the SSH setup something from your guide.
geekdie
replied
3
Rails
Nested Model of an already nested model
I want to make sure my thinking is right more than anything else on this post. Hopefully I can explain myself clearly and get pointed in a good direction.
**My Scenario**
I have 3 models. Model A...
RJ McCollam
posted
1
Rails
Need to do cascading select lists in Rails 5
I worked it out following:
https://kernelgarden.wordpress.com/2014/02/26/dynamic-select-boxes-in-rails-4/
Just in case anyone comes through here looking for the same.
Will try and redo it in Sti...
Simon P
replied
2
Rails
Capistrano deployment is not happenning after Server IP Change
Problem: Recently We have changed IP address of the stage server. We are using Capistrano for deploying rails application. So after changing server IP address when we run a command: cap develop(bra...
Rutul Shah
posted
1
Rails
JWT with Devise (App and API)
Oliver, yep. If you login on the web, you'll login with a session cookie. Otherwise you'll hit the API with a token and be logged in only for that request.
Chris Oliver
replied
•
Solved
4
Rails
rails generate devise:install hangs
I resolved the problem by doing the following:
```
gem uninstall fileutils
Successfully uninstalled fileutils-1.1.0
gem update --default
Updating installed gems
Updating fileutils
Fetching: fileuti...
Felender Hlungwani
replied
•
Solved
3
Rails
SEEKING FREELANCER, Colorado Springs, remote: true
Have you considered bundling up id3v2 or eyeD3 and sticking it on AWS lambda. You can then use S3 events to trigger the lambda.
Marcus S
replied
3
Rails