Re: [Rails] How do I run an action on a dedicated thread?

2019-08-08 Thread Eric Jesse Knutsen
San, I hope you know I meant no offense. This is a strange issue to have and is normally indicative of an architectural design flaw and without having more details that might violate your nda, we can only go based on facts entered into evidence, to borrow a phase from legal. An application can be

Re: [Rails] How do I run an action on a dedicated thread?

2019-08-08 Thread Eric Jesse Knutsen
hmm... It sounds like you might want to isolate this into a micro-service then. Honestly, and architecturally, it sounds like this process flow might need a redesign, especially as it relies on a resource external to the main application. I am guessing that this is legacy? Is this application

Re: [Rails] How do I run an action on a dedicated thread?

2019-08-08 Thread Eric Jesse Knutsen
It sounds like this might be best served by encapsulating the caller in a job and then setting up a dedicated queue for that job in your background processes, if I am understanding correctly what this is. If you need to have the results display when complete then you could set up a poller or a

RE: [Rails] Heroku and Javascript

2018-07-25 Thread Eric Jesse Knutsen
Anything in browser javascript console? Is anything not being served properly? And, dumb question time but we all have these kind of moments, did you remember to precompile, and are all your JS libraries set to have pointers to the compiled locations of assets? Cheers, Jess From: David

Re: [Rails] Re: Hash mapping

2016-02-04 Thread Jesse Knutsen
On 2/4/16 11:30 AM, John Sanderbeck wrote: I am trying to make this as efficient as possible which is why I was trying to do the group call. I was doing it in the Highchart definition which worked however it does many queries depending on how many initiatives there are. series: [{ name:

Re: [Rails] Background stripes not seen in my web application.

2015-07-24 Thread Jesse Knutsen
Are you cycling the class of the tr or div that you are using to house the data? Also did you remember to define the classes in your css? On 7/24/15 3:42 PM, Bruce Howard wrote: I am learning Ruby on Rails using the textbook called Agile Web Development with Rails (4th edition). I am currently

Re: [Rails] Design question: Redirection to a create action.

2014-06-04 Thread Jesse Knutsen
I am not a huge fan of an approach that would need to redirect in this way. Instead, why not create a new class called login or something like that. To see a possible usage checkout the following article http://matthewrobertson.org/blog/2012/09/20/decoupling-rails-forms-from-the-database/ You

Re: [Rails] Re: Design question: Redirection to a create action.

2014-06-04 Thread Jesse Knutsen
On 6/4/14, 10:08 AM, Ronald Fischer wrote: Jesse Knutsen wrote in post #1148805: I am not a huge fan of an approach that would need to redirect in this way. Instead, why not create a new class called login or something like that. You will need to adapt a bit to your needs, but the basics

Re: [Rails] Re: Design question: Redirection to a create action.

2014-06-04 Thread Jesse Knutsen
On 6/4/14, 10:30 AM, Colin Law wrote: On 4 June 2014 15:25, Jesse Knutsen draco...@gmail.com wrote: Essentially you are calling two different actions right now (in your design) where the first leads to the second through a redirect. This redirect will actually redirect the user on the browser

Re: [Rails] Re: Re: Design question: Redirection to a create action.

2014-06-04 Thread Jesse Knutsen
On 6/4/14, 1:19 PM, Ronald Fischer wrote: Jesse Knutsen wrote in post #1148818: On 6/4/14, 10:30 AM, Colin Law wrote: You are 100% correct, but he was going to redirect to Dicts#new. Only as a work-around, but as I said, I was not so happy with this either. DictController

Re: [Rails] Re: Re: Design question: Redirection to a create action.

2014-06-04 Thread Jesse Knutsen
On 6/4/14, 1:38 PM, Ronald Fischer wrote: Jesse Knutsen wrote in post #1148812: On 6/4/14, 10:08 AM, Ronald Fischer wrote: Essentially you are calling two different actions right now (in your design) where the first leads to the second through a redirect. This redirect will actually redirect

Re: [Rails] SPECIALS RELATIONSHIP!?

2014-05-28 Thread Jesse Knutsen
does each hall have to be specifically designated as hallx? and do halls exist independently of spectacle? Assuming that halls exist independently, it sounds like having a join table and position attributes on the join should work spectacle has_many :halls spectacle_hall_join

Re: [Rails] Recover select value

2014-05-28 Thread Jesse Knutsen
have you tried accessing through params[:nomdefaut] On 5/28/14, 10:55 AM, Fab Forestier wrote: I have in my view a select td%= select :nomdefaut, @mydefaut, @ndefaut%/td I see the different values of @ndefaut but then but then @mydefaut is supposed to contain the selected value in the list but

[Rails] Rack::SSL

2013-01-09 Thread Jesse Knutsen
Hey All, I have set up our site for https only using rack::ssl. I also used it to secure our app's cookies. # Enable SSL with secure cookies config.middleware.insert_before ActionDispatch::Cookies, Rack::SSL however, there is one cookie that is set by a browser technology that we will be