Re: [Rails] Re: general 3rd party troubleshooting tips?

2020-01-29 Thread Sampson Crowley
well that escalated quickly On Wed, Jan 29, 2020 at 1:36 PM Joe Guerra wrote: > It's ok now, I got fired. > > On Tuesday, January 28, 2020 at 2:40:34 PM UTC-5, Brandon McClelland wrote: >> >> "It had been working, now it's not" - something changed between then and >> now. Look for code updates,

Re: [Rails] [JOBS] Ruby on Rails developer - Remote OK

2020-01-15 Thread Sampson Crowley
This really sounds like an interesting position that ticks all of my boxes and vice versa. Feel free to contact me at any time to discuss needs and expectations. On Sun, Jan 12, 2020 at 10:55 AM Siva Gopalreddy < sivagopalreddy...@gmail.com> wrote: > Hi , > I am interested for this position. > >

[Rails] Re: jquery css styling not being applied when appending to the dom

2019-12-30 Thread Sampson Crowley
there are a massive number of possible reasons. you really should do some research on css display types, as I'm assuming `right` is supposed to be a element with "float: right" but "span" tags don't respond to floats unless they have been set as block-level elements On Tuesday, December 24,

Re: [Rails] Rails Angular

2019-08-07 Thread Sampson Crowley
seriously though google `rails angular`. there are literally thousands of resources. This is really showing a lack of respect for other's time when you won't even google it yourself On Wednesday, August 7, 2019 at 2:02:42 PM UTC-6, bouazza Mohamed wrote: > > is there something with Angular 2

Re: [Rails] Rails Angular

2019-08-07 Thread Sampson Crowley
https://angular.io/ On Wednesday, August 7, 2019 at 2:02:42 PM UTC-6, bouazza Mohamed wrote: > > is there something with Angular 2 > > Le mercredi 7 août 2019 06:34:20 UTC-7, Joe Guerra a écrit : >> >> Here is one... >> >> https://youtu.be/R96rw9vEtiQ >> >> On Wed., Aug. 7, 2019, 8:09 a.m. Joe

Re: [Rails] Rails Angular

2019-08-07 Thread Sampson Crowley
this is for an interview... if you don't know how to use Angular 2, or even find the docs, maybe this isn't the job for you? On Wed, Aug 7, 2019 at 2:02 PM bouazza Mohamed wrote: > is there something with Angular 2 > > Le mercredi 7 août 2019 06:34:20 UTC-7, Joe Guerra a écrit : >> >> Here is

Re: [Rails] Re: Rails 5.2 Custom Credentials — generally accepted way to segregate environments?

2019-06-14 Thread Sampson Crowley
> But if you have a team where you don't care if all the devs have the same > (full) credentials then I like this solution best. > > -Jason > > > > > > On Jun 10, 2019, at 8:40 PM, Sampson Crowley > wrote: > > for rails 5, just nest environment specific

Re: [Rails] cannot upload more than 8-9KB in production

2019-06-13 Thread Sampson Crowley
*put it in both blocks On Thu, Jun 13, 2019 at 12:28 PM Sampson Crowley wrote: > https://stackoverflow.com/a/35794955/9196467 > > you only have max body size set on https, but it in both blocks. also > where is you main http block config? you can set the max body size there as >

Re: [Rails] cannot upload more than 8-9KB in production

2019-06-13 Thread Sampson Crowley
https://stackoverflow.com/a/35794955/9196467 you only have max body size set on https, but it in both blocks. also where is you main http block config? you can set the max body size there as well On Thu, Jun 13, 2019 at 10:45 AM Walther Privat wrote: > Hi Sampson Crowley, > > Go

Re: [Rails] cannot upload more than 8-9KB in production

2019-06-13 Thread Sampson Crowley
Have you tested your app in production mode without Nginx in front of it? On Thu, Jun 13, 2019, 09:46 Sampson Crowley wrote: > Can't help without your Nginx config. Nginx is just a reverse proxy. > There's nothing you can do in rails that you can't do with Nginx in front > of it

Re: [Rails] cannot upload more than 8-9KB in production

2019-06-13 Thread Sampson Crowley
Can't help without your Nginx config. Nginx is just a reverse proxy. There's nothing you can do in rails that you can't do with Nginx in front of it. There's a problem with how you have Nginx set up, not with rails On Thu, Jun 13, 2019, 02:25 Walther Diechmann wrote: > I've added this issue on

Re: [Rails] Query Bind values with string keys

2019-06-13 Thread Sampson Crowley
Nope, you can't always just do that SomeModel.where("my_column = :named", {"named" => "value"}) Doesn't work. You get a arg not found error -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop

[Rails] Query Bind values with string keys

2019-06-12 Thread Sampson Crowley
Is it possible to use string keys for named query params? I have a very dynamic query builder for and Admin site, and I would like to avoid the extra memory use of permanently storing every key used as a symbol -- You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: Rails 5.2 Custom Credentials — generally accepted way to segregate environments?

2019-06-10 Thread Sampson Crowley
for rails 5, just nest environment specific credentials under a key for said environment then all you have to do when accessing said config is add the environment to the party that pulls in config, e.g.: credentials.yml.enc: main_key: development: sub_key: value_key: 'development'

Re: [Rails] Rails 5.2 Custom Credentials — generally accepted way to segregate environments?

2019-06-10 Thread Sampson Crowley
for rails 5, just nest environment specific credentials under a key for said environment then all you have to do when accessing said config is add the environment to the party that pulls in config, e.g.: credentials.yml.enc ``` main_key: development: sub_key: value_key:

[Rails] Re: Custom template handler

2019-06-06 Thread Sampson Crowley
> > On Thursday, June 6, 2019 at 12:11:09 PM UTC-4, Sampson Crowley wrote: >> >> Can someone please explain to me how I can access the main response >> object and headers in a template handler? I want to create a csv builder >> that streams row by row through a templ

[Rails] How do I group and order by a model without loosing includes() method benefits

2019-06-06 Thread Sampson Crowley
relation = Project. joins( <<-SQL LEFT JOIN ( SELECT bids.project_id, COUNT(bids.id) AS bid_count FROM bids GROUP BY bids.project_id ) bid_counts ON bid_counts.project_id = projects.id SQL ).

[Rails] Custom template handler

2019-06-06 Thread Sampson Crowley
Can someone please explain to me how I can access the main response object and headers in a template handler? I want to create a csv builder that streams row by row through a template instead of having to keep the whole code in the controller, but I can't even get a basic version working