Ruby on Rails Wednesday, February 27, 2019

my gosh, did it and now its giving me;

`check_for_activated_spec!': You have already activated bundler 2.0.1, but your Gemfile requires bundler 1.17.2. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

On Wed, Feb 27, 2019 at 12:34 PM nanaya <me@nanaya.pro> wrote:
Hi,

On Wed, Feb 27, 2019, at 21:30, Don Bottles wrote:
> thanks @nanaya , i checked my gem list and found this;
>
> bundler (2.0.1, default: 1.17.2).
>
> any help??.
>

Check the last part of my previous message.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bb69913e-a45b-484a-bac7-fc5522364e5e%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJvOKtFf811jXv%3DXacY2zEJHXmgeKs2ADeeRcghaSda%3Dr-w3xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

ok


On Wed, Feb 27, 2019 at 12:34 PM nanaya <me@nanaya.pro> wrote:
Hi,

On Wed, Feb 27, 2019, at 21:30, Don Bottles wrote:
> thanks @nanaya , i checked my gem list and found this;
>
> bundler (2.0.1, default: 1.17.2).
>
> any help??.
>

Check the last part of my previous message.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bb69913e-a45b-484a-bac7-fc5522364e5e%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJvOKtF9P-dcZbHNoT7CV6r7cSYJ-TB6DcUwrBhD-e9XYUD-QA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi,

On Wed, Feb 27, 2019, at 21:30, Don Bottles wrote:
> thanks @nanaya , i checked my gem list and found this;
>
> bundler (2.0.1, default: 1.17.2).
>
> any help??.
>

Check the last part of my previous message.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bb69913e-a45b-484a-bac7-fc5522364e5e%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

thanks @nanaya , i checked my gem list and found this;

bundler (2.0.1, default: 1.17.2).

any help??.

tried adding bundler version to gemfile but didn't work.i think that idea was dumb.

On Wed, Feb 27, 2019 at 11:55 AM nanaya <me@nanaya.pro> wrote:
Hi,

On Wed, Feb 27, 2019, at 20:42, Don Bottles wrote:
> HELLO, PLEASE I NEED HELP
> VERSIONS:
> ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
> RAILS 5.2.2
>

Please avoid writing in all caps.

>
> when i run Rails server, this is what i get ::
> "You must use Bundler 2 or greater with this lockfile."
> though my using Bundler version 2.0.1
>

Try

bundle --version

If you have 2.0.1 installed (check using `gem list`) but the command above returns 1.x, try

bundle _2.0.1_

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8a552e5e-a846-4ac0-9c85-88a9e452d4de%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJvOKtG1z2PkMgqdfC2k9nxZJRvYaW7PFbZP76PmCk4pK5wVyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi,

On Wed, Feb 27, 2019, at 20:42, Don Bottles wrote:
> HELLO, PLEASE I NEED HELP
> VERSIONS:
> ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
> RAILS 5.2.2
>

Please avoid writing in all caps.

>
> when i run Rails server, this is what i get ::
> "You must use Bundler 2 or greater with this lockfile."
> though my using Bundler version 2.0.1
>

Try

bundle --version

If you have 2.0.1 installed (check using `gem list`) but the command above returns 1.x, try

bundle _2.0.1_

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8a552e5e-a846-4ac0-9c85-88a9e452d4de%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

HELLO, PLEASE I NEED HELP
VERSIONS:
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
RAILS 5.2.2



when i run Rails server, this is what i get ::
"You must use Bundler 2 or greater with this lockfile."
though my using Bundler version 2.0.1

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJvOKtHUyz7wAyJGS0Nd3v-23ikGro7-mbqCWoBefzuje5LUMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Tuesday, February 26, 2019

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJR%2B9kZutcZ3g9Y%3DwwMZ-1cn%2BzZpJt%3D%3DMGPHtt2AnzuUB83UEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails



New User Created here


2019-02-27T01:06:16.101419+00:00 app[web.1]: I, [2019-02-27T01:06:16.101310 #4] INFO -- : [0babc969-bf43-44e5-9fac-06b8d5d38540] Started GET "/users/sign_up" for 125.238.205.235 at 2019-02-27 01:06:16 +0000
2019-02-27T01:06:16.102497+00:00 app[web.1]: I, [2019-02-27T01:06:16.102428 #4] INFO -- : [0babc969-bf43-44e5-9fac-06b8d5d38540] Processing by Devise::RegistrationsController#new as HTML
2019-02-27T01:06:16.107503+00:00 app[web.1]: I, [2019-02-27T01:06:16.107410 #4] INFO -- : [0babc969-bf43-44e5-9fac-06b8d5d38540] Rendering devise/registrations/new.html.erb within layouts/application
2019-02-27T01:06:16.115779+00:00 app[web.1]: I, [2019-02-27T01:06:16.115680 #4] INFO -- : [0babc969-bf43-44e5-9fac-06b8d5d38540] Rendered devise/registrations/new.html.erb within layouts/application (8.1ms)
2019-02-27T01:06:16.119735+00:00 app[web.1]: I, [2019-02-27T01:06:16.119658 #4] INFO -- : [0babc969-bf43-44e5-9fac-06b8d5d38540] Rendered home/_header.html.erb (2.6ms)
2019-02-27T01:06:16.120188+00:00 app[web.1]: I, [2019-02-27T01:06:16.120116 #4] INFO -- : [0babc969-bf43-44e5-9fac-06b8d5d38540] Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.0ms)
2019-02-27T01:07:02.203764+00:00 app[web.1]: I, [2019-02-27T01:07:02.203488 #4] INFO -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] Started POST "/users" for 125.238.205.235 at 2019-02-27 01:07:02 +0000
2019-02-27T01:07:02.209950+00:00 app[web.1]: I, [2019-02-27T01:07:02.209644 #4] INFO -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] Processing by Devise::RegistrationsController#create as HTML
2019-02-27T01:07:02.210309+00:00 app[web.1]: I, [2019-02-27T01:07:02.210022 #4] INFO -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] Parameters: {"utf8"=>"✓", "authenticity_token"=>"mPPYQxM68q5VHUt67onbloIp3MfPYIPWzrM4FBthHgUWMb4wWvkoOPSkokMg6vGmtQjpP0DfbJsZYLU5TpnI+w==", "user"=>{"name"=>"Mike Merrick", "email"=>"merrickdav@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
2019-02-27T01:07:02.433662+00:00 app[web.1]: D, [2019-02-27T01:07:02.433483 #4] DEBUG -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6]  (1.3ms) BEGIN
2019-02-27T01:07:02.438653+00:00 app[web.1]: D, [2019-02-27T01:07:02.438558 #4] DEBUG -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] User Exists (2.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2 [["email", "merrickdav@hotmail.com"], ["LIMIT", 1]]
2019-02-27T01:07:02.442130+00:00 app[web.1]: D, [2019-02-27T01:07:02.442050 #4] DEBUG -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] SQL (1.6ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["email", "merrickdav@hotmail.com"], ["encrypted_password", "$2a$11$/hTEqRBWc5SM6k.S38uMiub6X0d7zDs1OZJyDy68aWj0SyuwmTJZK"], ["created_at", "2019-02-27 01:07:02.439070"], ["updated_at", "2019-02-27 01:07:02.439070"], ["name", "Mike Merrick"]]
2019-02-27T01:07:02.444910+00:00 app[web.1]: D, [2019-02-27T01:07:02.444840 #4] DEBUG -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6]  (2.1ms) COMMIT
2019-02-27T01:07:02.453093+00:00 app[web.1]: I, [2019-02-27T01:07:02.453002 #4] INFO -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] Redirected to https://pininterestdave.herokuapp.com/
2019-02-27T01:07:02.453360+00:00
app[web.1]: I, [2019-02-27T01:07:02.453294 #4] INFO -- : [026266ef-55cf-4c7d-8ae1-ee9dda3b46d6] Completed 302 Found in 243ms (ActiveRecord: 7.3ms)
2019-02-27T01:07:02.454982+00:00 heroku[router]: at=info method=POST path="/users" host=pininterestdave.herokuapp.com request_id=026266ef-55cf-4c7d-8ae1-ee9dda3b46d6 fwd="125.238.205.235" dyno=web.1 connect=0ms service=260ms status=302 bytes=1084 protocol=https
2019-02-27T01:07:02.773457+00:00 heroku[router]: at=info method=GET path="/" host=pininterestdave.herokuapp.com request_id=ede6a0e9-5ea5-41f7-b59d-6623382c93de fwd="125.238.205.235" dyno=web.1 connect=0ms service=95ms status=200 bytes=5889 protocol=https
2019-02-27T01:07:02.685600+00:00 app[web.1]: I, [2019-02-27T01:07:02.685507 #4] INFO -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Started GET "/" for 125.238.205.235 at 2019-02-27 01:07:02 +0000
2019-02-27T01:07:02.687346+00:00 app[web.1]: I, [2019-02-27T01:07:02.687219 #4] INFO -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Processing by PinsController#index as HTML
2019-02-27T01:07:02.691176+00:00 app[web.1]: I, [2019-02-27T01:07:02.691081 #4] INFO -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Rendering pins/index.html.erb within layouts/application
2019-02-27T01:07:02.701178+00:00 app[web.1]: D, [2019-02-27T01:07:02.701058 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] User Load (4.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 11], ["LIMIT", 1]]
2019-02-27T01:07:02.704328+00:00 app[web.1]: D, [2019-02-27T01:07:02.704196 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de]  (1.6ms) SELECT COUNT(*) FROM "pins"
2019-02-27T01:07:02.706815+00:00 app[web.1]: D, [2019-02-27T01:07:02.706704 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Pin Load (1.5ms) SELECT "pins".* FROM "pins" ORDER BY created_at DESC LIMIT $1 OFFSET $2 [["LIMIT", 10], ["OFFSET", 0]]
2019-02-27T01:07:02.714930+00:00 app[web.1]: D, [2019-02-27T01:07:02.714821 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.730184+00:00 app[web.1]: D, [2019-02-27T01:07:02.729870 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.735282+00:00 app[web.1]: D, [2019-02-27T01:07:02.734887 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.741795+00:00 app[web.1]: D, [2019-02-27T01:07:02.741466 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.748437+00:00 app[web.1]: D, [2019-02-27T01:07:02.748320 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.760972+00:00 app[web.1]: D, [2019-02-27T01:07:02.757823 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.760976+00:00 app[web.1]: D, [2019-02-27T01:07:02.760298 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.762746+00:00 app[web.1]: D, [2019-02-27T01:07:02.762654 #4] DEBUG -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2019-02-27T01:07:02.763171+00:00 app[web.1]: I, [2019-02-27T01:07:02.763093 #4] INFO -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Rendered pins/index.html.erb within layouts/application (71.8ms)
2019-02-27T01:07:02.770614+00:00 app[web.1]: I, [2019-02-27T01:07:02.770437 #4] INFO -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Rendered home/_header.html.erb (1.7ms)
2019-02-27T01:07:02.771339+00:00 app[web.1]: I, [2019-02-27T01:07:02.771266 #4] INFO -- : [ede6a0e9-5ea5-41f7-b59d-6623382c93de] Completed 200 OK in 84ms (Views: 72.4ms | ActiveRecord: 9.9ms)
2019-02-27T01:07:03.104912+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=pininterestdave.herokuapp.com request_id=9537dc2a-dfba-4a81-a930-49e04363740d fwd="125.238.205.235" dyno=web.1 connect=0ms service=6ms status=304 bytes=48 protocol=https
2019-02-27T00:17:09.431478+00:00 app[web.1]: I, [2019-02-27T00:17:09.431412 #4] INFO -- : [2f126671-a5c5-416e-addd-621a1ee15c45] Rendered home/_header.html.erb (0.6ms)
2019-02-27T00:17:09.431901+00:00 app[web.1]: I, [2019-02-27T00:17:09.431837 #4] INFO -- : [2f126671-a5c5-416e-addd-621a1ee15c45] Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.0ms)
2019-02-27T00:17:35.840573+00:00 heroku[router]: at=info method=GET path="/users/password/new" host=pininterestdave.herokuapp.com request_id=7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c fwd="125.238.205.235" dyno=web.1 connect=1ms service=19ms status=200 bytes=3412 protocol=https
2019-02-27T00:17:35.822824+00:00 app[web.1]: I, [2019-02-27T00:17:35.822709 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Started GET "/users/password/new" for 125.238.205.235 at 2019-02-27 00:17:35 +0000
2019-02-27T00:17:35.824909+00:00 app[web.1]: I, [2019-02-27T00:17:35.824832 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Processing by Devise::PasswordsController#new as HTML
2019-02-27T00:17:35.828744+00:00 app[web.1]: I, [2019-02-27T00:17:35.828649 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Rendering devise/passwords/new.html.erb within layouts/application
2019-02-27T00:17:35.832415+00:00 app[web.1]: I, [2019-02-27T00:17:35.832318 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Rendered devise/shared/_links.html.erb (0.6ms)
2019-02-27T00:17:35.832558+00:00 app[web.1]: I, [2019-02-27T00:17:35.832487 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Rendered devise/passwords/new.html.erb within layouts/application (3.7ms)
2019-02-27T00:17:35.834428+00:00 app[web.1]: I, [2019-02-27T00:17:35.834354 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Rendered home/_header.html.erb (0.7ms)
2019-02-27T00:17:35.834966+00:00 app[web.1]: I, [2019-02-27T00:17:35.834892 #4] INFO -- : [7e71e14a-f8bb-45e4-9f48-d2d4c28c2c6c] Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms)
2019-02-27T00:18:59.389835+00:00 app[web.1]: I, [2019-02-27T00:18:59.389721 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Started POST "/users/password" for 125.238.205.235 at 2019-02-27 00:18:59 +0000
2019-02-27T00:18:59.390738+00:00 app[web.1]: I, [2019-02-27T00:18:59.390679 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Processing by Devise::PasswordsController#create as HTML
2019-02-27T00:18:59.390802+00:00 app[web.1]: I, [2019-02-27T00:18:59.390753 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Parameters: {"utf8"=>"✓", "authenticity_token"=>"OrWOqZ+P9jKtwDur/+oWCUFDtGX6hyqlr4KWAN2gX+qzZtRAPOH2roD70gL5BFokr7x1M4/RCMsdDEXf8DtJpQ==", "user"=>{"email"=>"merrickdav@hotmail.com"}, "commit"=>"Send me reset password instructions"}
2019-02-27T00:18:59.396319+00:00 app[web.1]: D, [2019-02-27T00:18:59.396242 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["email", "merrickdav@hotmail.com"], ["LIMIT", 1]]
2019-02-27T00:18:59.590953+00:00 app[web.1]: D, [2019-02-27T00:18:59.590839 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["reset_password_token", "03928fe49361390b9babbab2a61cb84b839f2537cd6072df69adb8c34cf5bf71"], ["LIMIT", 1]]
2019-02-27T00:18:59.592305+00:00 app[web.1]: D, [2019-02-27T00:18:59.592248 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c]  (0.7ms) BEGIN
2019-02-27T00:18:59.594769+00:00 app[web.1]: D, [2019-02-27T00:18:59.594701 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] SQL (1.1ms) UPDATE "users" SET "reset_password_token" = $1, "reset_password_sent_at" = $2, "updated_at" = $3 WHERE "users"."id" = $4 [["reset_password_token", "03928fe49361390b9babbab2a61cb84b839f2537cd6072df69adb8c34cf5bf71"], ["reset_password_sent_at", "2019-02-27 00:18:59.591084"], ["updated_at", "2019-02-27 00:18:59.592555"], ["id", 6]]
2019-02-27T00:18:59.597029+00:00 app[web.1]: D, [2019-02-27T00:18:59.596963 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] 


(1.8ms) COMMIT
2019-02-27T00:18:59.605273+00:00 app[web.1]: I, [2019-02-27T00:18:59.605189 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Rendering devise/mailer/reset_password_instructions.html.erb
2019-02-27T00:18:59.606659+00:00 app[web.1]: I, [2019-02-27T00:18:59.606586 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Rendered devise/mailer/reset_password_instructions.html.erb (1.2ms)
2019-02-27T00:18:59.805849+00:00 app[web.1]: D, [2019-02-27T00:18:59.805742 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Devise::Mailer#reset_password_instructions: processed outbound mail in 207.9ms
2019-02-27T00:19:00.860310+00:00 heroku[router]: at=info method=POST path="/users/password" host=pininterestdave.herokuapp.com request_id=729d88f3-bd1e-467f-a389-d6d870940d8c fwd="125.238.205.235" dyno=web.1 connect=1ms service=1480ms status=302 bytes=1090 protocol=https
2019-02-27T00:19:00.856072+00:00 app[web.1]: I, [2019-02-27T00:19:00.855959 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Sent mail to merrickdav@hotmail.com (1050.0ms)
2019-02-27T00:19:00.856112+00:00 app[web.1]: D, [2019-02-27T00:19:00.856060 #4] DEBUG -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Date: Wed, 27 Feb 2019 0:18:59 +0000
2019-02-27T00:19:00.856115+00:00 app[web.1]: From: please-change-me-at-config-initializers-devise@example.com
2019-02-27T00:19:00.856117+00:00 app[web.1]: Reply-To: please-change-me-at-config-initializers-devise@example.com
2019-02-27T00:19:00.856119+00:00 app[web.1]: To: merrickdav@hotmail.com
2019-02-27T00:19:00.856121+00:00 app[web.1]: Message-ID: <5c75d773c64c4_42ae141661fc8204e0@eb88763c-109c-4793-aaec-68d9ac1c59bc.mail>
2019-02-27T00:19:00.856123+00:00 app[web.1]: Subject: Reset password instructions
2019-02-27T00:19:00.856125+00:00 app[web.1]: Mime-Version: 1.0
2019-02-27T00:19:00.856126+00:00 app[web.1]: Content-Type: text/html;
2019-02-27T00:19:00.856128+00:00 app[web.1]: charset=UTF-8
2019-02-27T00:19:00.856129+00:00 app[web.1]: Content-Transfer-Encoding: 7bit
2019-02-27T00:19:00.856130+00:00 app[web.1]:
2019-02-27T00:19:00.856132+00:00 app[web.1]: <p>Hello merrickdav@hotmail.com!</p>
2019-02-27T00:19:00.856133+00:00 app[web.1]:
2019-02-27T00:19:00.856134+00:00 app[web.1]: <p>Someone has requested a link to change your password. You can do this through the link below.</p>
2019-02-27T00:19:00.856135+00:00 app[web.1]:
2019-02-27T00:19:00.856136+00:00 app[web.1]: <p><a href="https://pininterestdave.herokuapp.com///users/password/edit?reset_password_token=fj52vx1TvoQgPLk43SnL">Change my password</a></p>
2019-02-27T00:19:00.856137+00:00 app[web.1]:
2019-02-27T00:19:00.856139+00:00 app[web.1]: <p>If you didn't request this, please ignore this email.</p>
2019-02-27T00:19:00.856140+00:00 app[web.1]: <p>Your password won't change until you access the link above and create a new one.</p>
2019-02-27T00:19:00.856141+00:00 app[web.1]:
2019-02-27T00:19:00.858911+00:00 app[web.1]: I, [2019-02-27T00:19:00.858854 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Redirected to https://pininterestdave.herokuapp.com/users/sign_in

2019-02-27T00:19:00.859119+00:00 app[web.1]: I, [2019-02-27T00:19:00.859066 #4] INFO -- : [729d88f3-bd1e-467f-a389-d6d870940d8c] Completed 302 Found in 1468ms (ActiveRecord: 7.0ms)
2019-02-27T00:19:01.081708+00:00 app[web.1]: I, [2019-02-27T00:19:01.081617 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Started GET "/users/sign_in" for 125.238.205.235 at 2019-02-27 00:19:01 +0000
2019-02-27T00:19:01.082619+00:00 app[web.1]: I, [2019-02-27T00:19:01.082558 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Processing by Devise::SessionsController#new as HTML
2019-02-27T00:19:01.084387+00:00 app[web.1]: I, [2019-02-27T00:19:01.084324 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Rendering devise/sessions/new.html.erb within layouts/application
2019-02-27T00:19:01.086977+00:00 app[web.1]: I, [2019-02-27T00:19:01.086916 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Rendered devise/shared/_links.html.erb (0.3ms)
2019-02-27T00:19:01.087077+00:00 app[web.1]: I, [2019-02-27T00:19:01.087014 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
2019-02-27T00:19:01.088571+00:00 app[web.1]: I, [2019-02-27T00:19:01.088511 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Rendered home/_header.html.erb (0.5ms)
2019-02-27T00:19:01.089414+00:00 app[web.1]: I, [2019-02-27T00:19:01.089353 #4] INFO -- : [7cb27230-f9c8-4f6c-9efb-398bc50cdc35] Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms)
2019-02-27T00:19:01.090775+00:00 heroku[router]: at=info method=GET path="/users/sign_in" host=pininterestdave.herokuapp.com request_id=7cb27230-f9c8-4f6c-9efb-398bc50cdc35 fwd="125.238.205.235" dyno=web.1 connect=1ms service=11ms status=200 bytes=4142 protocol=https

Hi Colin. Attached are some files

On Tue, Feb 26, 2019 at 10:11 PM Colin Law <clanlaw@gmail.com> wrote:
On Tue, 26 Feb 2019 at 03:32, David Merrick <merrickdav@gmail.com> 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 with the one that does work might give you a clue.

Colin

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuwV46e%3DVvWcKfC9wA3UTbuxp6zduQ4UfqCEUFxaN%2BcGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merrickdav@gmail.com

Ph   03 216 2053

Cell 027 3089 169

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKbhxBZtsdWTAXWPXqYHhadEeV54LzxHY_TPaNKkj9OOog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi,

I am trying to create a stacked column chart like [this](https://www.dropbox.com/s/db4tu7wsa5a9q7x/Screenshot%202019-02-26%20at%2010.00.27%20PM.png?dl=0) . But I am getting it like [this](https://www.dropbox.com/s/ze89lckd4fv64ky/Screenshot%202019-02-26%20at%2010.33.49%20PM.png?dl=0). Can anyone help me so that I can achieve the desired one. My code now is:

    def project_cost_breakdown
      # ....
      @column_chart_data = [
        {
          name: "Budget & cost overrun",
          data: [['Budget & cost overrun', 100], ['Budget & cost overrun', 300]]
        },
        {
          name: "Total cost",
          data: [['Total cost', 300]]
        }
      ]
      respond_to do |format|
        format.html { render "project_cost_breakdown" }
      end
    end
    
    And in view I do it like:
    
    = column_chart @column_chart_data, stacked: true, title: 'Total cost vs. Budget'

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAKxHnE1QHDF5ag4mGgxk6X_9xO_6bWbxrWVdqXHRGdTGzK5U7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Ok thanks

On Tue, Feb 26, 2019 at 10:11 PM Colin Law <clanlaw@gmail.com> wrote:
On Tue, 26 Feb 2019 at 03:32, David Merrick <merrickdav@gmail.com> 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 with the one that does work might give you a clue.

Colin

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuwV46e%3DVvWcKfC9wA3UTbuxp6zduQ4UfqCEUFxaN%2BcGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merrickdav@gmail.com

Ph   03 216 2053

Cell 027 3089 169

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKZpquiqPJ_Fs68reFbeWkUj2Xrw4aPtDx%2Bx%3Dqtu3WsBrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On Tue, 26 Feb 2019 at 03:32, David Merrick <merrickdav@gmail.com> 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 with the one that does work might give you a clue.

Colin

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuwV46e%3DVvWcKfC9wA3UTbuxp6zduQ4UfqCEUFxaN%2BcGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Monday, February 25, 2019

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 <waltd@wdstudio.com> 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 Merrick <merrickdav@gmail.com> wrote:
>
> Hi Rob at the moment only the password reset email works. Are you able to check them please?
>
> Password reset
>
> <p>Hello <%= @resource.email %>!</p>
>
> <p>Someone has requested a link to change your password. You can do this through the link below.</p>
>
> <p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
>
> <p>If you didn't request this, please ignore this email.</p>
> <p>Your password won't change until you access the link above and create a new one.</p>
>
> Confirmations dosen't
>
> <p>Welcome <%= @email %>!</p>
>
> <p>You can confirm your account email through the link below:</p>
>
> <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
>
> Email changed doesn't
>
> <p>Hello <%= @email %>!</p>
>
> <% if @resource.try(:unconfirmed_email?) %>
>   <p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
> <% else %>
>   <p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
> <% end %>
>
> Cheers Dave
>
> On Tue, Feb 26, 2019 at 10:40 AM Rob Jonson <rob.jonson@gmail.com> wrote:
> What problem are you having?
> I have always found it worked pretty much out of the box (assuming you have set up your mail config)
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8481c189-06b0-4068-8716-587518893cd0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Dave Merrick
>
> Daves Web Designs
>
> Website http://www.daveswebdesigns.co.nz
>
> Email merrickdav@gmail.com
>
> Ph   03 216 2053
>
> Cell 027 3089 169
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKaCp1hGMDa_pz__x7aUiu3H7VMZjmcwHdZMdUMgKeMeqw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/F330F48E-3A1D-4DF4-8AB3-CC69BD4F843D%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merrickdav@gmail.com

Ph   03 216 2053

Cell 027 3089 169

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKZAzhfHx5BPUTU1ihDmtAyK1e3Zv7VBB5RpxvvDCmamsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

I've never done Mongo or node, but I have the rest of the qualifications.

--
Paul Nicholas McCubbins <pnmccb at gmail dot com>
https://claws96.bitbucket.io

On Mon, Feb 25, 2019, 14:44 <tagtalenthash@gmail.com wrote:
Multiple Remote Ruby On Rails long term opportunites (Urgent)

Job Description
---------------
 
Required technologies:
3+ years of experience in Ruby On Rails, Java
 
scripting, Mysql/Mongo
experience working in REST Services using Ruby On
 
Rails.
Angular experience is a must have.
 
Technology stack: Angular, Nodejs, JSON web token,
 
cucumber or mockito unit testing, docker services, AWS
 
cloud, CI/CD, Github, branching and tagging.

David Brainard
716.817.6710
david@eminenttech.com
Eminent Technology Solutions, Inc.
www.eminenttech.com

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7bed327e-4827-4827-9d4c-27b6aff44bc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACwTLPuCY3xXS_NTnu9RHhMcoEWzexPhAeh3ww6qf8A2v8gw-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

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 Merrick <merrickdav@gmail.com> wrote:
>
> Hi Rob at the moment only the password reset email works. Are you able to check them please?
>
> Password reset
>
> <p>Hello <%= @resource.email %>!</p>
>
> <p>Someone has requested a link to change your password. You can do this through the link below.</p>
>
> <p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
>
> <p>If you didn't request this, please ignore this email.</p>
> <p>Your password won't change until you access the link above and create a new one.</p>
>
> Confirmations dosen't
>
> <p>Welcome <%= @email %>!</p>
>
> <p>You can confirm your account email through the link below:</p>
>
> <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
>
> Email changed doesn't
>
> <p>Hello <%= @email %>!</p>
>
> <% if @resource.try(:unconfirmed_email?) %>
> <p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
> <% else %>
> <p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
> <% end %>
>
> Cheers Dave
>
> On Tue, Feb 26, 2019 at 10:40 AM Rob Jonson <rob.jonson@gmail.com> wrote:
> What problem are you having?
> I have always found it worked pretty much out of the box (assuming you have set up your mail config)
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8481c189-06b0-4068-8716-587518893cd0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Dave Merrick
>
> Daves Web Designs
>
> Website http://www.daveswebdesigns.co.nz
>
> Email merrickdav@gmail.com
>
> Ph 03 216 2053
>
> Cell 027 3089 169
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKaCp1hGMDa_pz__x7aUiu3H7VMZjmcwHdZMdUMgKeMeqw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/F330F48E-3A1D-4DF4-8AB3-CC69BD4F843D%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi Rob at the moment only the password reset email works. Are you able to check them please?

Password reset

<p>Hello <%= @resource.email %>!</p>

<p>Someone has requested a link to change your password. You can do this through the link below.</p>

<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>

<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>

Confirmations dosen't

<p>Welcome <%= @email %>!</p>

<p>You can confirm your account email through the link below:</p>

<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>

Email changed doesn't

<p>Hello <%= @email %>!</p>

<% if @resource.try(:unconfirmed_email?) %>
  <p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
<% else %>
  <p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
<% end %>

Cheers Dave

On Tue, Feb 26, 2019 at 10:40 AM Rob Jonson <rob.jonson@gmail.com> wrote:
What problem are you having?
I have always found it worked pretty much out of the box (assuming you have set up your mail config)

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8481c189-06b0-4068-8716-587518893cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merrickdav@gmail.com

Ph   03 216 2053

Cell 027 3089 169

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKaCp1hGMDa_pz__x7aUiu3H7VMZjmcwHdZMdUMgKeMeqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

What problem are you having?
I have always found it worked pretty much out of the box (assuming you have set up your mail config)

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8481c189-06b0-4068-8716-587518893cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Multiple Remote Ruby On Rails long term opportunites (Urgent)

Job Description
---------------
 
Required technologies:
3+ years of experience in Ruby On Rails, Java
 
scripting, Mysql/Mongo
experience working in REST Services using Ruby On
 
Rails.
Angular experience is a must have.
 
Technology stack: Angular, Nodejs, JSON web token,
 
cucumber or mockito unit testing, docker services, AWS
 
cloud, CI/CD, Github, branching and tagging.

David Brainard
716.817.6710
david@eminenttech.com
Eminent Technology Solutions, Inc.
www.eminenttech.com

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7bed327e-4827-4827-9d4c-27b6aff44bc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails



On Sun, 24 Feb 2019 at 23:19, David Merrick <merrickdav@gmail.com> wrote:
Does anyone know how to do this with Rails 5.2.2?

Not having done this myself, but I did find a test[1] that sends the confirmation emails. Hope that helps, Dave. -- H
--
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.

Sent from my mobile device
Envoye de mon portable

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP%2BbYWAXydX%2BsuVpMYJ20twCHpX3rWHHQrfKt2ZBcjEoS6u1Qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Sunday, February 24, 2019

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 "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/caa5e8b4-1e80-4ab1-9855-a7c72e1131df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hello Marco,

Thank you for replying to the query with detailed explanation. This is what I wanted to do in my code but the code was not clear but you tried to understand my issue and provided the solution so thanks for that. I was not aware with the combination method before.

On Saturday, February 23, 2019 at 2:40:53 AM UTC+5:30, Marco Antonio Almeida wrote:
Hi Sapna,

This is a fun exercise to do and also to do some refactoring after I got to understand what you are aiming to do.

First of all, your code is not optimal yet. Let's look at the output of the example you gave:

{"1"=>"( true ) || ( false ) || ( true )", "2"=>"( true && false ) || ( true && true ) || ( false && true ) || ( false && true ) || ( true && true ) || ( true && false )", "3"=>"( true && false && true ) || ( true && true && false ) || ( false && true && true ) || ( false && true && true ) || ( true && true && false ) || ( true && false && true )"}

The combination of 2 and 3 have duplicated information. For example: (true && false && true) are the same as (true && true && false). I have provided a solution for what I understood from your problem below with some comments.

I am considering that you need to solve this in one method, otherwise, I would split in many different methods to make the code more clear. I am also being very cheeky here to introduce many features of the language that would make your life easier and your code much more understandable.

I hope this helps.

# Evaluate the combinations of conditions.
#
# step_conditions_labels - The Array of conditions.
#
# Examples
#
# conditions_combination(%w[true false true])
# # => {1=>true, 2=>true, 3=>false}
#
# conditions_combination(%w[true false true false true])
# # => {1=>true, 2=>true, 3=>true, 4=>false, 5=>false}
#
# Returns a hash of the evaluation of respective combinations.
def conditions_combination(step_conditions_labels)
  # Reduce the Array to the result Hash.
  step_conditions_labels.each_with_index.reduce({}) do |hash, (_, index)|
    # Update each of the Hash keys with the evalutation of the combination.
    hash.update(
      index + 1 =>
        # Eval is the way to go here as Tales mentioned, but it's a very
        # dangerous method. Be careful!
        eval(
          # Array#combination is what does the trick for you. Check it out:
          # The other lines just help on building the condition String.
          step_conditions_labels
            .combination(index + 1)
            .map { |combination| "(#{combination.join(' && ')})" }
            .join(' || ')
        )
    )
  end
end
conditions_combination(%w[true false true])

Best regards,
/ Marco

On Fri, Feb 22, 2019 at 6:56 PM Hassan Schroeder <hassan.s...@gmail.com> wrote:
On Fri, Feb 22, 2019 at 4:36 AM Sapna Mishra <sapna....@gmail.com> wrote:

> Issue is now I am not able use this combination to check whether it satisfies the condition as it is consider as string class.

If I saw something like that in a PR I would reject it in ~2 seconds.

What actual problem are you trying to solve?

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCg%2Bm9gv5%3DuESBmdzYOSYCV%3DCspNdbkhB3hucVEXgbFcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a6777a65-fb5d-4f65-8b85-c208d4a6ec55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi, everyone

I am developing tool to query database with ActiveRecord ORM with form looking like this:

query_cut.png


Of course I will add fields to work with WHERE statements and custom JOIN.
Are there similar solutions existing right now?

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c4000b8e-3e50-4957-aeff-901da9462389%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Saturday, February 23, 2019


I also had a little fund with this. Still not sure what the purpose of the method is but I'm assuming getting the State of an array of booleans. Maybe even, well I don't know. When I get stuck with what should be a simple combinations of boolean, I go back to ancient methods and draw a picture!  The picture is a Decision Logic Table (DLT) or Truth Table.

Basically if you have an array of N booleans, there are:
 
    2**N combinations

An array with 2 booleans has 2**2 or 4 combinations of 2 variables

  a  yynn
  b  ynyn


An array with 3 booleans has 2**3 or 8 combinations of 3 variables

  a  yyyynnnn
  b  yynnyynn
  c  ynynynyn

An array with 5 booleans has 2**5 or 32 combinations of 5 variables

  a  yyyyyyyyyyyyyyyynnnnnnnnnnnnnnnn
  b  yyyyyyyynnnnnnnnyyyyyyyynnnnnnnn
  c  yyyynnnnyyyynnnnyyyynnnnyyyynnnn
  d  yynnyynnyynnyynnyynnyynnyynnyynn
  e  ynynynynynynynynynynynynynynynyn

Your really don't want to write and IF statement with 32 combinations! Your example output seemed to be doing some shortcut with OR conditions. Below is a short class I threw together (I did have to go find some old stuff I had written about DLTs [http://stevealex.us/code/2010/08/10/AFOLDS-DAD-DUEL.html]) that return all possible options (not using  OR)

class Truth

  def give_me_the_truth(array)
    # return array of arrays by size of input array
    indexes = array.count
    combos = 2 ** indexes
    truth =  Array.new(indexes,Array.new)
    indexes.times do |v|
      half = (2 ** (indexes - (v-1))/2)
      pick = Array.new(half/2,true)+ Array.new(half/2,false)
      (combos/half).times do |c|
        truth[v] += pick
      end
    end
    truth
  end

  def the_whole_truth(array)
    # returns an array of arrays by size of all possibilites (states?)
    whole = give_me_the_truth(array).transpose
  end

  def nothing_but_the_truth(array)
    # returns the index (state?) of a query
    nothing = the_whole_truth(array).index(array)
  end

end

Truth.new.give_me_the_truth([true,false,true])
=> [[true, true, true, true, false, false, false, false], [true, true, false, false, true, true, false, false], [true, false, true, false, true, false, true, false]]

Gives the possible combination in three arrays (if you need a hash just map it)

Truth.new.the_whole_truth([true,false,true])
=> [[true, true, true], [true, true, false], [true, false, true], [true, false, false], [false, true, true], [false, true, false], [false, false, true], [false, false, false]]

Give the 8 possible conditions as a transposed array.

Truth.new.nothing_but_the_truth([true,false,true])
=> 2

Gives an index into were that array is in the whole truth array.

Not sure if it has any use, 

Steve

On Feb 22, 2019, at 3:10 PM, Marco Antonio Almeida <marcoafilho@gmail.com> wrote:

Hi Sapna,

This is a fun exercise to do and also to do some refactoring after I got to understand what you are aiming to do.

First of all, your code is not optimal yet. Let's look at the output of the example you gave:

{"1"=>"( true ) || ( false ) || ( true )", "2"=>"( true && false ) || ( true && true ) || ( false && true ) || ( false && true ) || ( true && true ) || ( true && false )", "3"=>"( true && false && true ) || ( true && true && false ) || ( false && true && true ) || ( false && true && true ) || ( true && true && false ) || ( true && false && true )"}

The combination of 2 and 3 have duplicated information. For example: (true && false && true) are the same as (true && true && false). I have provided a solution for what I understood from your problem below with some comments.

I am considering that you need to solve this in one method, otherwise, I would split in many different methods to make the code more clear. I am also being very cheeky here to introduce many features of the language that would make your life easier and your code much more understandable.

I hope this helps.

# Evaluate the combinations of conditions.
#
# step_conditions_labels - The Array of conditions.
#
# Examples
#
# conditions_combination(%w[true false true])
# # => {1=>true, 2=>true, 3=>false}
#
# conditions_combination(%w[true false true false true])
# # => {1=>true, 2=>true, 3=>true, 4=>false, 5=>false}
#
# Returns a hash of the evaluation of respective combinations.
def conditions_combination(step_conditions_labels)
  # Reduce the Array to the result Hash.
  step_conditions_labels.each_with_index.reduce({}) do |hash, (_, index)|
    # Update each of the Hash keys with the evalutation of the combination.
    hash.update(
      index + 1 =>
        # Eval is the way to go here as Tales mentioned, but it's a very
        # dangerous method. Be careful!
        eval(
          # Array#combination is what does the trick for you. Check it out:
          # The other lines just help on building the condition String.
          step_conditions_labels
            .combination(index + 1)
            .map { |combination| "(#{combination.join(' && ')})" }
            .join(' || ')
        )
    )
  end
end
conditions_combination(%w[true false true])

Best regards,
/ Marco

On Fri, Feb 22, 2019 at 6:56 PM Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
On Fri, Feb 22, 2019 at 4:36 AM Sapna Mishra <sapna.spaceo@gmail.com> wrote:

> Issue is now I am not able use this combination to check whether it satisfies the condition as it is consider as string class.

If I saw something like that in a PR I would reject it in ~2 seconds.

What actual problem are you trying to solve?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCg%2Bm9gv5%3DuESBmdzYOSYCV%3DCspNdbkhB3hucVEXgbFcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACMkcE5HWvKpa8%3D8YWgdnVgwYW03OCbBw3%2BCetMPrH-9Xj31yQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.