Sign in through GitHub

LightBe Corp's Profile

GitHub User: lightbe

Site: http://www.lightbe.com

Comments by LightBe Corp

Avatar

I could not get this script to work (new to javascript). I am using model User instead of Person. I copied the script as it is on this page and changed all 'person' to 'user'. I put the script is users.js.coffee in my assets/javascript folder. It seems to ignore the script. When I select a state it shows all the countries and related states instead of only displaying the states for the selected country.

I have my fields in a partial that is used both in new and edit.

Again I am new to scripting. I believe that all I have to do is to add the script and it should work. I do this when I want to add functions using Bootstrap. Any help would be appreciated.

Avatar

I am having issues setting up my mail server (Mac Mini using Lion Server). I get different answers on how to set this up when I call technical support. When I try to send emails it sits until it times out. It is looking for something on my server but I do not know what information to put where. This brings me to my question.

For ease I wanted to use my Gmail smtp settings for my Rails applications. However it appears that Gmail will force the FROM value to the Gmail email address and name (if one is set up) regardless of what the FROM value in the mailer is. Is there any way around this using Gmail? If not are there other email services that are as easy to configure as Gmail is but do not force the FROM value to be the email address? This was not addressed in this railscast.

Avatar

I plan to watch this video when I am at the point of coding my Rails project. However I am curious if someone who has watched the video can tell me which version of Rails & Thinking Sphinx are being used for this video. I am learning Rails 3.2.3. I currently have gem Thinking-Sphinx 2.0.10 in my Gemfile.