[Rails] Unpermitted parameter: contact_requests

2014-12-03 Thread bradford li
I posted a question on stackoverflow: http://stackoverflow.com/questions/27267037/unpermitted-parameter-contact-requests I am having a bit of trouble learning rails right now and putting the pieces together -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Adding rows to table in database through forms

2014-11-30 Thread bradford li
I posted a question on stackoverflow: http://stackoverflow.com/questions/27211929/adding-row-to-table-through-form I am getting an error trying to add rows to my table when I click submit on my form. I am not sure where I am going wrong. -- You received this message because you are subscribed

[Rails] Creating a contact form that will update 2 tables in database

2014-11-29 Thread bradford li
Here is my stackoverflow question I posted http://stackoverflow.com/questions/27208065/creating-a-contact-form-that-updates-2-tables Here is the question if you do not want to visit the website I am trying to create a form that updates 2 tables in my database. I'm not quite sure how to build

[Rails] Updating 2 tables from contact Form

2014-11-29 Thread bradford li
I am trying to create a form that updates 2 tables in my database. I'm not quite sure how to build this contact form quite yet. So my first short term goal is to simply update my `contact_requests` and `users` tables. I am aiming to do a `one to many` relationship between `users` and

[Rails] Mail notifications to self Net::SMTPAuthenticationError

2014-11-18 Thread bradford li
I am trying to set up a mailer to send myself notification methods. I am currently trying to get the mailer to send myself a simple message when I go to the URL `localhost:3000/send_mail` I am currently getting this error: Net::SMTPAuthenticationError in HomeController#send_mail

[Rails] Re: Mail notifications to self Net::SMTPAuthenticationError

2014-11-18 Thread bradford li
Thank you!! worked like a charm! On Tuesday, November 18, 2014 12:33:25 PM UTC-8, wdperson wrote: Hello, The reason you are getting that error is because more than likely you have set up 2 factor authentication with Google/Gmail. So it is saying you need to include a application specific

Re: [Rails] Mail notifications to self Net::SMTPAuthenticationError

2014-11-18 Thread bradford li
thank you!!! worked perfectly!! On Tuesday, November 18, 2014 12:34:39 PM UTC-8, Rob Biedenharn wrote: Take a look at: https://support.google.com/accounts/answer/185833?hl=en -Rob On 2014-Nov-18, at 15:22 , bradford li bradf...@gmail.com javascript: wrote: I am trying to set up

[Rails] PG::ConnectionBad: could not connect to server: No such file or directory

2014-10-15 Thread bradford li
I posted a question on stackoverflow seeking help. I;ve been asking on the ruby on rails IRC channel as well. I'm not sure how to fix this issue. I am new to ruby on rails and I having a hard time getting postgres to work with my rails app. When I run rake db:create or rake db:migrate, I get

[Rails] Re: PG::ConnectionBad: could not connect to server: No such file or directory

2014-10-15 Thread bradford li
: database bli1 does not exist On Wednesday, October 15, 2014 12:46:26 AM UTC-7, bradford li wrote: I posted a question on stackoverflow seeking help. I;ve been asking on the ruby on rails IRC channel as well. I'm not sure how to fix this issue. I am new to ruby on rails and I having a hard time

[Rails] understanding image uploader form

2014-07-23 Thread bradford li
I posted a question on stackoverflow but I thought I could get some extra help over here! =D http://stackoverflow.com/questions/24922203/understanding-mvc-for-rails-4-with-image-upload-form Basically I am new to rails 4 and I am trying to understand the MVC framework by creating an image

[Rails] Contact page creation

2014-07-18 Thread bradford li
I am new to ruby on rails and I am trying to create a small website as practice. Right now I am in the process of creating a Contact page. Basically this page will be a form to allow visitors send an email to only me. This form will have name, message, subject and other information a typical

[Rails] nokogiri missing libiconv error. Chapter 3 of RoR book tutorial

2014-06-26 Thread bradford li
I posted a question on stackoverflow but it hasnt been much help: http://stackoverflow.com/questions/24441580/cannot-bundle-install-nokogiri-error-ror-tutorial?noredirect=1#comment3782_24441580 I also followed the homebrew instructions to get libiconv. I have it downloaded and installed but

[Rails] Ruby on Rails Tutorial stuck at 1.4.2

2014-06-19 Thread bradford li
I posted a question on stackoverflow. http://stackoverflow.com/questions/24300477/pushing-ror-to-heroku-ror-tutorial/24300679?noredirect=1#comment37554053_24300679 I followed the instructions another user suggested but that did not seem to fix the problem. I really want to progress in this