Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
carlosplusplus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Synchronous Ruby Processing With DelayedJob
(carlosplusplus.github.io)
2 points
by
carlosplusplus
13y ago
|
0 comments
2.
▲
by
carlosplusplus
13y ago
Thank you for your comment and question, danso. The particular re-calculation method I presented in this blog post is (hopefully) only going to be run one time, as it serves to recalculate fields based on a database migration. Those fields
3.
▲
by
carlosplusplus
13y ago
Thank you, lukes386, for your comment. I'm new to Ruby / Rails and using RSpec in general, so I really appreciate any resources people pass along. I'll be sure to check out that talk and may refactor my tests accordingly.
4.
▲
by
carlosplusplus
13y ago
Thank you for the great comment & suggestion, rpwilcox! As you recommended, I'll be moving the majority of my actual rake task into a DelayedJob which will perform all the work. The rake task will then only be responsible for queue
5.
▲
Testing Rake Tasks with RSpec
(carlosplusplus.github.io)
18 points
by
carlosplusplus
13y ago
|
6 comments