Re: [Rails] mailboxer sent messages not appearing in recipients inbox

2017-09-23 Thread nynhex
You do realize that falsifying a police report is a state felony, right?  And 
if it crosses state lines, then it’s a Federal felony. 

And while we’re on the topic, exchanging emails on a public mailing list with 
no direct contact is not stalking nor harassment.  In fact there has not been 
one single communication that can be legally construed as “harassment” or 
“stalking”.  

When you’re ready for some help, let us know.  Until then it’d be in your best 
interest to change your attitude and drop the threats.

-N


> On Sep 23, 2017, at 6:44 PM, fugee ohu <fugee...@gmail.com> wrote:
> 
> 
> 
> On Saturday, September 23, 2017 at 11:06:39 AM UTC-4, nynhex wrote:
> No one is harassing you.  But your lack of effort shows.  We are all trying 
> to help you but you fail to even put forth effort to do your own research.  
> We are basically writing your app for you.
> 
>> On Sep 23, 2017, at 10:01 AM, fugee ohu <fuge...@gmail.com > 
>> wrote:
>> 
>> 
>> 
>> On Saturday, September 23, 2017 at 10:16:14 AM UTC-4, Colin Law wrote:
>> On 23 September 2017 at 01:32, fugee ohu <fuge...@gmail.com <>> wrote: 
>> > 
>> > 
>> > On Friday, September 22, 2017 at 8:18:52 PM UTC-4, nynhex wrote: 
>> >> 
>> >> The problem is you’re not reading directions or doing your own research. 
>> >> Take the advice of everyone who’s offered to help you and go through some 
>> >> basic Rails tutorials.  Nobody is going to write your app for you. 
>> >> 
>> >> 
>> >> On Sep 22, 2017, at 7:00 PM, fugee ohu <fuge...@gmail.com <>> wrote: 
>> >> 
>> >> What could the problem be? 
>> >> 
>> >> -- 
>> >> 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/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com
>> >>  
>> >> <https://groups.google.com/d/msgid/rubyonrails-talk/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com>.
>> >>  
>> >> For more options, visit https://groups.google.com/d/optout 
>> >> <https://groups.google.com/d/optout>. 
>> >> 
>> >> 
>> > 
>> > That's not the problem The problem is you're not helping, but replying for 
>> > reasons unexplained 
>> 
>> Likely no-one here knows the answer to your problem. We are trying to 
>> help you by pointing to the code so that you can look through it and 
>> work it out for yourself. Once you work out the answer make sure you 
>> post it here so the next person to have similar problems will find it 
>> and understand what is going on. 
>> 
>> Colin 
>> 
>> This thread includes no links just your buddy and you harrassing me 
>> haranging me You should have stayed off this thread with nothing to offer
>> 
>> -- 
>> 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/92359ea2-eb0b-4784-9984-91e8ad3eedb9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/rubyonrails-talk/92359ea2-eb0b-4784-9984-91e8ad3eedb9%40googlegroups.com?utm_medium=email_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> Sent messages don't show in the  receivers inbox I look at the post 
> processing and table inserts in the log and i see the value of receiver_id in 
> an insert into mailboxer_receipts is the same as the sender id (mine) even 
> though the post has the right params The models are in the gem and they have 
> relationships I know, so nobody should tell me, especially when everyone 
> knows that who didn't just start programming yesterday, why do you treat me 
> as the one person who doesn't Also I never learned a thing in here to my 
> memory let alone gotten a snippet or even a line of code from anyon

Re: [Rails] mailboxer sent messages not appearing in recipients inbox

2017-09-23 Thread nynhex
No one is harassing you.  But your lack of effort shows.  We are all trying to 
help you but you fail to even put forth effort to do your own research.  We are 
basically writing your app for you.

> On Sep 23, 2017, at 10:01 AM, fugee ohu <fugee...@gmail.com> wrote:
> 
> 
> 
> On Saturday, September 23, 2017 at 10:16:14 AM UTC-4, Colin Law wrote:
> On 23 September 2017 at 01:32, fugee ohu <fuge...@gmail.com > 
> wrote: 
> > 
> > 
> > On Friday, September 22, 2017 at 8:18:52 PM UTC-4, nynhex wrote: 
> >> 
> >> The problem is you’re not reading directions or doing your own research. 
> >> Take the advice of everyone who’s offered to help you and go through some 
> >> basic Rails tutorials.  Nobody is going to write your app for you. 
> >> 
> >> 
> >> On Sep 22, 2017, at 7:00 PM, fugee ohu <fuge...@gmail.com <>> wrote: 
> >> 
> >> What could the problem be? 
> >> 
> >> -- 
> >> 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/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com
> >>  
> >> <https://groups.google.com/d/msgid/rubyonrails-talk/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com>.
> >>  
> >> For more options, visit https://groups.google.com/d/optout 
> >> <https://groups.google.com/d/optout>. 
> >> 
> >> 
> > 
> > That's not the problem The problem is you're not helping, but replying for 
> > reasons unexplained 
> 
> Likely no-one here knows the answer to your problem. We are trying to 
> help you by pointing to the code so that you can look through it and 
> work it out for yourself. Once you work out the answer make sure you 
> post it here so the next person to have similar problems will find it 
> and understand what is going on. 
> 
> Colin 
> 
> This thread includes no links just your buddy and you harrassing me haranging 
> me You should have stayed off this thread with nothing to offer
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com 
> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com 
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/92359ea2-eb0b-4784-9984-91e8ad3eedb9%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rubyonrails-talk/92359ea2-eb0b-4784-9984-91e8ad3eedb9%40googlegroups.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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+unsubscr...@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/DC93D118-19BA-4564-8159-72262FABDD40%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] mailboxer sent messages not appearing in recipients inbox

2017-09-22 Thread nynhex
Can’t help someone who can’t help themselves.  Do the work, do the research, 
then ask questions. 

> On Sep 22, 2017, at 7:32 PM, fugee ohu <fugee...@gmail.com> wrote:
> 
> 
> 
> On Friday, September 22, 2017 at 8:18:52 PM UTC-4, nynhex wrote:
> The problem is you’re not reading directions or doing your own research.  
> Take the advice of everyone who’s offered to help you and go through some 
> basic Rails tutorials.  Nobody is going to write your app for you.
> 
> 
>> On Sep 22, 2017, at 7:00 PM, fugee ohu <fuge...@gmail.com > 
>> wrote:
>> 
>> What could the problem be?
>> 
>> -- 
>> 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/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/rubyonrails-talk/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com?utm_medium=email_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> That's not the problem The problem is you're not helping, but replying for 
> reasons unexplained 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com 
> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com 
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/005282eb-b282-440d-9a41-30a83e1aab42%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rubyonrails-talk/005282eb-b282-440d-9a41-30a83e1aab42%40googlegroups.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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+unsubscr...@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/E619AC31-440E-44DE-BCEC-9D9E6226A839%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] mailboxer sent messages not appearing in recipients inbox

2017-09-22 Thread nynhex
The problem is you’re not reading directions or doing your own research.  Take 
the advice of everyone who’s offered to help you and go through some basic 
Rails tutorials.  Nobody is going to write your app for you.


> On Sep 22, 2017, at 7:00 PM, fugee ohu  wrote:
> 
> What could the problem be?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/0329d1af-23e5-4f47-a286-c7556789a6ae%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+unsubscr...@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/D178022F-65CB-4911-8645-538AF282C0BE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] disabling user accounts

2017-09-15 Thread nynhex
Force it to logout with the standard devise logout method.


> On Sep 14, 2017, at 4:18 PM, fugee ohu <fugee...@gmail.com> wrote:
> 
> 
> 
> On Thursday, September 14, 2017 at 8:48:35 AM UTC-4, nynhex wrote:
> Not built in, but you could easily write your own method to prevent an 
> account from logging in.  Simply throw a Boolean of active: true/false and 
> write a method to activate/deactivate the account.  Then in your application 
> controller have a method that checks the status of an account and if it does 
> not meet the active true state then force it to logout and send a flash 
> message “Your account has been disabled”.  If you google, there a lot of 
> examples on this.
> 
> 
>> On Sep 14, 2017, at 7:25 AM, fugee ohu <fuge...@gmail.com > 
>> wrote:
>> 
>> Does devise provide an already built in method for disabling user accounts 
>> so I can disable accounts without any additional coding
>> 
>> -- 
>> 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/d634151a-6044-4b09-b770-8feacc4ab222%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/rubyonrails-talk/d634151a-6044-4b09-b770-8feacc4ab222%40googlegroups.com?utm_medium=email_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> Force it to log out with redirect to  ?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com 
> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com 
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/a43dda81-1cf6-4ca5-be56-77bd87d5e1a3%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rubyonrails-talk/a43dda81-1cf6-4ca5-be56-77bd87d5e1a3%40googlegroups.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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+unsubscr...@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/B8832ADA-BB02-49C9-815C-125202A7F8F4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] disabling user accounts

2017-09-14 Thread nynhex
Not built in, but you could easily write your own method to prevent an account 
from logging in.  Simply throw a Boolean of active: true/false and write a 
method to activate/deactivate the account.  Then in your application controller 
have a method that checks the status of an account and if it does not meet the 
active true state then force it to logout and send a flash message “Your 
account has been disabled”.  If you google, there a lot of examples on this.


> On Sep 14, 2017, at 7:25 AM, fugee ohu  wrote:
> 
> Does devise provide an already built in method for disabling user accounts so 
> I can disable accounts without any additional coding
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/d634151a-6044-4b09-b770-8feacc4ab222%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+unsubscr...@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/6F5DC712-FDC3-4B3B-B45D-3687BF5FDB7A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread nynhex
Or you can use this link which is very detailed and easy to follow.  
https://gorails.com/deploy/ubuntu/16.04 



> On Sep 10, 2017, at 11:13 AM, Karthikeyan A K <77mi...@gmail.com> wrote:
> 
> If you need simple thing like deploying Rails (i.e going to production) 
> follow this: 
> https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-16-04
>  
> 
> 
> Once you have mastered it, you can move to something called capistrano that 
> will make you to do this stuff quicker.
> 
> If you want to test your project well, read the book Rails Test Prescriptions.
> 
> Once you are done with the above stuff, start googling for Continuous 
> Integration. That will automate more thus freeing you up a lot.
> 
> It will take time and patience to learn Rails and Devops, so be calm.
> 
> 
> On Sun, Sep 10, 2017 at 9:31 PM, Ben Edwards  > wrote:
> I've been googling for this for a while wit little joy.  Maybe I’m using the 
> wrong search terms but I’m very surprised there is not a howto guide;(,
> 
> What I am trying to work out it how to take a project from development to 
> test (and test) and then to production.  I will make the environments the 
> same so I don’t need a staging environment. I am using git(bitbucket) 
> unicorn, Nginx and rbevn. Currently I am actually using vanilla 'rails 
> server' in development and realise I need to setup unicorn/Ngnix on my 
> development box (but am not asking about this here as there seems to be good 
> guides for this.
> 
> Test
> I've seen in a few places that I can basically clone by rails development 
> environment to test (including database).  I gather this means going to git 
> test branch and running some type of rails command to do this (not sure what 
> or what I need to setup).   All I can work out is I need to setup 
> config/environments/test.rb/ & config/database.yml. Then run the tests  (I'm 
> looking at http://guides.rubyonrails.org/testing.html 
>  so again am not asking for help 
> with testing).  
> 
> Production
> In production I have the following setup on the server (in .bashrc)
> 
> export RAILS_ENV=production
> export APP_PATH=/home/users/funkytwig/user/rails/railsapp
> 
> I only have the master git branch on the production server (so I just need to 
> 'git pull').
> 
> The first time I move app to production I will have to create the database 
> (rails db:migrate? ro do I need to do something else to create from scratch). 
>  Then I need to load some app configuration data, think I know how to do 
> this, see below. 
> 
> Then when take a new version of the app I also do git pull, 'rails 
> db:migrate' and reload the configuration data. 
> 
> Exporting config Data
> Bit more googling and I found out about 'rails db:seed:dump' 
> (http://www.rubydoc.info/gems/seed_dump/0.5.3 
> ). So I guess I use something 
> like
> 
> rake db:seed:dump MODELS=User, RefValue
> 
> Seem to make seance to create a  bump_db_app_config.bash to create this file, 
> although not sure exactly where to put it in the file-system (should put the 
> script and created file in rails app structure some-ware or outside it)
> 
> Lastly alter I have migrated the db I just run the script.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/0af7f431-401e-4edc-b2cc-6e594af382ac%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> 
> 
> -- 
> Karthikeyan A K
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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%2B9katnpWMrqX7MV9TZzVwxS4LyuLkXPXoB209C6amZ6B_wA%40mail.gmail.com
>  
> 

Re: [Rails] Fixed I Love Ruby broken link

2017-08-08 Thread nynhex
Great read, thanks for publishing this! 

> On Aug 8, 2017, at 10:31 AM, Karthikeyan A K <77mi...@gmail.com> wrote:
> 
> Hello People,
> 
> Have fixed some broken links for https://mindaslab.github.io/I-Love-Ruby/ 
>  . I hosted I Love Ruby book on 
> Open Mail Box, but now since they have made their service paid, I have moved 
> to github 100%.
> 
> Hope you find my book useful.
> 
> -- 
> Karthikeyan A K
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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%2B9kZ6XsL8CdAXT_OzHm6fo1XXZ%2BtCfCmE1HkkQdGVpD7rig%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+unsubscr...@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/2859B752-0A0C-40AF-A6AA-816BA0ED429F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Upgrading to rails 5.0

2017-07-25 Thread nynhex
You may want to open this as an issue on the gem’s issue tracker: 
https://github.com/jmettraux/rufus-scheduler/issues 


This is not a Rails problem, but more of a compatibility issue with the gem.


> On Jul 25, 2017, at 2:21 PM, João Bordalo  wrote:
> 
> Hi there,
> 
> I'm upgrading an app from rails 4.2.7 to 5.0.4.
> 
> I have updated the binary files through this command $rails app:update, and 
> so far so good.
> 
> However, when i run this command  $rails db:migrate, I get the following 
> error:
> 
> rails aborted!
> NoMethodError: undefined method `scheduler' 
> 
> and the code it points is to this block: (the red is what is causing the 
> error.
> 
> if !defined?(Rails::Console) && \
> File.basename($0) != 'rake' && \
> Rails.configuration.scheduler
>   scheduler_pid_file = File.join(Rails.root, "tmp", "scheduler.pid").to_s
>   Scheduler::start_unless_running scheduler_pid_file
> end
> 
> 
> I'm using gem 'rufus-scheduler', '~> 3.4.2'
> And I followed this guide to upgrade: 
> https://hashrocket.com/blog/posts/how-to-upgrade-to-rails-5#3-update-rails-binaries-and-configurations
>  
> 
> 
> Do you have any idea how to solve this?
> 
> Thank you for your time,
> 
> João Bordalo
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/32c6d598-b076-42af-9e0f-cc8702b28fe2%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+unsubscr...@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/CEE637B9-E362-43B9-A494-6A3EE6259CA5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] mailboxer attachments

2017-07-20 Thread nynhex
Then you should have your answers.

> On Jul 20, 2017, at 11:46 AM, fugee ohu <fugee...@gmail.com> wrote:
> 
> 
> 
> On Thursday, July 20, 2017 at 9:42:50 AM UTC-4, nynhex wrote:
> Have you actually read the docs, googled, looked at stack overflow?
> 
> 
>> On Jul 20, 2017, at 12:55 AM, fugee ohu <fuge...@gmail.com > 
>> wrote:
>> 
>> I haven't been able to get attachments working The mailboxer_notifications 
>> table has an attachment field but messages are created by the messages 
>> controller but there's no message model or messages table so there's no 
>> whitelisting in the messages controller, so I don't know if my issue is 
>> whitelisting or not multipart: true is set in the form_tag ... i dunno what 
>> could the problem be
>> 
>> -- 
>> 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/a7626e12-eeec-445e-8a40-cb3dadc1e2cc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/rubyonrails-talk/a7626e12-eeec-445e-8a40-cb3dadc1e2cc%40googlegroups.com?utm_medium=email_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> yes 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com 
> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com 
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/44f103ef-67f9-42ba-97d7-ae528b74fcfb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rubyonrails-talk/44f103ef-67f9-42ba-97d7-ae528b74fcfb%40googlegroups.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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+unsubscr...@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/59692F55-3896-407F-8A39-7E0D64DE0259%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] mailboxer attachments

2017-07-20 Thread nynhex
You can try reading the docs?

> On Jul 20, 2017, at 11:44 AM, fugee ohu  wrote:
> 
> 
> 
> On Thursday, July 20, 2017 at 5:22:33 AM UTC-4, Mugurel Chirica wrote:
> What have you tried so far?
> 
> there are mailboxer tables but the models are in the gem What is there to try 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/bce5ac41-90f3-49cf-82f2-4a36cb5c623d%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+unsubscr...@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/4E304476-1F95-493D-948A-4AC6644197FF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] mailboxer attachments

2017-07-20 Thread nynhex
Have you actually read the docs, googled, looked at stack overflow?


> On Jul 20, 2017, at 12:55 AM, fugee ohu  wrote:
> 
> I haven't been able to get attachments working The mailboxer_notifications 
> table has an attachment field but messages are created by the messages 
> controller but there's no message model or messages table so there's no 
> whitelisting in the messages controller, so I don't know if my issue is 
> whitelisting or not multipart: true is set in the form_tag ... i dunno what 
> could the problem be
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/a7626e12-eeec-445e-8a40-cb3dadc1e2cc%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+unsubscr...@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/CE75A4E1-D231-4572-98C8-41CA8118D72E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Best place to store secret keys in Rails

2017-07-17 Thread nynhex
Sure, why not.  I store all my stuff in secrets.yml but best practice to not 
commit secrets.yml (or database.yml) to version control.

> On Jul 17, 2017, at 2:26 PM, Ralph Shnelvar  wrote:
> 
> If my code will not be shared, and
> 
> My Rails app is on my own server, then
> 
> Does it make a difference if the secret keys are in environment variables or 
> ~/config/secrets.yml ?
> 
> Ralph
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/cfcadfa2-1cf1-4295-a36d-dfe9cb7f8763%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+unsubscr...@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/05D18599-F7D2-4892-87B3-10B466EC1B92%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] acts_as_messagable

2017-07-16 Thread nynhex
Search stack overflow or read the docs

> On Jul 16, 2017, at 4:40 PM, fugee ohu  wrote:
> 
> I added messaging to my app with acts_as_messagable but how will i let users 
> send each other pictures?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/00f26213-870c-42c7-ba87-869ae10b7529%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+unsubscr...@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/7D50E018-75C4-4F3D-8580-246B8EB17E09%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] jquery ui date range handling choices: periodpicker, daterangepicker, datepicker, datetimepicker

2017-07-15 Thread nynhex
This has nothing to do with rails.  Post your question on StackOverflow.


> On Jul 15, 2017, at 7:01 AM, fugee ohu  wrote:
> 
>   First thing I notice is that daterangepicker doesn't populate two date 
> fields, it populates one field of unsaid data type i assume string If I need 
> to query all users who attended a school let's say during a range of dates, i 
> wouldn't know how to query the single non-date field If anyone knows how 
> please tell me
>   PeriodPicker seems good, it populates two fields but costs $3 The issue is 
> should WE, the ror community pay for this I dunno i don't wanna start a trend 
> if it's not right Everything else is free from what I've seen
>   Other complex solutions are posted online using datepicker It seems there's 
> no datepicker, only datetimepicker and datepicker is part of datetimepicker? 
> Anyone can clarify?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/d253f27a-4aa3-4e02-bfa7-9a85196d45b2%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+unsubscr...@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/4AD8BA9D-F747-4D3A-A275-B3270D9800B4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] nested resources revealing users id

2017-07-04 Thread nynhex
How do you expect Rails to work?  If your route is /users/:id/posts/:id the ID 
of the object must be passed as a param. 

> On Jul 4, 2017, at 5:11 PM, fugee ohu  wrote:
> 
> Seems undesirable for everyone to know your user id from a nested resources 
> url that looks like /users/5/posts/4 Anyone can advise?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/ef5cf7ec-3967-46e6-a1d3-8cb9e5052c0c%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+unsubscr...@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/443A249C-020C-4F30-8FAE-4E5F3FA2033E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] bootstrap tabs

2017-07-03 Thread nynhex
Have you tried googling or reading the docs?

> On Jul 3, 2017, at 5:44 AM, fugee ohu  wrote:
> 
> The instructions I find  for this all show use data-toggle="tab" and then 
> separately tab-content I have pages I wanna link to for my  items I don't 
> need this extra fancy stuff I have this code but it doesn;t display tabs at 
> all Anyone can correct please Thanks in advance
> 
>  " data-toggle="tab">Timeline
>   
> 
> About
>   
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/3d6d6dd9-9bb0-41d2-9845-b7517036bdfb%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+unsubscr...@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/B2C7AC47-53C0-4FCE-A758-381006554310%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] Nested Form find or create inside of form

2017-05-29 Thread nynhex
Good morning,

I haven’t done an autocomplete with a nested form in quite some time and can’t 
find any good references.  I posted to SO here: 
https://stackoverflow.com/questions/44232005/rails-5-nested-form-find-or-create 


Basically I have two models Run and Patient.  Run belongs_to patient and 
Patient has_many runs.  Run accepts_nested_attributes for patient.

What I want to do is when creating a new run, have a select box that let’s me 
type out of the name of the patient, if they exist and it’s the right patient, 
use that ID in the form.  If the patient does not exist, then create the nested 
association patient record.  I’m hoping to do this with autocomplete too.

Any guidance is greatly appreciated.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@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/4E680D8E-059E-4B1A-8A18-544ABE8EEB7D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] deploying to heroku

2017-05-27 Thread nynhex
Good call on this one, request and response are almost reserved naming 
conventions in rails.

> On May 27, 2017, at 9:32 AM, Hassan Schroeder  
> wrote:
> 
> On Sat, May 27, 2017 at 6:15 AM, Joe Guerra  wrote:
>> Hi, I'm not sure why my app on heroku is crashing.
>> I've added a requests controller, and everything works locally using sqlite.
> 
> "works" in the sense that you have tests for this part of your code?
> 
> That aside, having a "requests" controller sounds like a phenomenally
> bad idea -- "request" and "response" have very specific meanings in
> any web application, and in the case of Rails request() is an instance
> method of ActionController::Base.
> 
> I would strongly recommend changing the name of that controller :-)
> 
> -- 
> Hassan Schroeder  hassan.schroe...@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+unsubscr...@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/CACmC4yDAbayWntKqCuUES1M5bAorxiZkfq5h3Syn%3D30%2B76k07Q%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+unsubscr...@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/A0F45EB2-F86C-4B8E-BFB3-5240EE464B3A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] deploying to heroku

2017-05-27 Thread nynhex
Is your controller class name named properly and have you committed this 
controller to version control before deploying to Herkoku?

Sent from my iPhone

> On May 27, 2017, at 8:15 AM, Joe Guerra  wrote:
> 
> Hi, I'm not sure why my app on heroku is crashing.  
> I've added a requests controller, and everything works locally using sqlite.  
> 
> 
> here's my log from heroku...
> 
> 2017-05-27T13:07:36.250694+00:00 app[web.1]:[1m [35mUser Load (1.7ms) [0m 
>  SELECT  "users".* FROM "users" WHERE "users"."id" = $1  ORDER BY 
> "users"."id" ASC LIMIT 1  [["id", 11]]
> 2017-05-27T13:07:36.253544+00:00 app[web.1]: Completed 500 Internal Server 
> Error in 8ms (ActiveRecord: 1.7ms)
> 2017-05-27T13:07:36.254583+00:00 app[web.1]: 
> 2017-05-27T13:07:36.254585+00:00 app[web.1]: NameError (uninitialized 
> constant RequestsController::Request):
> 2017-05-27T13:07:36.254586+00:00 app[web.1]:   
> app/controllers/requests_controller.rb:12:in `index'
> 2017-05-27T13:07:36.254586+00:00 app[web.1]: 
> 
> What's causing this?  any suggestions?
> Thanks,
> Joe
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/75f23d83-3b51-4e4c-b408-0b1d8e8f0cb2%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+unsubscr...@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/37E839DA-2EE5-45FD-BF41-533367944810%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Configurar SSL no load balancer da Amazon

2017-05-24 Thread nynhex
Eu nunca experimentei o problema que você fez, mas eu posso ajudar. Você pode 
falar em inglês? Meu portugal não é bom.

> On May 24, 2017, at 9:59 AM, pedrocusto...@outlook.com.br wrote:
> 
> Olá.
> 
> Tenho um certificado Willcard da GoDaddy, e tentando fazer upload para o load 
> balancer da Amazon ocorreu um erro.
> 
> Gerei a chave privada com o comado:
> openssl req -nodes -newkey rsa:2048 -keyout meu_dominio.key -out 
> meu_dominio.csr
> 
> Foram criados os 02 arquivos:
> meu_dominio.csr e meu_dominio.key
> 
> Copiei a chave do .csr e obtive o download do certificados da GoDaddy, com os 
> formatos .crt
> 
> Fiz a conversão desse arquivo e do .key para .pem. conforme solicitação do 
> load balancer na Amazon
> 
> Copiei as chaves, e recebi a mensagem de que o certificado não foi 
> encontrado. 
> 
> Verifiquei vários docs da web, e mesmo seguindo os passos não funcionou, 
> alguém que já passou pela experiencia poderia me dar um feedback?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@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/AC7C1AA4-96FD-4A95-A800-F62CCC597443%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] RE: digitalocean/linode automated Rails setup

2017-05-13 Thread nynhex
Than you need to write your own provisioning scripts using Chef, Ansible, 
Puppet, or SaltStack.  Or if you’re on AWS use OpsWorks.

Either way it’s going to require time and money to some degree.

> On May 13, 2017, at 2:44 PM, S Ahmed <sahmed1...@gmail.com> wrote:
> 
> Looks interesting, but I am looking for something that I have total control 
> over and not a 3rd party service that costs $$.
> 
> 
> On Thu, May 11, 2017 at 4:40 PM, nynhex <nyn...@gmail.com 
> <mailto:nyn...@gmail.com>> wrote:
> Checkout hatch.gorails.com <http://hatch.gorails.com/>
> 
> Super easy to deploy your rails app on digital ocean with a couple of clicks. 
> 
> Sent from my iPhone
> 
> On May 11, 2017, at 3:25 PM, S Ahmed <sahmed1...@gmail.com 
> <mailto:sahmed1...@gmail.com>> wrote:
> 
>> Hi,
>> 
>> Are there any good server automation scripts that can bootstrap a Rails 
>> server on something like linode/digitalocean that you can recommend?
>> 
>> Something that installs basic security, Rails, postgresql, and nginx etc?
>> 
>> Thanks!
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to rubyonrails-talk+unsubscr...@googlegroups.com 
>> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com 
>> <mailto:rubyonrails-talk@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuMvFOMbWw8jNVGcNHWQ4cm_Tg-AmGxNXwSPcQYzRgU-eA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuMvFOMbWw8jNVGcNHWQ4cm_Tg-AmGxNXwSPcQYzRgU-eA%40mail.gmail.com?utm_medium=email_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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+unsubscr...@googlegroups.com 
> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com 
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/8C7D24DA-C0E7-403F-9208-8EE7AF36FE56%40gmail.com
>  
> <https://groups.google.com/d/msgid/rubyonrails-talk/8C7D24DA-C0E7-403F-9208-8EE7AF36FE56%40gmail.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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+unsubscr...@googlegroups.com 
> <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com 
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuMdTFL-iOEtjdLcjxDi%2B-L-v2zv6Wmhd_8TOuZfStw8Pw%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuMdTFL-iOEtjdLcjxDi%2B-L-v2zv6Wmhd_8TOuZfStw8Pw%40mail.gmail.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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+unsubscr...@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/2203DEDA-3C48-4225-B978-B3D183030C17%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] RE: digitalocean/linode automated Rails setup

2017-05-11 Thread nynhex
Checkout hatch.gorails.com

Super easy to deploy your rails app on digital ocean with a couple of clicks. 

Sent from my iPhone

> On May 11, 2017, at 3:25 PM, S Ahmed  wrote:
> 
> Hi,
> 
> Are there any good server automation scripts that can bootstrap a Rails 
> server on something like linode/digitalocean that you can recommend?
> 
> Something that installs basic security, Rails, postgresql, and nginx etc?
> 
> Thanks!
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/CAG2rwuMvFOMbWw8jNVGcNHWQ4cm_Tg-AmGxNXwSPcQYzRgU-eA%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+unsubscr...@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/8C7D24DA-C0E7-403F-9208-8EE7AF36FE56%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Redhat and Passenger migration options?

2017-04-27 Thread nynhex
Not sure what you meant regarding binary compatibility issues moving to a new 
version of RHEL.  But if you are moving to or upgrading RHEL I’d definitely 
suggest switching to Nginx/Passenger as Nginx benchmarks much better than 
Apache does and the passenger integration is much more straight forward than 
Apache.  If you have specific questions, please drop them here.


> On Apr 27, 2017, at 12:15 PM, Robert Nicholson  
> wrote:
> 
> We have a Rails application that runs via an old Apache using Passenger on an 
> old release of RedHat Linux.
> 
> What are the logical options to avoid binary compatibility issues when moving 
> to a newer RedHat Linux?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/7AC6CC26-E808-453A-BAC3-EB26AC2A4DE1%40gmail.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+unsubscr...@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/23E61389-2D6A-484E-90C3-E6F8F3C31A11%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] use hash from model in controller

2017-04-26 Thread nynhex
Lol this was epic 

Sent from my iPhone

> On Apr 26, 2017, at 7:52 AM, Walter Lee Davis  wrote:
> 
> 
>> On Apr 25, 2017, at 8:30 PM, fugee ohu  wrote:
>> 
>> 
>> 
>> On Tuesday, April 25, 2017 at 7:19:25 PM UTC-4, Walter Lee Davis wrote:
>> Please stick to one thread per question, I've answered this separately. 
>> 
>> Walter 
>> 
>>> On Apr 25, 2017, at 5:49 PM, fugee ohu  wrote: 
>>> 
>>> I have a hash in my model and need to lookup keys from values in my 
>>> controller Here's the hash: 
>>> VENUE_STATE_TYPES = 
>>>  [ 
>>>['Alabama', 'AL'], 
>>>['Alaska', 'AK'], 
>>>... 
>>>  ] 
>>> 
>>> -- 
>>> 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/bd870ca2-a3f5-4932-8ab7-32808bc6df3d%40googlegroups.com.
>>>  
>>> For more options, visit https://groups.google.com/d/optout. 
>> 
>> 
>> Thanks Should I delete this post? 
>> 
> 
> When you figure out how to delete an e-mail from everyone's in-box, you will 
> have a long line of Senators and Congress(persons) at your door asking how. 
> This is a mailing list, even if you interact with it through a Web site.
> 
> Walter
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/F6F566C1-3428-47F4-BA55-C8DA3365C1F3%40wdstudio.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+unsubscr...@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/4E8F9919-F425-4A7D-8A8B-C31D5602C392%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Form fields not in schema/model

2017-04-20 Thread nynhex
If they’re columns in a table backed by a model, you would simply validate them 
on the model layer.

> On Apr 20, 2017, at 9:06 AM, fugee ohu  wrote:
> 
> I'm putting some fields in my form that the controllers gonna use but they're 
> columns in the table so I can't validate at the model level? How can I 
> validate them?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@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/fc0a1365-571d-4d33-b518-12f40be8e6b9%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+unsubscr...@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/F0A0D811-16FC-4BFC-A6FC-9107A7D8459D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Where to meet the Rails community?

2017-04-09 Thread nynhex
Also another very active community is that of gorails.com. A great screencast 
site with a dedicated slack channel with thousands of users. All very friendly 
and helpful. 

Sent from my iPhone

> On Apr 9, 2017, at 2:30 AM, Frederick Cheung  
> wrote:
> 
>> On Sunday, April 9, 2017 at 2:21:55 AM UTC+1, Hassan Schroeder wrote:
>> On Thu, Apr 6, 2017 at 1:14 AM, 'Elmar Hinz' via Ruby on Rails: Talk
>>  wrote:
>> 
>>> I find a few postings per day.  Is that all? Can't be! Is Rails dead?
>> 
>> Not at all. But it's a fairly mature platform, and the web is pretty
>> flush with tutorials, blog posts, stackoverflow answers, so...
> 
> Q activity has definitely shifted to stack overflow pretty majorly. .
> 
> Fred 
> 
>> -- 
>> Hassan Schroeder  hassan.schroe...@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+unsubscr...@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/9ea93a71-5f27-4bb4-8ad1-b06f941a42ff%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+unsubscr...@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/422FBDC0-DEF2-4C9B-A363-865E830A01FE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.