Disable Auto redirect for a user with a single connection

2022-07-08 Thread Matt Jones
Hi all, We were on v1 and recently moved to 1.4. I think you added a new feature that if the user has only access to one connection that you now auto redirect them into the virtual machine. Is it possible to turn this off in the code? We have a use case in that we added power buttons to the co

Re: 1.4.0 guacamole client mvn package failing

2022-03-08 Thread Matt Jones
Apologies please ignore, was running in the guacamole folder and not the root of the folder > On Mar 8, 2022, at 18:50, Matt Jones wrote: > - To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For addi

1.4.0 guacamole client mvn package failing

2022-03-08 Thread Matt Jones
Hi there, Running Ubuntu 20.4 guacamole client mvn package works fine for the 1.3.0 client but is failing for 1.4.0 Do I need anything specific is there an issue with the node version? Getting the below.. [Error] Failed to execute goal com.GitHub.eirslett:frontend-maven-plugin:1.11.3:npm (npm-

[Touch-packages] [Bug 1944481] Re: Distrust "DST Root CA X3"

2021-09-24 Thread Matt Jones
@jsing You may well be correct that the server was incorrectly configured, unfortunately it was a Windows server managed by a third party and I don't know precisely how it was set up. Given that the cert in question was issued on 9th September 2021 I suspect it was a misconfiguration of their inter

[Bug 1944481] Re: Distrust "DST Root CA X3"

2021-09-24 Thread Matt Jones
@jsing You may well be correct that the server was incorrectly configured, unfortunately it was a Windows server managed by a third party and I don't know precisely how it was set up. Given that the cert in question was issued on 9th September 2021 I suspect it was a misconfiguration of their inter

[Touch-packages] [Bug 1944481] Re: Distrust "DST Root CA X3"

2021-09-24 Thread Matt Jones
I ran into an SSL verification issue today, caused by this change. It seems that some older LetsEncrypt clients have still recently been issuing valid certificates signed by the DST Root CA X3 root. These certificates would have otherwise continued to work normally until the root expired (Septemb

[Bug 1944481] Re: Distrust "DST Root CA X3"

2021-09-24 Thread Matt Jones
I ran into an SSL verification issue today, caused by this change. It seems that some older LetsEncrypt clients have still recently been issuing valid certificates signed by the DST Root CA X3 root. These certificates would have otherwise continued to work normally until the root expired (Septemb

Re: [Rails-core] Proposal: make it clearer which persistence methods do callbacks/validations

2018-09-02 Thread Matt Jones
call save” so IMO it’s trivial to get a similar result if needed. * in conclusion, I don’t see how exposing more of the internal implementation as controllable options *reduces* the need to understand the internals —Matt Jones -- You received this message because you are subscribed to the Goo

Re: [Rails-core] [Feature] Symbol to_proc coercions: Enumerable#map can take several symbols

2018-05-16 Thread Matt Jones
rom Facets: https://github.com/rubyworks/facets/blob/master/lib/core/facets/proc/compose.rb I haven’t tried it, but in principle this should work if the operator precedence goes correctly: orders.map(&:order_options * &:item * &:title) —Matt Jones -- You received this mes

Re: [Rails-core] getting AR to do postgres jsbonb atomic updates

2018-03-05 Thread Matt Jones
alues` method. This could be too late to see things like dirty tracking, though - you may need to start searching up the call stack from `_update_record`. —Matt Jones > If anyone could give me any advice on where might work to hook into AR to > change generated SQL for 'update&#

Re: [Rails-core] Master thesis on Rails

2018-02-14 Thread Matt Jones
HTTP2 Early Hints are shipping in 5.2.0, which is currently in RC. More details: http://eileencodes.com/posts/http2-early-hints/ <http://eileencodes.com/posts/http2-early-hints/> —Matt Jones > On Feb 11, 2018, at 5:54 AM, utilum wrote: > > What is the status on HTTP 2 ? &

Re: [Rails-core] Change where module file goes for namespaced AR models

2017-10-19 Thread Matt Jones
/models/admin/admin.rb`? AFAIK that’s not going to work with the existing autoloader - it won’t look there by default, and it would expect a file located there to define a class or module named `Admin::Admin` if it did. —Matt Jones -- You received this message because you are subscribed to the

Re: Having trouble porting basic GLFW C++ example to D

2017-10-06 Thread Matt Jones via Digitalmars-d-learn
On Saturday, 7 October 2017 at 04:24:07 UTC, Matt Jones wrote: On Saturday, 7 October 2017 at 03:47:27 UTC, Joakim wrote: On Saturday, 7 October 2017 at 03:12:09 UTC, Matt Jones wrote: [...] Heh, that's the problem. [...] I ran into this myself, took me awhile to track it down. I

Re: Having trouble porting basic GLFW C++ example to D

2017-10-06 Thread Matt Jones via Digitalmars-d-learn
On Saturday, 7 October 2017 at 03:47:27 UTC, Joakim wrote: On Saturday, 7 October 2017 at 03:12:09 UTC, Matt Jones wrote: [...] Heh, that's the problem. [...] I ran into this myself, took me awhile to track it down. I too took the size of dynamic arrays this way: [...] Ah. I s

Having trouble porting basic GLFW C++ example to D

2017-10-06 Thread Matt Jones via Digitalmars-d-learn
I've been trying to port a basic GLFW C++ example to D. The C++ version shows the textures correctly. But the D version shows nothing. The code is almost identical. Does anyone know why the D version does not work? https://github.com/workhorsy/d_glfw

Re: Problems with function as parameter

2017-09-21 Thread Matt Jones via Digitalmars-d-learn
On Thursday, 21 September 2017 at 20:21:58 UTC, Josh wrote: I'm trying to write a callback function for SDL_mixer through Derelict, but this is the first time I've tried to use a function as a parameter, and so I think I'm just making a minor mistake somewhere. [...] Make it a C function, n

Re: How to list all process directories under /proc/

2017-09-19 Thread Matt Jones via Digitalmars-d-learn
On Tuesday, 19 September 2017 at 13:32:29 UTC, Ky-Anh Huynh wrote: Btw, is that a bit weird that range is not supported in glob pattern :) Is there a design reason for this? That is strange. But then again, every glob library I've seen works a little bit differently.

Re: How to list all process directories under /proc/

2017-09-18 Thread Matt Jones via Digitalmars-d-learn
On Sunday, 17 September 2017 at 08:37:33 UTC, Ky-Anh Huynh wrote: The official documentation here https://dlang.org/phobos/std_path.html#.globMatch refers to the wiki page https://en.wikipedia.org/wiki/Glob_%28programming%29 . However I think the popular glob rules (man 7 glob) are not suppor

Re: Looking for instructions on how to make a Derelict library

2017-09-18 Thread Matt Jones via Digitalmars-d-learn
On Monday, 18 September 2017 at 11:27:01 UTC, jmh530 wrote: On Monday, 18 September 2017 at 00:33:25 UTC, Matt Jones wrote: I've been reading the DerelictSDL2 source code. I think I have a handle on it. I'll have to look more at the wiki too. Thanks. Might be interesting t

Re: Looking for instructions on how to make a Derelict library

2017-09-17 Thread Matt Jones via Digitalmars-d-learn
On Monday, 18 September 2017 at 00:21:23 UTC, Mike Parker wrote: See the D wiki for links to articles that show how to translate C headers. I've been reading the DerelictSDL2 source code. I think I have a handle on it. I'll have to look more at the wiki too. Thanks.

Looking for instructions on how to make a Derelict library

2017-09-17 Thread Matt Jones via Digitalmars-d-learn
Hey everyone, I wanted to make a version of SQlite3 that uses Derelict to load the sqlite3 DLL when I'm ready. I can't find any instructions for how to make a basic Derelict style library. I looked around at http://derelictorg.github.io/, but could not find anything. Does anyone have any? T

Re: [Rails-core] New feature suggestion: ActiveRecord store_reader

2017-08-03 Thread Matt Jones
_reader(store_attribute, *keys) store_accessor(store_attribute, *keys) keys.each { |k| undef_method(“#{k}=") } end Or swap in “private” for “undef_method” if you want to use the setters internally. —Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby

Re: [Rails-core] Break out testing library from ActiveSupport?

2017-08-02 Thread Matt Jones
4f725030fe8315952cf3799a395/lib/rspec/rails/adapters.rb#L22> I’ll reiterate Rafael’s point from earlier in the thread: why is removing this dependency important? —Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core&qu

[Rails] Re: Prime user table for the first user

2017-07-13 Thread Matt Jones
e the first. If you're worried about somebody racing to sign up for that first account, you'll want to come up with a more secure approach. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsu

[Rails] Re: One database and several users with different access rights

2017-07-12 Thread Matt Jones
www.2ndquadrant.com/en/resources/pglogical/ To replicate only the large table to per-user Postgres DBs. Definitely NOT an appropriate solution for multi-tenancy with lots of users, but neither is table-per-user. --Matt Jones -- You received this message because you are subscribe

Re: Packaging a gui app

2017-02-26 Thread matt jones
Jones @CaffeinatedEng On 2/26/17, 11:15 AM, "Christian Seiler" wrote: On 02/26/2017 04:52 PM, The Wanderer wrote: > On 2017-02-26 at 10:47, Ghislain Vaillant wrote: > >> On Sun, 2017-02-26 at 10:15 -0500, matt jones wrote: >> >>> I am

Packaging a gui app

2017-02-26 Thread matt jones
I am packaging a gui that has dependencies for qt and such. How do I go about ensuring that X is available as well? Do I list that as a dependency as well. The upstream maintainers don’t call it out specifically but it is understood. Links to docs are always welcome. Thanks! -- Matt

Bug#855173: RFP: keepassxc -- Community fork of KeePassX, a free and open-source cross-platform password manager.

2017-02-14 Thread Matt Jones
I am not a maintainer or developer but an active user if debain and keepass. I would be willing to take this in depending on timeframe. I have time starting next week to devote to this. I have built packages in the past so this is not a huge issue for me On Feb 14, 2017 5:45 PM, "KeePassXC Team"

Bug#855173: RFP: keepassxc -- Community fork of KeePassX, a free and open-source cross-platform password manager.

2017-02-14 Thread Matt Jones
I am not a maintainer or developer but an active user if debain and keepass. I would be willing to take this in depending on timeframe. I have time starting next week to devote to this. I have built packages in the past so this is not a huge issue for me On Feb 14, 2017 5:45 PM, "KeePassXC Team"

Re: [Rails-core] Provide all ActiveRecord exceptions with a `record` attribute

2016-12-02 Thread Matt Jones
ong” (RecordNotSaved, RecordNotDestroyed, StaleObjectError, UnknownAttributeError) than the situations that raise StatementInvalid. —Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop

Bug#844786: Project repo

2016-11-20 Thread Matt Jones
Project repo: https://github.com/mattyjones/debian_snap -- Matt Jones @CaffeinatedEng Senior Infrastructure Engineer - Yieldbot Inc. <http://yieldbot.com/> Co-Organizer - Boston Infrastructure Coders <http://www.meetup.com/Boston-Infrastructure-Coders/> Organizer - Metrowest Golang

Bug#844786: Project repo

2016-11-20 Thread Matt Jones
Project repo: https://github.com/mattyjones/debian_snap -- Matt Jones @CaffeinatedEng Senior Infrastructure Engineer - Yieldbot Inc. <http://yieldbot.com/> Co-Organizer - Boston Infrastructure Coders <http://www.meetup.com/Boston-Infrastructure-Coders/> Organizer - Metrowest Golang

Bug#845131: ITP: snap-telemetry-plugins -- Plugins for snap-telemetry to enhance and extend its capabilities

2016-11-20 Thread matt jones
Package: wnpp Severity: wishlist Owner: matt jones * Package name: snap-telemetry-plugins-full Version : 1.0.0 Upstream Author : Snap Community * URL : http://snap-telemetry.io/ * License : Apache Version 2.0 Programming Lang: Go Description : Plugins

Bug#845131: ITP: snap-telemetry-plugins -- Plugins for snap-telemetry to enhance and extend its capabilities

2016-11-20 Thread matt jones
Package: wnpp Severity: wishlist Owner: matt jones * Package name: snap-telemetry-plugins-full Version : 1.0.0 Upstream Author : Snap Community * URL : http://snap-telemetry.io/ * License : Apache Version 2.0 Programming Lang: Go Description : Plugins

Bug#845131: ITP: snap-telemetry-plugins -- Plugins for snap-telemetry to enhance and extend its capabilities

2016-11-20 Thread matt jones
Package: wnpp Severity: wishlist Owner: matt jones * Package name: snap-telemetry-plugins-full Version : 1.0.0 Upstream Author : Snap Community * URL : http://snap-telemetry.io/ * License : Apache Version 2.0 Programming Lang: Go Description : Plugins

Bug#844786: Update package name

2016-11-18 Thread Matt Jones
The name snap is already taken so to avoid conflict and explicitly declare the purpose of the package I suggest updating the package name to snap-telemetry.

Bug#844786: Update package name

2016-11-18 Thread Matt Jones
The name snap is already taken so to avoid conflict and explicitly declare the purpose of the package I suggest updating the package name to snap-telemetry.

Bug#844786: ITP: snap -- The open telemetry framework

2016-11-18 Thread matt jones
Package: wnpp Severity: wishlist Owner: matt jones * Package name: snap Version : 1.0.0 Upstream Author : Intel * URL : http://snap-telemetry.io/ * License : Apache License Version 2.0 Programming Lang: Go Description : The open telemetry framework

Bug#844786: ITP: snap -- The open telemetry framework

2016-11-18 Thread matt jones
Package: wnpp Severity: wishlist Owner: matt jones * Package name: snap Version : 1.0.0 Upstream Author : Intel * URL : http://snap-telemetry.io/ * License : Apache License Version 2.0 Programming Lang: Go Description : The open telemetry framework

Bug#844786: ITP: snap -- The open telemetry framework

2016-11-18 Thread matt jones
Package: wnpp Severity: wishlist Owner: matt jones * Package name: snap Version : 1.0.0 Upstream Author : Intel * URL : http://snap-telemetry.io/ * License : Apache License Version 2.0 Programming Lang: Go Description : The open telemetry framework

Re: [Rails-core] Warn the developer when using `to:` with an array of emails that he is going to reveal the emails to everyone

2016-10-13 Thread Matt Jones
derstand the risks end up having to do a slight amount of additional ceremony, and people who don’t understand the risks copy-paste the incantation to “make it work”. —Matt Jones > I do think it would be strange for bcc to be the default, though. The only > alternative I can think of

[Rails] Re: Application with dynamically/custom fields

2016-04-07 Thread Matt Jones
d otherwise, but you may encounter odd behavior. * the data model doesn't seem quite right - custom_field_infos should have a contact_id column and a custom_field_id column (to indicate which contact & field this record has data for). It shouldn't need a user_id column unless

Re: [Rails-core] Using "IS DISTINCT FROM" instead of "!=" for inequality checks

2016-03-19 Thread Matt Jones
pect the most difficult work for a change like this would be coordinating & messaging the update - it would need to be announced quite prominently, since the change will result in queries returning different results while still succeeding. —Matt Jones -- You received this message because

Re: [Rails] How to match a literal colon in a route

2016-03-02 Thread Matt Jones
uting of ARK URLs, you may want to consider writing your own Rack middleware to hijack the URL parsing process and transmute them into something more palatable to the existing router. --Matt Jones On Monday, 29 February 2016 20:21:19 UTC-5, Justin Coyne wrote: > > I'

Re: [Rails] adding descriptions to images displayed in bluimp image gallery

2016-03-02 Thread Matt Jones
t; >> > -- >> > You received this message because you are subscribed to the Google >> Groups "Ruby on Rails: Talk" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to rubyonrails-ta...@googlegroups.com.

[Rails] Re: How to get Rails Internal IP

2016-02-15 Thread Matt Jones
ecommend depending on that for anything like licensing or authorization since any data coming from JS is trivially spoofable. I'd recommend that you push back on whoever / whatever is imposing this requirement to figure out what the intent is. You may need to find an alternative way to a

[Rails] Re: rou

2016-02-12 Thread Matt Jones
On Tuesday, 9 February 2016 18:21:15 UTC-6, Ankit Raj wrote: > > > > On Wednesday, February 10, 2016 at 12:00:42 AM UTC+5:30, Matt Jones wrote: >> >> >> >> On Tuesday, 9 February 2016 12:20:37 UTC-6, Ankit Raj wrote: >>> >>> Hello geeks, >

[Rails] Re: rou

2016-02-09 Thread Matt Jones
You didn't show the controller code, but that's where I'd recommend you start looking. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it,

Re: [Rails] Dynamic Fields and Models Architecture

2016-01-26 Thread Matt Jones
The query interface you're describing sounds a lot like Elastic (formerly Elasticsearch): https://www.elastic.co/products/elasticsearch --Matt Jones On Tuesday, 26 January 2016 02:19:23 UTC-6, Usman Shahid wrote: > > Parsing isn't the issue. The problem is that I don't

[pydotorg-www] Editing

2016-01-25 Thread Matt Jones
Name- Matt Jones Editing request for beginners, Adding some software that let you use Python. ___ pydotorg-www mailing list pydotorg-www@python.org https://mail.python.org/mailman/listinfo/pydotorg-www

[Rails] Re: Has anyone setup Acts_as_Follower Gem Successfully?

2016-01-22 Thread Matt Jones
On Thursday, 21 January 2016 22:21:37 UTC-6, Ruby-Forum.com User wrote: > > Matt Jones wrote in post #1180578: > > On Tuesday, 12 January 2016 00:12:04 UTC-5, Ruby-Forum.com User wrote: > >> follow to unfollow. > >> > > I'm returning for

[Rails] Re: Polymorphic join table not loading with includes

2016-01-14 Thread Matt Jones
omments"."id" AS t1_r0, "comments"."content" AS t1_r1 FROM "posts" LEFT OUTER JOIN "post_artifacts" ON "post_artifacts"."post_id" = "posts"."id" AND "post_artifacts"."artifact_type" =

[Rails] Re: Has anyone setup Acts_as_Follower Gem Successfully?

2016-01-12 Thread Matt Jones
. I'd recommend you try that code and report back if there are problems you can't sort out. Lastly, adding a block button and unblock button. > Again, you'll get much better assistance here if you try things yourself first. If you want requirements turned directly into c

Re: [Rails-core] Use refinements for ActiveSupport in Rails 6?

2016-01-05 Thread Matt Jones
rror This also implies a “using ActiveSupport::BagORefinements” at the top of a *lot* of files in the typical application. :( On the performance front, IIRC part of the reason for the strong lexical scoping of refinements was performance concerns regarding the original dynamic implementation’

[Rails] Re: Get a username when using Devise and Omniauth

2015-12-30 Thread Matt Jones
github.com/plataformatec/devise/wiki/How-To:-redirect-to-a-specific-page-on-successful-sign-in#redirect-back-to-current-page-after-oauth-signin Based on the requirements you've described, one option would be to check on sign-in to see if a user has no username and redirect them to a page that

[Rails] Re: Covert Hijiri Date to Gregorian Date

2015-12-17 Thread Matt Jones
> > Thanks in advance > You may get more assistance if you post an example of the conversion code that's failing. I can't speak to the accuracy, but the gem at https://github.com/ecleel/hijri at least has tests. --Matt Jones -- You received this message because you are subscr

[Rails] Re: Failure to install or update any gem through Win CMD

2015-12-11 Thread Matt Jones
ubinius/rubinius/issues/2929#issuecomment-34701873 Can you run the script linked there and paste your output? Since this is (potentially) a networking issue, any information about your setup (system version, network config, any proxies in use, etc) would be useful. --Matt Jones -- You recei

[Rails] Re: create/unload runtime routes

2015-12-11 Thread Matt Jones
the whole solution, since it's going to be creating routes to controllers that either existed at application startup (in which case the routes could just be in routes.rb) or that are being conjured into existence at runtime (tricky, and likely to cause exciting thread-safety issues on some

[jira] [Commented] (KARAF-4099) Karaf 4.0.2 with cave 4.0.0: obr:deploy not deploying dependencies

2015-11-13 Thread Matt Jones (JIRA)
[ https://issues.apache.org/jira/browse/KARAF-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004165#comment-15004165 ] Matt Jones commented on KARAF-4099: --- When I upload bundles to Cave 3.0, the OBR fea

[Rails] Re: Dynamic Links within a namespace

2015-11-09 Thread Matt Jones
d in the `link_to` documentation, but looking at the source it appears you can pass the same sort of thing you'd give `polymorphic_path` to get namespace routes. http://api.rubyonrails.org/classes/ActionDispatch/Routing/PolymorphicRoutes.html So something like `link_to([:admin, perso

[jira] [Created] (KARAF-4099) Karaf 4.0.2 with cave 4.0.0: obr:deploy not deploying dependencies

2015-11-06 Thread Matt Jones (JIRA)
Matt Jones created KARAF-4099: - Summary: Karaf 4.0.2 with cave 4.0.0: obr:deploy not deploying dependencies Key: KARAF-4099 URL: https://issues.apache.org/jira/browse/KARAF-4099 Project: Karaf

Re: [Rails-core] link_to_if/link_to_unless inconsistencies

2015-11-05 Thread Matt Jones
se %> Content for false <% end %> IMO, `link_to_if` and `link_to_unless` are intended to capture a common pattern that would otherwise lead to repeated strings / code. If you need a behavior that's well outside of that pattern, just write ERB / helpers / etc. --Matt Jones -- Yo

[Rails] Re: Login modal using default rails ajax request not working with subdomains

2015-10-21 Thread Matt Jones
On Friday, 16 October 2015 03:37:03 UTC-4, Ruby-Forum.com User wrote: > > I am having a devise user model. > > To login I am using twitter-bootstrap modal.The modal is by default > hidden and shown only after an rails default ajax request is send to the > server. > > It works fine with localh

Re: [Rails] Code to be run on server start up

2015-10-20 Thread Matt Jones
right place for this. For reference or general curiosity, there's a detailed guide to the Rails initialization process here: http://guides.rubyonrails.org/initialization.html --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby o

Re: [Rails-core] has many :through using defined scopes from the :through association instead of dupping

2015-10-16 Thread Matt Jones
ieve the same > effect of : > publications = books.published.map(&:publication) > > I'd *like* to write something similar to: > has_many :publications, through: { :books => :published } > > > I'd handle this with a specifically-named association (in `Author`): has_

[Rails] Re: Running a Ruby Script from Rails controller kills the rails server

2015-10-13 Thread Matt Jones
city as "; rm -rf / ; echo" you're going to have a very bad time, depending on your system's permissions. Prefer the multi-argument version of `system` whenever possible: system("command name", "arg1", "arg2", "arg3") In this form, the argume

[Rails] Re: Too many sessions in a rails 4 app.

2015-10-12 Thread Matt Jones
ust make the form use `GET` and the URL will have all the user's selections. This is also helpful for users who want to bookmark or share the filtered list, as the entire state of the view is encoded in the URL. --Matt Jones -- You received this message because you are subscribed to

[Rails] Re: Active Record has_one through

2015-10-08 Thread Matt Jones
vent can truly only have one artist, this structure is not needed. If an Event can have many artists, than a has_one isn't correct. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group

[Rails] Re: Could not find gem 'tzinfo-data (>= 0) x86-mingw32'

2015-10-08 Thread Matt Jones
em. > First off, don't post screenshots. They get hidden by default in the Google Groups interface, and they're just harder-to-read pictures of text you could have copied directly. Secondly, the first error message says: "Run `bundle install` to install missing gems." H

[Rails] Re: How to write code to search serialize object in rails3 with PG sql

2015-10-07 Thread Matt Jones
his should be a serialized field at all; one of the primary tradeoffs you make with serialized fields vs. storing the data broken out into related records is *searchability*. If you're going to be querying the values extensively, maybe an alternative approach within your DB is better - or per

[Rails] Re: ERROR: While executing gem (Errno::ECONNREFUSED) Connection refused - recvfrom(2)

2015-10-05 Thread Matt Jones
Ruby may have been installed without OpenSSL, the certificate that issued the one used by Rubygems.org may not be trusted by your machine, a proxy server along the way could be misconfigured. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby

Re: [Rails-core] ActiveRecord connection pool management

2015-10-01 Thread Matt Jones
x27;t appear to be possible to reliably manipulate these variables, as the connection used in the first statement may not match the one used in the second. More amusing / worrisome, somebody ELSE gets a connection with an altered SQL_MODE... --Matt Jones -- You received this message because

Re: [Rails] Sorcery Activity loggings

2015-10-01 Thread Matt Jones
provide more specifics on how the application server and database server are set up? In particular, how long does it take for a simple `ping` to get from the application server to the database? --Matt Jones > Den fredag 25 september 2015 kl. 15:16:44 UTC+2 skrev Albert Ramstedt: >&g

Re: [Rails-core] ActiveRecord connection pool management

2015-10-01 Thread Matt Jones
mizing for that uncommon case at a runtime cost for the common one. --Matt Jones On Thu, Oct 1, 2015 at 4:25 AM, Xavier Noria wrote: > The only time I've seen one connection per thread being an issue was in > one app that ran many processes and it started to reach the connection > lim

[Rails] Re: reset association cache for polymorphism

2015-09-20 Thread Matt Jones
encil < ActiveRecord::Base has_many :products, as: :details_info end class Notebook < ActiveRecord::Base has_many :products, as: :details_info end ``` Given those models, if you retrieve a list of Product objects you should be able to access each one's `details_info` fr

Re: [Rails-core] reset association cache for polymorphism

2015-09-20 Thread Matt Jones
Guides: http://guides.rubyonrails.org/association_basics.html#polymorphic-associations My guess is that that functionality will allow you to avoid the `table_name` swapping that’s tripping up the code above. But also note that this list is for development of the Rails framework, not for debuggin

[Rails] Re: how testing associated objects?

2015-09-02 Thread Matt Jones
in `block (3 > levels) in ' > > Finished in 1.23 seconds (files took 2.81 seconds to load) > 3 examples, 1 failure > Failed examples: > rspec ./spec/controllers/polls_controller_spec.rb:14 # PollsController > GET #index assigns polls as @polls > > > as you

Re: [Rails-core] Bug in HashWithIndifferentAccess?

2015-09-01 Thread Matt Jones
esn’t require conversion (coalwater’s modification from your Gist) the object returned from `||=` DOES match, and Waldo is found. Not sure if there’s a fix for this - the converting-on-[]= behavior is something many applications are likely to depend on, and the behavior of assignment operators is

[Rails] Re: importing .csv file from user and storing data of csv into database using ruby on rails.

2015-08-27 Thread Matt Jones
o possible that these were adding while composing the email. > if @question.count == 1 > @question.first.update_attributes(question_hash) > else > Question.save!(question_hash) > What is the intent of this line? Are there situations where you can have multiple `Question` record

Re: [Rails-core] Re: Always set id from database when creating new record

2015-08-24 Thread Matt Jones
standard, DB-independent approach to dealing with trigger-supplied data (calling `reload` after saving) won't work for. :) --Matt Jones Dne pátek 21. srpna 2015 17:26:49 UTC+2 masa331 napsal(a): > >> Hi guys, >> >> this is code from ActiveRecord::Persistance: &g

[Rails] Re: SSH/VNC/RDP Client Gems

2015-08-24 Thread Matt Jones
vailable to the *server*, which may be a deal-breaker if you're trying to build a service for people to connect to third-party SSH hosts. There are similar projects for RDP: http://guac-dev.org/ But again, this is a "JS frontend to server-installed software" approach, not entirely cl

[Rails] Re: Arabic text showing not properly in the file of s3

2015-08-24 Thread Matt Jones
V setting the correct encoding? Corrupted data earlier in the process will generally be passed straight through subsequent steps, so troubleshooting starting from the end (the CSV file on S3) is going to be difficult. --Matt Jones > On Friday, 21 August 2015 15:55:00 UTC+4, Matt Jones w

[Rails] Re: Arabic text showing not properly in the file of s3

2015-08-21 Thread Matt Jones
dy corrupted in the CSV. The text you've pasted looks like the result of double-encoding the names in UTF8. For instance, the first two characters: ا are codepoints U+D8 and U+A7. Together, those two bytes (read as UTF8) make up the single character U+0627 (ARABIC LETTER ALEF) which is w

[Rails] Re: I am new to Rails and Cucumber. Can someone help me with the error below?

2015-08-20 Thread Matt Jones
equire': cannot load such file -- sqlite3/sqlite3_native > (LoadError) > > The sqlite3 gem also requires a native SQLite3 driver to be installed. See this post for possible solutions: http://stackoverflow.com/questions/15480381/how-do-i-install-sqlite3-for-ruby-on-windows --Matt Jones

[Rails] Re: how to find what all associations have dependent: destroy associated with them from a concern

2015-08-20 Thread Matt Jones
s[:dependent] # do something with it end end ``` --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr..

[Rails] Re: Why does rake behave differently in production

2015-08-20 Thread Matt Jones
to be used in development? > :environment should work everywhere - I've been using it in production rake tasks for years. Can you be more specific about how the task was "not working as expected"? If it failed to start, what was the error message? Try running it with `--trace`

[Rails] Re: Upgrading from rails 3.0 to 3.2

2015-08-20 Thread Matt Jones
actually trying to use execute the following statement when this > error happened. > ActiveRecord::Base.connection.column_exists? klass.table_name, :user_id > > Any ideas on work arounds > > That version of attr_encrypted is fairly old, but I don't think it's the

[Rails] Re: Downgrading from Ruby 2.1.6 to Ruby 1.8.7

2015-08-20 Thread Matt Jones
ing the application is much trickier. If none of those arguments work, at least post the name of the company on here. I'd like to make sure I never give them my credit card number... --Matt Jones Could anyone help us? Is there any other tool to do the migration from > 2.1.6 to 1.8.7.

[Rails] Re: How to preserve the session id whether the http request header contains 'Pragma'='no-cache'.

2015-08-05 Thread Matt Jones
;Pragma'='no-cache'. > I can't find much documentation for Protected View, but there's some indication that it may be fiddling with the context that the web request uses when you click on the link: https://onmessages.wordpress.com/2015/01/19/a-security-problem-has-occur

[Rails] Re: Helps us with your feedback

2015-08-05 Thread Matt Jones
On Wednesday, 5 August 2015 06:50:50 UTC-4, tomcoo...@gmail.com wrote: > > Hey there > > We are dev team building outsource projects. And each time finishing the > projects we've had a pain with configuring backups (files and DBs) for our > customer's VPS. > > Honestly, I think that you, guys,

[Rails] Re: Restclient error

2015-08-05 Thread Matt Jones
enssl/ which will walk through how to troubleshoot this. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr..

[Rails] Re: Net::SMTPSyntaxError (501 Sender syntax err$ Heroku

2015-08-03 Thread Matt Jones
ntain any unwanted characters, and if it has dashes in it make sure they haven't been converted to Unicode ones by a "helpful" autocorrect. You may want to reach out to Postmark's support and see if they can provide additional insight from their logs. --Matt Jones -- You r

[Rails] Re: How to save double-byte characters in mongodb?

2015-07-19 Thread Matt Jones
tor, or that it is saved incorrectly to the database? I was able to produce a string that looks (to my thoroughly-unfamiliar-with-Telegu-script eyes) like your "spelling goes wrong" example by replacing the last six bytes of the string with two literal periods (codepoint U+2E). --Matt

Re: [Rails-core] Cookie store and object instances in session behavior when instance class no longer exists

2015-07-16 Thread Matt Jones
make the call to "muddle through”, but that would be an unsafe default for some applications. > Or maybe Rails could simply remove all cookies when an error happens due to > deserialization raising. Or at least make the desired behavior more easily > configurable. What do you think? +1 to making i

[Rails] Re: Re: Re: Re: Re: Re: Re: Migrating a complete Ruby rails app off heroku!

2015-07-09 Thread Matt Jones
it'd make the world a better place. There is a > quick and fast (and yes dirty) way to get stuff going. Not everything's > gotta be perfect and "As it should be" see... > BTW, I've got a Windows 1.0 app that I need to recompile for Windows 10. I need you to tell

Urgent Need Java Developer with (WCAG)

2015-06-11 Thread Matt Jones
health insurance programs WebSphere developer who has at least 2 years’ experience developing and providing analysis using: Core Java J2EE Spring Core Spring JDBC AXIS2, XML XSD -- *Warm Regards* *Matt Jones* *Technical Recruiter** |** Panzer Solutions LLC |* *(**Best Way to reach me through Email

Urgent Need Java Developer with (WCAG)

2015-06-11 Thread Matt Jones
health insurance programs WebSphere developer who has at least 2 years’ experience developing and providing analysis using: Core Java J2EE Spring Core Spring JDBC AXIS2, XML XSD -- *Warm Regards* *Matt Jones* *Technical Recruiter** |** Panzer Solutions LLC |* *(**Best Way to reach me through Email

Urgent Need Java Developer with (WCAG)

2015-06-11 Thread Matt Jones
health insurance programs WebSphere developer who has at least 2 years’ experience developing and providing analysis using: Core Java J2EE Spring Core Spring JDBC AXIS2, XML XSD -- *Warm Regards* *Matt Jones* *Technical Recruiter** |** Panzer Solutions LLC |* *(**Best Way to reach me through Email

Urgent Need Java Developer with (WCAG)

2015-06-11 Thread Matt Jones
health insurance programs WebSphere developer who has at least 2 years’ experience developing and providing analysis using: Core Java J2EE Spring Core Spring JDBC AXIS2, XML XSD -- *Warm Regards* *Matt Jones* *Technical Recruiter** |** Panzer Solutions LLC |* *(**Best Way to reach me through Email

Urgent Need Java Developer with (WCAG)

2015-06-11 Thread Matt Jones
health insurance programs WebSphere developer who has at least 2 years’ experience developing and providing analysis using: Core Java J2EE Spring Core Spring JDBC AXIS2, XML XSD -- *Warm Regards* *Matt Jones* *Technical Recruiter** |** Panzer Solutions LLC |* *(**Best Way to reach me through Email

  1   2   3   4   5   6   7   8   9   10   >