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
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
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
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
I'd be interested in using this, but the fact that you made it require Ruby
version 2.2.2 is a downfall, as I use 2.3.1 How might I make this work
with 2.3.1?
On Monday, September 26, 2016 at 3:21:43 PM UTC-5, Daniel Loureiro wrote:
>
> Hi guys,
>
> I was struggling to find a tool to convert
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:
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
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
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
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
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
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
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
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
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
.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Jesse Cravens
jessecravens.com
m. 210.392.1542
--
You received this message because you
:
if message.read_at == nil
NEW
end
and that works fine. however even
scope :unread, where(read_at == ?, nil )
does not seem to want to work.
I know I must be missing something terribly obvious about this. Any kick
in the right direction is appreciated.
Thanks
Jesse
--
You received
terribly obvious about this. Any kick
in the right direction is appreciated.
Thanks
Jesse
--
You received this message because you are subscribed to the Google Groups Ruby on
Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from
On 9/13/11 1:04 PM, Frederick Cheung wrote:
On Sep 13, 5:51 pm, Jessedraco...@gmail.com wrote:
On 9/13/11 12:39 PM, Frederick Cheung wrote:
When comparing with nil you have to use IS NULL rather than the usual
comparison operator. where(:read_at =nil) should work though. How
are you using
with a limit of 2 children and then scopes on the bar model
to make up the difference.
Jesse
--
You received this message because you are subscribed to the Google Groups Ruby on
Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group
On 9/13/11 5:17 PM, Randy Regnier wrote:
On 09/13/2011 03:34 PM, Jesse wrote:
On 9/13/11 1:22 PM, Randy Regnier wrote:
I have a question about how best to model a pair of
properties/attributes in Rails3. The generic models are:
class Foo ActiveRecord::Base
end
class Bar ActiveRecord::Base
I've run into a similar issue where a variable contained nil when it
should always be an array (the controller ensures this, the view is
where the error was raised.)
Anyways, setting config.eager_load_paths = false appears to fix the
issue which only occurs when config.cache_classes = true. It
Stefan Buhr wrote in post #897683:
Conrad Taylor wrote:
Sent from my iPhone
Please post the Rails 2.x route that you would like to convert to
Rails 3.0?
Hey Conrad,
I think I made a mistake.
I was under the impression that following code in rails 2
map.namespace :admin do |admin|
On 12/15/10 12:40 PM, Finne Jager wrote:
Just another quick question if you don't mind.
I'm trying to manually append a SafetyOfficer to the Timesheet with the
Rails console:
Incident.first.timesheet.safety_officer SafetyOfficer.last
This is pulling just the first record found of incident so
On 12/15/10 1:19 PM, Finne Jager wrote:
Jesse wrote in post #968644:
On 12/15/10 12:40 PM, Finne Jager wrote:
Just another quick question if you don't mind.
I'm trying to manually append a SafetyOfficer to the Timesheet with the
Rails console:
Incident.first.timesheet.safety_officer
On 12/15/10 1:27 PM, Finne Jager wrote:
Jesse wrote in post #968651:
On 12/15/10 1:19 PM, Finne Jager wrote:
object of security_officer. You need to have an array for this as you
has_one :safety_officer
Are your associations the same for FireFighter and SafteyOfficer?
Timesheet
I'm trying to set the timestamps manually. Can't get it to do anything
but set it to the current time when it saves. Please help. (it's on
heroku)
desc restore timestamps for updated_at in questions
task restore_timestamps do
require 'time'
require File.dirname(RAILS_ROOT) +
http://voteforpoetry.com and http://voteforstories.com
Good for someone interested in online writing competitions. Adsense
income is less than $10/mo, and the poetry site is large enough to
require the base package at heroku.com ($15/mo).
Please contact me if interested. crockett.jesse ~
Why don't you just make both fields plain text attributes of the
author object?
On 7/19/10 5:53 PM, Frederick Cheung wrote:
On Jul 19, 9:59 pm, Solidifymax.holtm...@gmail.com wrote:
Hi everyone, I have a simple question:
an author has a place of birth and a place of death. Both places
Award.all(:joins = INNER JOIN overall_rankings ON
(overall_rankings.poem_id = awards.poem_id)) gets the wrong
award.overall_ranking on heroku postgres
Poem
has_many :awards
has_one :overall_ranking
Award
belongs_to :poem
has_one :overall_ranking, :foreign_key = :poem_id
OverallRanking
Jesse Crockett wrote:
Award.all(:joins = INNER JOIN overall_rankings ON
(overall_rankings.poem_id = awards.poem_id)) gets the wrong
award.overall_ranking on heroku postgres
Poem
has_many :awards
has_one :overall_ranking
Award
belongs_to :poem
has_one :overall_ranking
with thrift and what not.
We are also having issues determining exactly how to get up and run
with it for experimentation.
Any help/opinions/advice would be be appreciated.
Regards,
Jesse
--
You received this message because you are subscribed to the Google Groups Ruby on
Rails: Talk
Hi All, I am trying to do something similar and am running into an issue
on it
I have a setup where
Portal has many Programs
program has many users through program_memberships
user has many portals through program_memberships
I am trying to get it so that portal has many users through programs
Sure thing:
class Portal ActiveRecord::Base
has_many :programs
has_many :users, :through = :programs
end
class Program ActiveRecord::Base
belongs_to :portal
has_many :program_memberships, :dependent = :destroy
has_many :users, :through = :program_memberships
end
class
On 5/12/10 6:08 PM, Rick DeNatale wrote:
On Wed, May 12, 2010 at 4:47 PM, Jessedraco...@gmail.com wrote:
Sure thing:
class Portal ActiveRecord::Base
has_many :users, :through = :programs
end
class Program ActiveRecord::Base
has_many :users, :through = :program_memberships
end
Hi All,
This is not specifically a Rails question, but I figure that
someone here might know enough about git to help me.
Here is the situation.
I had set up a private Git Repo server for my companies projects.
For testing I did everything as root. Now that I am ready to allow
is it possible the form is passing the project_id parameter to the
controller as something else? maybe as project ?
submit the form from a browser and look at the development.log file
and see what the HTTP request looks like, my guess is something like
Processing SprintsController#create (for
Hello, I'm beginning to test a payment method, here is an abbreviated
form.
How can I rollback and redo the transaction if any of the save calls
fail?
def process_payment! # class Payment
transaction do
success = true
user.blitz_interest = true
user.points += 1
Heyo folks, the new site for the CCA has been up for the past month
or so and we (Bluesponge) are pretty proud of it: http://cca.qc.ca
We spent a lot of time on this site and used a lot of different
technologies to make it happen, including EXT JS, Liquid etc. The CMS
is a sweet app (which
of thing, you've
gotta check out Moonshine.
Cheers -
Jesse
---
Jesse Newland
jnewl...@gmail.com
http://jnewland.com/
http://twitter.com/jnewland
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
the best way to do this? I'm assuming there are other
ERB command I can use to render, but I can't seem to find it.
Thanks
- Jesse
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
http://www.rubyinside.com/how-to-use-gmails-smtp-server-with-rails-394.html
This is a good solution.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to
42 matches
Mail list logo