#RubyOnRails - 12 July 2019
« Back 1 day Forward 1 day »
[04:34:40] xco: i have a CSS class in node_modules in Rails. how can i overwrite the styling of the class since the node_modules folder is in gitignore? i’d like to overwrite some element styling used by bootstrap4
[05:51:42] ivanskie: is anyone using ElastiCache Redis on aws with encryption at rest and in transit turned on? ..i can't seem to get it to work at all. keeps complaining that its a BAD URI... i've tried rediss://: .........
[08:08:32] ZAJDAN: I need change position of one column in DB ...I am looking here: https://apidock.com/rails/v1.2.6/ActiveRecord/ConnectionAdapters/FirebirdAdapter/change_column_position
[09:35:06] NL3limin4t0r: ZAJDAN: What do you mean by "I need to change position of one column"? Database columns are like key/value pairs, the positions shouldn't matter. Furthermore the documentation linked says it's a private method, so probobly not meant to be called by RoR users.
[18:13:05] eddybeddy: Hi friends. Is there a convention for splitting up business logic into services? It seems like most people advise to have a single function per service. Is that to say one for each crud operation? Even if it's a one-liner?
[18:13:28] eddybeddy: I realize that could be okay since it's liable to become more than a one-liner in the future.
[18:27:16] emers2n: I have a task in lib/tasks that takes awhile to run. Everytime I push to Heroku, it runs the task... How do I skip running tasks on compile?
[19:10:41] mlt-: Why is it being run? Doesn't one have to explicitly run a task? Are you overriding something?
[20:13:47] LiamW: eddybeddy: the answer probably lies more in how you configure your routes than how you split up services
[20:15:59] Jon30: hey guys, when CRON runs this command: /bin/bash -l -c 'cd /home/xxx/public_html/xxx/website/releases/xxx && RAILS_ENV=production bundle exec rake xxx:xxx it throws an error: NameError: uninitialized constant Devise
[20:41:12] eddybeddy: LiamW: I think I'm pretty happy with the way I set up my routes, is that to say I should have a similar mapping in my services?