GithubHelp home page GithubHelp logo

Using houston within a rails app about houston HOT 4 CLOSED

nomad avatar nomad commented on August 22, 2024
Using houston within a rails app

from houston.

Comments (4)

kaneda avatar kaneda commented on August 22, 2024

You want to set it up in the environments file, with your dev cert in your development environment and prod cert in your production environment (Rails.root / config / environments).

To run use a delayed job of some sort, e.g. sidekiq.

You should read Rails best practices, but in general anything that goes off system, for which the user is not expecting an immediate response, goes into a queue of some sort.

In general, Rails best practices dictates that logic be moved from a controller to a model and/or help and/or task/job/runner.

from houston.

mattt avatar mattt commented on August 22, 2024

Thanks, @kaneda.

from houston.

lukasnagl avatar lukasnagl commented on August 22, 2024

Rails 4.2 brought us Active Job. @davidtlee You might want to look into that, when you’re following the advice of @kaneda.

from houston.

davidtlee avatar davidtlee commented on August 22, 2024

Got it, thanks @kaneda, @mattt, and @j4zz! :)

from houston.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.