Re: [Rails] S3 Bucket Policy

2019-02-10 Thread Daniel Dunckel
This policy must be applied to a user, group, or IAM role (and maybe other options). Also, are you sure that your application is only using the granted actions? It's not trying to list buckets, list objects or other? Check the IAM documentation. It's really thorough and should help you spot what'

Re: [Rails] S3 Bucket Policy

2019-02-10 Thread David Merrick
Fixed but now getting Access Denied Error { "Version":"2012-10-17", "Id":"266865133225", "Statement":[ { "Sid":"1", "Effect":"Allow", "Principal":"*", "Action":["s3:PutObject","s3:GetObject"], "Resource":"arn:aws:s3:::pininterest/*", "Condition":{

Re: [Rails] S3 Bucket Policy

2019-02-10 Thread David Merrick
Thanks On Mon, Feb 11, 2019 at 5:52 PM Daniel Dunckel wrote: > I see your URL is missing a double quote at the beginning. > > Try using jsonlint.com > > On Mon, Feb 11, 2019 at 4:42 AM David Merrick > wrote: > >> Why I am getting this Error This policy contains invalid Json? >> >> { >> "Versi

Re: [Rails] S3 Bucket Policy

2019-02-10 Thread Daniel Dunckel
I see your URL is missing a double quote at the beginning. Try using jsonlint.com On Mon, Feb 11, 2019 at 4:42 AM David Merrick wrote: > Why I am getting this Error This policy contains invalid Json? > > { > "Version":"2019-02-11", > "Id":"http referer policy example", > "Statement":[ >

[Rails] S3 Bucket Policy

2019-02-10 Thread David Merrick
Why I am getting this Error This policy contains invalid Json? { "Version":"2019-02-11", "Id":"http referer policy example", "Statement":[ { "Sid":"Allow get requests originating from www.example.com and example.com.", "Effect":"Allow", "Principal":"*", "Action":

Re: [Rails] Building basic airline reservation system with Ruby on Rails

2019-02-10 Thread Hassan Schroeder
On Sun, Feb 10, 2019 at 3:55 PM Daniel Toma wrote: > > Hi, thank you very much for replying. I forgot to mention a biggie: that > JS isn't allowed. I can use CSS and Bootstrap but no JS allowed in this > particular project (JS is our next module). > I sense that Ruby (on Rails) isn't particu

Re: [Rails] Building basic airline reservation system with Ruby on Rails

2019-02-10 Thread Daniel Toma
Hi, thank you very much for replying. I forgot to mention a biggie: that JS isn't allowed. I can use CSS and Bootstrap but no JS allowed in this particular project (JS is our next module). I sense that Ruby (on Rails) isn't particularly geared for this type of interactivity. On Sunday, Feb

[Rails] Re: Building basic airline reservation system with Ruby on Rails

2019-02-10 Thread Daniel Toma
It's called Flatiron School. Their main "campus" is in Manhattan. I'm at one of their offices called Access Labs, in Brooklyn. On Sunday, February 10, 2019 at 2:27:35 PM UTC-5, Joe Guerra wrote: > > Wow, very nice. Where you taking your training? > > On Sunday, February 10, 2019 at 2:13:34

[Rails] Re: clipboard.js with html.erb to be copied to clipboard

2019-02-10 Thread fugee ohu
On Sunday, February 10, 2019 at 3:44:51 AM UTC-5, fugee ohu wrote: > > I'm trying to implement clipboard.js It works if i put a simple text > string inside the ... > containers but if I put the html shown below it copies only newline and > whitespace characters to the clipboard > > https://ig

[Rails] Re: Building basic airline reservation system with Ruby on Rails

2019-02-10 Thread Joe Guerra
Wow, very nice. Where you taking your training? On Sunday, February 10, 2019 at 2:13:34 AM UTC-5, Daniel Toma wrote: > > I'm 5 weeks into a training program that consists of Ruby, Ruby on Rails, > Javascript, and React. I'm about the wrap up the 3-week module for Ruby on > Rails, and chose t

Re: [Rails] clipboard.js with html.erb to be copied to clipboard

2019-02-10 Thread Rob Zolkos
Is the Ruby on Rails list the best place to ask this question? On Sun, Feb 10, 2019 at 6:45 PM fugee ohu wrote: > I'm trying to implement clipboard.js It works if i put a simple text > string inside the ... > containers but if I put the html shown below it copies only newline and > whitespace ch

[Rails] clipboard.js with html.erb to be copied to clipboard

2019-02-10 Thread fugee ohu
I'm trying to implement clipboard.js It works if i put a simple text string inside the ... containers but if I put the html shown below it copies only newline and whitespace characters to the clipboard https://ignatzmouse.com/<%= current_user.name %>/page> https://sn.com/follow-me-on-sn.png>