Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-06-25 Thread David Merrick
es', via: :get, as: > :countries_picker > match '/states', to: 'pickers#states', via: :get, as: :states_picker > match '/cities', to: 'pickers#cities', via: :get, as: :cities_picker > > See -- there's no rules that say that you have to use one controller for > one model, or have a se

[Rails] Querying SQL Database in Rails in irb

2019-06-23 Thread David Merrick
Schema create_table "days", force: :cascade do |t| t.integer "season_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.date "raceday" t.index ["season_id"], name: "index_days_on_season_id" end create_table "seasons", force: :cascade do |t|

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-31 Thread David Merrick
r', layout: false > end > end > > Your routes could look like this: > > match '/countries', to: 'pickers#countries', via: :get, as: > :countries_picker > match '/states', to: 'pickers#states', via: :get, as: :states_picker > match '/cities', to: 'pickers#cities', via: :get, as: :citi

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-30 Thread David Merrick
me) > render partial: 'cities_picker', layout: false > end > end > > Your routes could look like this: > > match '/countries', to: 'pickers#countries', via: :get, as: > :countries_picker > match '/states', to: 'pickers#states', via: :get, as: :states_picker > match

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-30 Thread David Merrick
my > original example. > > All of this is covered in great detail in the excellent guide "Routing > from the outside in", at guides.rubyonrails.org > > The ultimate answer to your questions is 'you use the framework'. All the > tools are there for you to build whatever you wa

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-30 Thread David Merrick
t would fit with my > original example. > > All of this is covered in great detail in the excellent guide "Routing > from the outside in", at guides.rubyonrails.org > > The ultimate answer to your questions is 'you use the framework'. All the > tools are there for you

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-29 Thread David Merrick
urrounding form is > submitted with all the dynamic pickers within it. > > Let me know if any of this is too cryptic. > > Walter > > > On May 28, 2019, at 4:06 AM, David Merrick wrote: > > > > My Schema.rb is below > > > > ActiveRecord::Schema.define

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-29 Thread David Merrick
is > submitted with all the dynamic pickers within it. > > Let me know if any of this is too cryptic. > > Walter > > > On May 28, 2019, at 4:06 AM, David Merrick wrote: > > > > My Schema.rb is below > > > > ActiveRecord::Schema.define

Re: [Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-28 Thread David Merrick
er_two > @picker_two_options = Option.find(params[:id]).children > render partial: 'picker_two', layout: false > end > > Each picker then loads the next one, and finally, the surrounding form is > submitted with all the dynamic pickers within it. > > Let me know if any

[Rails] Querying Multi Database Tables and displaying in index.html.erb

2019-05-28 Thread David Merrick
My Schema.rb is below ActiveRecord::Schema.define(version: 2019_05_27_040649) do create_table "days", force: :cascade do |t| t.integer "season_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.date "raceday" t.index ["season_id"], name:

Re: [Rails] Re: Querying Multiple Database table and display results in index.html.erb

2019-05-23 Thread David Merrick
server log, you are omitting a lot of information > > El jue., 23 may. 2019 a las 1:47, David Merrick () > escribió: > >> This is the error I get 'undefined method `fetch_value' for nil:NilClass' >> >> [image: MoorePark Results.png] >> This is what I ultimatel

[Rails] Re: Querying Multiple Database table and display results in index.html.erb

2019-05-22 Thread David Merrick
know how to do the select from the form and to get data to the Database and retrieve the results and display them On Thursday, May 23, 2019 at 3:09:20 PM UTC+12, David Merrick wrote: > > I am trying to Querying Multiple Database table and display results in > races index.html.erb &

[Rails] Querying Multiple Database table and display results in index.html.erb

2019-05-22 Thread David Merrick
I am trying to Querying Multiple Database table and display results in races index.html.erb Schema is this ActiveRecord::Schema.define(version: 2019_05_21_043953) do create_table "days", force: :cascade do |t| t.date "day" t.integer "season_id" t.datetime "created_at", null:

Re: [Rails] Re: jquery drop down hover

2019-04-02 Thread David Merrick
.4, no idea where it's getting it from. (or why 3.3.1 > isn't loading). > > > On Tuesday, April 2, 2019 at 4:22:30 PM UTC-4, David Merrick wrote: >> >> Make sure you have the gem bootstrap sass could help >> >> On Wed, 3 Apr 2019 9:03 AM Joe Guerra wrote: >

Re: [Rails] Re: jquery drop down hover

2019-04-02 Thread David Merrick
Make sure you have the gem bootstrap sass could help On Wed, 3 Apr 2019 9:03 AM Joe Guerra wrote: > ok, here's my application.js > > // This is a manifest file that'll be compiled into application.js, which > will include all the files > // listed below. > // > // Any JavaScript/Coffee file

Re: [Rails] Re: build fail on heroku

2019-03-16 Thread David Merrick
, March 16, 2019 at 3:10:40 PM UTC-4, David Merrick wrote: >> >> Between switching gems and a possible error or missing file in initialize >> has created a problem is my guess. >> >> Cheers Dave >> >> On Sun, Mar 17, 2019 at 4:32 AM Joe Guerra wrote: >

Re: [Rails] Re: build fail on heroku

2019-03-16 Thread David Merrick
Between switching gems and a possible error or missing file in initialize has created a problem is my guess. Cheers Dave On Sun, Mar 17, 2019 at 4:32 AM Joe Guerra wrote: > oh, it must be something to do with ruby-sass that I updated because of > some vulnerabilities. > > On Saturday, March

Re: [Rails] Has anyone seen these errors?

2019-03-08 Thread David Merrick
ch 7, 2019 at 6:30:00 PM UTC-5, David Merrick wrote: >> >> Try looking at the doc for the Jason gem. Check for dependencies. Falling >> that ask Walter. >> >> On Fri, 8 Mar 2019 11:10 AM wrote: >> >>> Hi David, >>> >>> Thank you for the in

Re: [Rails] Has anyone seen these errors?

2019-03-07 Thread David Merrick
Try looking at the doc for the Jason gem. Check for dependencies. Falling that ask Walter. On Fri, 8 Mar 2019 11:10 AM wrote: > Hi David, > > Thank you for the insight. This started as an older Rails project. I am > trying to manually install json 1.8.6 and am getting the following error: > >

Re: [Rails] Has anyone seen these errors?

2019-03-07 Thread David Merrick
I think I went back to the Rails5.2.2 gem and used this version of Rails. Also I didn't specify the Ruby gem just used the default one. -- 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

Re: [Rails] Has anyone seen these errors?

2019-03-07 Thread David Merrick
Try bundle update. On Fri, 8 Mar 2019 6:47 AM wrote: > Hi everyone, > > Has anyone seen the following issues and if so how did you resolve them? > > Bundler could not find compatible versions for gem "bundler": > In Gemfile: > rails (= 4.2.4) was resolved to 4.2.4, which depends on >

Re: [Rails] Devise

2019-02-26 Thread David Merrick
Hi Colin. Attached are some files On Tue, Feb 26, 2019 at 10:11 PM Colin Law wrote: > On Tue, 26 Feb 2019 at 03:32, David Merrick wrote: > > > > I don't see any errors in the logs. No errors are displayed sorry > > Well what *do* you see in the logs when you click

Re: [Rails] Devise

2019-02-26 Thread David Merrick
Ok thanks On Tue, Feb 26, 2019 at 10:11 PM Colin Law wrote: > On Tue, 26 Feb 2019 at 03:32, David Merrick wrote: > > > > I don't see any errors in the logs. No errors are displayed sorry > > Well what *do* you see in the logs when you click the link. Comparing > it wit

Re: [Rails] Devise

2019-02-25 Thread David Merrick
I don't see any errors in the logs. No errors are displayed sorry On Tue, Feb 26, 2019 at 11:03 AM Walter Lee Davis wrote: > What do the errors look like? When you say it doesn't work, what exactly > are you seeing? > > Walter > > > On Feb 25, 2019, at 4:56 PM, David Merri

Re: [Rails] Devise

2019-02-25 Thread David Merrick
Hi Rob at the moment only the password reset email works. Are you able to check them please? Password reset Hello <%= @resource.email %>! Someone has requested a link to change your password. You can do this through the link below. <%= link_to 'Change my password', edit_password_url(@resource,

[Rails] Devise

2019-02-24 Thread David Merrick
How many Rails Developers use Devise? How many of you have successfully incorporated mail in Devise. I am having trouble incorporating mail into Devise. Does anyone know how to do this with Rails 5.2.2? Cheers Dave -- You received this message because you are subscribed to the Google Groups

Re: [Rails] What is the mysql equivalent to heroku pg:reset DATABASE?

2019-02-23 Thread David Merrick
in terms of Rails the two are interchangeable. On Sun, 24 Feb 2019 12:18 PM wrote: > Hey Everyone, > > I was just wondering if anyone knew the mysql equivalent to $ heroku > pg:reset DATABASE. > > Thank you > > -- > You received this message because you are subscribed to the Google Groups >

Re: [Rails] What is the mysql equivalent to heroku pg:reset DATABASE?

2019-02-23 Thread David Merrick
Do what Walter said On Sun, 24 Feb 2019 12:18 PM wrote: > Hey Everyone, > > I was just wondering if anyone knew the mysql equivalent to $ heroku > pg:reset DATABASE. > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. >

Re: [Rails] Uploading from desktop to Heroku

2019-02-23 Thread David Merrick
Hi you need to create a git repository. You can upload from git or upload from your local computer. By using these statements, This works on Linux Mint ad should work on there distros. You need to log into your heroku account bu using heroku login in the terminal. Then create your app on Heroku

Re: [Rails] Re: Objects in S3 Bucket

2019-02-16 Thread David Merrick
Thanks On Sat, Feb 16, 2019 at 10:41 PM Rob Jonson wrote: > > On Saturday, 16 February 2019 04:27:51 UTC, David Merrick wrote: >> >> Is there a way stop logged in users copying and pasting resources in a S3 >> Bucket to other people? >> > > The easiest way to

[Rails] Objects in S3 Bucket

2019-02-15 Thread David Merrick
Is there a way stop logged in users copying and pasting resources in a S3 Bucket to other people? Eg https://s3-ap-southeast-1.amazonaws.com/BucketName/Folder/91155-EXP.pdf The 91155-EXP.pdf file only people who are logged can see. I was wanting to know if something like this

[Rails] Creating AWS Buckets and Bucket Policies

2019-02-11 Thread David Merrick
Heads up for anyone creating AWS S3 Buckets. https://docs.aws.amazon.com/quickstarts/latest/s3backup/step-1-create-bucket.html https://amazon.qwiklabs.com/focuses/278?catalog_rank=%7B%22rank%22%3A2%2C%22num_filters%22%3A0%2C%22has_search%22%3Atrue%7D=catalog Cheers Dave -- You received this

Re: [Rails] S3 Bucket Policy

2019-02-10 Thread David Merrick
"Action":["s3:PutObject","s3:GetObject"], "Resource":"arn:aws:s3:::pininterest/*", "Condition":{ "StringLike":{"aws:Referer":[" https://young-fortress-50796.herokuapp.com/*"]} } }

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 p

[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":"*",

Re: [Rails] Adding uploaded pictures fro Heroku to AWS S3 Bucket

2019-02-08 Thread David Merrick
I need help setting up a Bucket Policy please. I find this http://awspolicygen.s3.amazonaws.com/policygen.html to hard to work out. Cheers Dave On Fri, Feb 8, 2019 at 10:27 AM Hassan Schroeder wrote: > On Thu, Feb 7, 2019 at 12:16 PM David Merrick > wrote: > > > > When

Re: [Rails] Adding uploaded pictures fro Heroku to AWS S3 Bucket

2019-02-07 Thread David Merrick
Thanks time to read and ask more questions later. Cheers Dave On Fri, Feb 8, 2019 at 10:27 AM Hassan Schroeder wrote: > On Thu, Feb 7, 2019 at 12:16 PM David Merrick > wrote: > > > > When I click on the URL for the image I get this message > > > > >

Re: [Rails] Adding uploaded pictures fro Heroku to AWS S3 Bucket

2019-02-07 Thread David Merrick
t; Check out this SO article that references S3 bucket permissions. > Carrierwave needs to be able to write to the S3 bucket. Ensure your bucket > has Put permissions. > > > > > > On Wednesday, February 6, 2019 at 8:31:10 PM UTC-8, David Merrick wrote: > > Current errors

Re: [Rails] Adding uploaded pictures fro Heroku to AWS S3 Bucket

2019-02-07 Thread David Merrick
Hi Once I enable pop ups for aws I can now upload and view images when logged into AWS . Any suggestions for the bucket? Cheers Dave On Fri, Feb 8, 2019 at 2:40 AM Walter Lee Davis wrote: > > > On Feb 7, 2019, at 3:25 AM, David Merrick wrote: > > > > I'm not using ca

Re: [Rails] Re: Adding uploaded pictures fro Heroku to AWS S3 Bucket

2019-02-07 Thread David Merrick
S3 bucket permissions. Carrierwave needs to be able to > write to the S3 bucket. Ensure your bucket has Put permissions. > > > On Wednesday, February 6, 2019 at 8:31:10 PM UTC-8, David Merrick wrote: >> >> Current errors 500 Internal Server Error and Aws::S3::Errors:

[Rails] Adding uploaded pictures fro Heroku to AWS S3 Bucket

2019-02-06 Thread David Merrick
Current errors 500 Internal Server Error and Aws::S3::Errors::AccessDenied My paperclip.rb in config/initializers is below Paperclip::Attachment.default_options[:url] = ':s3_domain_url' # Should this line have instead of this ':s3_domain_url' this 'mybucketName.s3.amazonaws.com'

Re: [Rails] AWS and hosting a Website

2019-01-28 Thread David Merrick
it to find a solution to meet my needs. Cheers Dave On Tue, Jan 29, 2019 at 10:17 AM Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Mon, Jan 28, 2019 at 12:54 PM David Merrick > wrote: > > > > I'm looking for something in AWS thats easy to set up, stores image

Re: [Rails] AWS and hosting a Website

2019-01-28 Thread David Merrick
On Jan 28, 2019, at 3:18 PM, David Merrick wrote: > > > > Yes I have EC2 instance but its on Cloud9 > > Aha. That's like having a cloud server for your development environment. > That makes sense, then, that it would stop running when you stop working in > its console. I

Re: [Rails] AWS and hosting a Website

2019-01-28 Thread David Merrick
I have the files loaded. Whats next please? On Tue, Jan 29, 2019 at 9:33 AM Hassan Schroeder wrote: > On Mon, Jan 28, 2019 at 12:19 PM David Merrick > wrote: > > > > Yes I have EC2 instance but its on Cloud9 > > This Cloud9 thing isn't remotely relevant to this

Re: [Rails] AWS and hosting a Website

2019-01-28 Thread David Merrick
Yes I have EC2 instance but its on Cloud9 On Tue, Jan 29, 2019 at 5:15 AM Hassan Schroeder wrote: > On Sun, Jan 27, 2019 at 12:33 PM David Merrick > wrote: > > > I would like to know how to do > > + Is your system configured to monitor your app and restart it when it >

Re: [Rails] AWS and hosting a Website

2019-01-27 Thread David Merrick
the Website stops running On Mon, Jan 28, 2019 at 7:22 AM Hassan Schroeder wrote: > On Sun, Jan 27, 2019 at 10:05 AM David Merrick > wrote: > > > My system isn't configured to monitor your my App and restart it when it > crashes. But since I only have a few Websites m

Re: [Rails] AWS and hosting a Website

2019-01-27 Thread David Merrick
, 2019 at 3:21 PM Hassan Schroeder wrote: > On Sat, Jan 26, 2019 at 12:56 PM David Merrick > wrote: > > > > How do you ensure it runs all the time? > > LOL, what's your uptime requirement and budget? Let's start here: > > + Do you have untested code in your app th

Re: [Rails] AWS and hosting a Website

2019-01-26 Thread David Merrick
Heroku use another provider like AWS to store images On Sun, 27 Jan 2019 4:15 PM Phil Edelbrock > > On Jan 26, 2019, at 3:42 PM, David Merrick wrote: > > Unfortunately Heroku doesn't store images etc. > > Cheers Dave > > On Sun, 27 Jan 2019 11:51 AM Phil Edelbrock &g

Re: [Rails] AWS and hosting a Website

2019-01-26 Thread David Merrick
Unfortunately Heroku doesn't store images etc. Cheers Dave On Sun, 27 Jan 2019 11:51 AM Phil Edelbrock > > > On Jan 26, 2019, at 11:20 AM, David Merrick > wrote: > > > > I am currently running an AWS Cloud9 Web App with EC2. > > > > I want a AWS Servic

Re: [Rails] AWS and hosting a Website

2019-01-26 Thread David Merrick
How do you ensure it runs all the time? On Sun, Jan 27, 2019 at 9:55 AM Hassan Schroeder wrote: > On Sat, Jan 26, 2019 at 12:48 PM David Merrick > wrote: > > > > I meant a place where I can run my Rails App from so its runs all the > time. > > That's pretty much the

Re: [Rails] AWS and hosting a Website

2019-01-26 Thread David Merrick
I meant a place where I can run my Rails App from so its runs all the time. Cheers Dave On Sun, Jan 27, 2019 at 9:41 AM Hassan Schroeder wrote: > On Sat, Jan 26, 2019 at 12:27 PM David Merrick > wrote: > > > > Hi so I can use EC2 store the Rails App and Route53 to manage

Re: [Rails] AWS and hosting a Website

2019-01-26 Thread David Merrick
Hi so I can use EC2 store the Rails App and Route53 to manage the Domain Name? Cheers Dave On Sun, Jan 27, 2019 at 8:28 AM Hassan Schroeder wrote: > On Sat, Jan 26, 2019 at 11:20 AM David Merrick > wrote: > > > I want a AWS Service that I can set up to run a Website with

[Rails] AWS and hosting a Website

2019-01-26 Thread David Merrick
I am currently running an AWS Cloud9 Web App with EC2. I want a AWS Service that I can set up to run a Website with a Domain Name attached and keep it while I'm not logged into Amazon? Any Suggestions? Cheers Dave -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Re: Rephrased AWS an Imagemagick

2019-01-24 Thread David Merrick
se the Carrierwave Uploader generator to create your rails uploader and > change the storage to *storage :fog* in the uploader created. > > Let me know if you have any questions... checkout the 'fog-aws' > documentation for specifics on Amazon and setup with Carrierwave for your > implementa

Re: [Rails] Re: ImageMagick And Amazon Cloud 9

2019-01-16 Thread David Merrick
Thanks On Thu, Jan 17, 2019 at 4:33 PM Phil Edelbrock wrote: > > > > On Jan 16, 2019, at 7:23 PM, David Merrick wrote: > > > > Problem solved. Used sudo yum install ImageMagick. Does Amazon Web > Servicers have any Ruby Libraries available to use? > > > &

Re: [Rails] Re: ImageMagick And Amazon Cloud 9

2019-01-16 Thread David Merrick
Problem solved. Used sudo yum install ImageMagick. Does Amazon Web Servicers have any Ruby Libraries available to use? On Thu, Jan 17, 2019 at 1:34 PM Hassan Schroeder wrote: > On Wed, Jan 16, 2019 at 4:19 PM David Merrick > wrote: > > > > Hi I have a web app test running

Re: [Rails] Re: ImageMagick And Amazon Cloud 9

2019-01-16 Thread David Merrick
Problem solved On Thu, Jan 17, 2019 at 1:34 PM Hassan Schroeder wrote: > On Wed, Jan 16, 2019 at 4:19 PM David Merrick > wrote: > > > > Hi I have a web app test running on Amazon Cloud 9. The users using the > website have the ability to up load images. They currently can'

[Rails] Re: ImageMagick And Amazon Cloud 9

2019-01-16 Thread David Merrick
Hi I have a web app test running on Amazon Cloud 9. The users using the website have the ability to up load images. They currently can't do it. as I can't install ImageMagic let along the gem. I there something else I can use that is the AWS Libraries? Any suggestions. Cheers Dave -- You

[Rails] Rephrased AWS an Imagemagick

2019-01-15 Thread David Merrick
Hi I have a web app test running on Amazon Cloud 9. The users using the website have the ability to up load images. They currently can't do it. as I can't install ImageMagic let along the gem. I there something else I can use that is the AWS Libraries? Any suggestions. Cheers Dave -- You

Re: [Rails] ImageMagick And Amazon Cloud 9

2019-01-15 Thread David Merrick
The users trys to upload the image but can't because ImageMagick isn't installed On Wed, Jan 16, 2019 at 7:27 PM Phil Edelbrock wrote: > > > > On Jan 15, 2019, at 9:35 PM, David Merrick wrote: > > > > Hi I have a web app test running on Amazon Cloud 9. The users have

[Rails] ImageMagick And Amazon Cloud 9

2019-01-15 Thread David Merrick
Hi I have a web app test running on Amazon Cloud 9. The users have the ability to up load images. They currently can't do it. as I can't install ImageMagic let along the gem. Any suggestions. Cheers Dave -- You received this message because you are subscribed to the Google Groups "Ruby on

Re: [Rails] Alternative to Heroku

2019-01-03 Thread David Merrick
beanstalk/latest/dg/ruby-rails-tutorial.html > . Let me know if you can't make heads from tails of it. -- H > > On Fri, 30 Nov 2018 at 16:54, David Merrick wrote: > >> Thats about what I'm looking for thanks >> >> Cheers Dave >> >> On Sat, Dec 1, 2018 at 1:29

Re: [Rails] Alternative to Heroku

2018-12-03 Thread David Merrick
Let me know if you can't make heads from tails of it. -- H > > On Fri, 30 Nov 2018 at 16:54, David Merrick wrote: > >> Thats about what I'm looking for thanks >> >> Cheers Dave >> >> On Sat, Dec 1, 2018 at 1:29 PM Hassan Schroeder < >> hassan.schroe.

Re: [Rails] Re: Alternative to Heroku

2018-12-01 Thread David Merrick
Thanks I will look into it On Sun, Dec 2, 2018 at 8:49 AM Rob Jonson wrote: > What are the alternatives to Heroku that are cheap and or that store your >> images as well? >> >> Cheers Dave >> > > I'm a massive fan of Hatchbox. > You use a regular server from somewhere like Digital Ocean - but

Re: [Rails] Alternative to Heroku

2018-11-30 Thread David Merrick
Thats about what I'm looking for thanks Cheers Dave On Sat, Dec 1, 2018 at 1:29 PM Hassan Schroeder wrote: > On Fri, Nov 30, 2018 at 12:28 PM David Merrick > wrote: > > > What are the alternatives to Heroku that are cheap and or that store > your images as well? > >

Re: [Rails] Alternative to Heroku

2018-11-30 Thread David Merrick
Thanks On Sat, Dec 1, 2018 at 9:30 AM Frantz Augustin wrote: > Try Digital Ocean. > > Frantz Augustin > Founder @ Club Artizan > clubartizan.com > > > > On Fri, Nov 30, 2018 at 12:28 PM David Merrick > wrote: > >> What are the alternatives to Herok

[Rails] Alternative to Heroku

2018-11-30 Thread David Merrick
What are the alternatives to Heroku that are cheap and or that store your images as well? Cheers Dave -- 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

Re: [Rails] rails vs. nodejs

2018-11-14 Thread David Merrick
I'm with Stefan. I started out with php,mySQL. now i'm moving to Rails. You can build a very crude website with a database with lines of code. Bet that using any thing else. Cheers Dave On Thu, Nov 15, 2018 at 3:22 PM Walter Lee Davis wrote: > Be kind to your elders. I built my first site for

[Rails] Fwd: [Rails-core] Re: Getting Stripe Token from form

2018-08-27 Thread David Merrick
See amended javascript still no change On Saturday, August 25, 2018 at 4:58:36 PM UTC+12, David Merrick wrote: > > When I submit the form to Stripe > > I am generating the stripe token.in > POST /v1/tokens > > Response body > > { > "id":

[Rails] Fwd: [Rails-core] Getting Stripe Token from form

2018-08-27 Thread David Merrick
When I submit the form to Stripe I am generating the stripe token.in POST /v1/tokens Response body { "id": "tok_1D2tSkISUkCPHLGnqBhLrWr5" , "object": "token", "card": { "id": "card_1D2tSkISUkCPHLGnENkY88xy",

[Rails] Rails and Stripe

2018-08-14 Thread David Merrick
I have watched the video at http://railscasts.com/episodes/288-billing-with-stripe I have transposed subscriptions for user in the code below. my gem file is below source 'https://rubygems.org' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless

Re: [Rails] Re: Ruby on Rails Part time programer

2018-08-14 Thread David Merrick
d on github.com, and you > can volunteer for an open source project that needs help. > > -Wale > > > On Tue, Aug 14, 2018 at 4:59 PM, David Merrick > wrote: > >> If possible I would like to have a look at the code and the changes you >> do to learn more about Rails. &g

Re: [Rails] Re: Ruby on Rails Part time programer

2018-08-14 Thread David Merrick
If possible I would like to have a look at the code and the changes you do to learn more about Rails. On Wed, Aug 15, 2018 at 7:37 AM Eb Adair wrote: > Wale, > > Call me when you have a chance and I can send you what you need to get > into my system and tell me what I need. > > My cell is 951

Re: [Rails] Re: programmer to upgrade Rails System

2018-08-14 Thread David Merrick
mote-work style is possible, is it? > > Cheers, > João Bordalo > > Em segunda-feira, 13 de agosto de 2018 23:33:01 UTC+1, David Merrick > escreveu: >> >> Eb Adair is looking for someone upgrade their Rails System. I may be able >> to help in some small way. I am

Re: [Rails] Ruby on Rails Part time programer

2018-08-13 Thread David Merrick
Hopefully you will hear from someone in the Rails Group soon. Cheers Dave On Tue, Aug 14, 2018 at 5:46 PM wrote: > I am looking for a computer programmer that can work on Ruby on Rails. My > company has been using Ruby on Rails for the;past 5 to 7 years and we need > to make some changes and

[Rails] programmer to upgrade Rails System

2018-08-13 Thread David Merrick
Eb Adair is looking for someone upgrade their Rails System. I may be able to help in some small way. I am only beginning to use Rails previously I have used Php, Javascript, Sql and Python. Eb's contact details are below. Cheers Dave Maybe you can help me, I am looking for a computer

Re: [Rails] Re: reciprocating relationships

2018-08-13 Thread David Merrick
If you have ever finished https://www.railstutorial.org/ deals with relationshps rather well. Can't send code. Cheers Dave On Mon, Aug 13, 2018 at 6:34 PM Colin Law wrote: > On Mon, 13 Aug 2018 at 03:49, fugee ohu wrote: > >> >> Can we revisit this one I'm doing a family tree and trying to

Re: [Rails] Re: reciprocating relationships

2018-08-13 Thread David Merrick
Surely if every person object(eg.father) has a unique Id. Then that Id can be included in their childrens identity and fathers Id can be put into his brothers identity and sister identity and parents identity. Then it becames a searching for matching Id's both depth wise and breadth wise. Isn't

Re: [Rails] Looking for help on how to incorporate Stripe into my existing files

2018-08-11 Thread David Merrick
You have to delete yourself Mauro On Sun, Aug 12, 2018 at 3:14 AM Mauro Sanna wrote: > Would you unsubscribe me? > > On Fri, 10 Aug 2018 at 22:45, Mugurel Chirica > wrote: > >> Hey David, looks like you did not configure your application properly. >> >> What gem do you use for stripe, there

Re: [Rails] Looking for help on how to incorporate Stripe into my existing files

2018-08-10 Thread David Merrick
Hi Joe Is subscriptions.js.coffee going to work in rails '5.1.2'? Cheers Dave On Sat, Aug 11, 2018 at 12:15 PM Joe Guerra wrote: > have you seen this? > > http://railscasts.com/episodes/288-billing-with-stripe > > On Friday, August 10, 2018 at 5:09:52 PM UTC-4, Davi

Re: [Rails] Looking for help on how to incorporate Stripe into my existing files

2018-08-10 Thread David Merrick
No. But I'm going to watch it now thanks On Sat, Aug 11, 2018 at 12:15 PM Joe Guerra wrote: > have you seen this? > > http://railscasts.com/episodes/288-billing-with-stripe > > On Friday, August 10, 2018 at 5:09:52 PM UTC-4, David Merrick wrote: >> >> Thanks >>

Re: [Rails] Looking for help on how to incorporate Stripe into my existing files

2018-08-10 Thread David Merrick
Thanks On Sat, Aug 11, 2018 at 8:45 AM Mugurel Chirica wrote: > Hey David, looks like you did not configure your application properly. > > What gem do you use for stripe, there should be a way for you to configure > the app, have a look at the documentation. > > You will need to create a Stripe

Re: [Rails] Looking for help on how to incorporate Stripe into my existing files

2018-08-09 Thread David Merrick
Still can't the stripe integrated into my App New users controller class UsersController < ApplicationController before_action :logged_in_user, only: [:index, :edit, :update, :destroy, :following, :followers] before_action :correct_user, only:

Re: [Rails] Looking for something like Pay Pal that is more suited to Rails

2018-08-08 Thread David Merrick
Hi Mugurel Looking for help to integrate Stripe into my Website Current users Controller is class UsersController < ApplicationController before_action :logged_in_user, only: [:index, :edit, :update, :destroy, :following, :followers] before_action

[Rails] Looking for help on how to incorporate Stripe into my existing files

2018-08-07 Thread David Merrick
I want to know how I can successfully put this part of the create method of the charges controller # Amount in cents @amount = 2000 customer = Stripe::Customer.create( :email => params[:stripeEmail], :source => params[:stripeToken] ) charge = Stripe::Charge.create( :customer=>

Re: [Rails] Need guidance on an inline editing design

2018-08-01 Thread David Merrick
Hi The database would supply the students details. The form would consist of the ist row Student details checkbox for each Present, Absent, Half-Day District, Half-Day CTC, Full-Day District. 2nd row Submit button Once the submit button is clicked those details would entered into the database

Re: [Rails] Heroku and Javascript

2018-07-26 Thread David Merrick
he files > will be concatenated in alphabetical order and then minified and gzipped > into one application-someMD5hashgoeshere.js file. The > javascript_include_tag helper knows how to find that file and load it. > > Walter > > > On Jul 26, 2018, at 5:31 PM, David Merrick wrote: > &

Re: [Rails] Heroku and Javascript

2018-07-26 Thread David Merrick
Are you to give me an example of this please. javascript_include_tag helper On Fri, Jul 27, 2018 at 1:21 AM, Walter Lee Davis wrote: > > > On Jul 26, 2018, at 1:43 AM, David Merrick wrote: > > > > Got some issues not sure how to fix. > > > > My applicatio

Re: [Rails] Heroku and Javascript

2018-07-26 Thread David Merrick
Thanks Walter for the help On Fri, Jul 27, 2018 at 1:21 AM, Walter Lee Davis wrote: > > > On Jul 26, 2018, at 1:43 AM, David Merrick wrote: > > > > Got some issues not sure how to fix. > > > > My application.html.erb in Production on local system > &g

Re: [Rails] Heroku and Javascript

2018-07-25 Thread David Merrick
gt; Cheers, > > > > Jess > > > > > > *From: *David Merrick > *Sent: *Thursday, July 26, 2018 12:24 AM > *To: *Ruby on Rails: Talk > *Subject: *[Rails] Heroku and Javascript > > > > I have built a games website in Rails. Runs run on local system. But

Re: [Rails] Heroku and Javascript

2018-07-25 Thread David Merrick
e 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 Merrick > *Sent: *Thursday, July 26, 2018

[Rails] Heroku and Javascript

2018-07-25 Thread David Merrick
I have built a games website in Rails. Runs run on local system. But when deployed to Heroku the Javascript requests either run slow or freeze. Often the whole page freezes. I'm only using one Dyno as I'm still in the testing phase. Heroku doesn't have any suggestions to fix the problem Slug

Re: [Rails][Private Group of Pragmatic Study]

2018-07-14 Thread David Merrick
HI Leonardo Are you still looking for people to join your group? I don't have access to Skype but can video chat through Facebook. I am a Web Developer / Programmer in python, java and now rails. Cheers Dave On Wed, Jun 20, 2018 at 2:35 PM, Leandro Rodrigues < leandrorodrigu...@gmail.com>

Re: [Rails] Debugging Javascript InRails

2018-07-10 Thread David Merrick
Problem fixed I needed to recheck some files On Tue, Jul 10, 2018 at 1:26 AM, Walter Lee Davis wrote: > > > On Jul 9, 2018, at 12:59 AM, David Merrick wrote: > > > > Hi I want to know how to debug Javascript in Rails > > > > I have made a games program in Rail

[Rails] Debugging Javascript InRails

2018-07-08 Thread David Merrick
Hi I want to know how to debug Javascript in Rails I have made a games program in Rails which works fine but when I try and extend the final app in https://www.railstutorial.org/ withe corresponding files the Javascript dosen't work properly. New routes file is below

Re: [Rails] Restricting a link to just admin users

2018-07-04 Thread David Merrick
Thanks Colin On Wed, Jul 4, 2018 at 8:16 PM, Colin Law wrote: > On 4 July 2018 at 09:10, David Merrick wrote: > > I only want the link <%= link_to "Users", users_path %> to be > seen > > by admin users > > > > Header File > > > > >

[Rails] Restricting a link to just admin users

2018-07-04 Thread David Merrick
I only want the link <%= link_to "Users", users_path %> to be seen by admin users Header File <%= link_to "sample app", root_path, id: "logo" %> <%= link_to "Home", root_path %> <%= link_to "Help", help_path %> <% if logged_in? %> <%=

Re: [Rails] Refining previous email about payment gateways

2018-06-27 Thread David Merrick
you want to > do recurring billing. For single payment, it's even simpler than that. > > Walter > > > On Jun 26, 2018, at 5:51 PM, David Merrick wrote: > > > > Hi Looking for a payment gateway that is easy to set up in Rails. The > idea is that as part of the Reg

Re: [Rails] Looking for something like Pay Pal that is more suited to Rails

2018-06-26 Thread David Merrick
Hi looking for an easy to integrate with Rails Payment Gateway that as part of the Registration Process once the user has made the payment they gain access to restricted pages. No need for shopping carts. Cheers Dave On Tue, Jun 26, 2018 at 8:24 PM, Mugurel Chirica wrote: > Choosing a payment

[Rails] Refining previous email about payment gateways

2018-06-26 Thread David Merrick
Hi Looking for a payment gateway that is easy to set up in Rails. The idea is that as part of the Registration Process a user pay money to gain access to restricted pages. I will at Stripe https://stripe.com/nz but if any one can suggest a simpler one feel free to do so. Cheers Dave -- You

  1   2   >