[Rails] [JOBS] Seeking Ruby developer for partnership on healthcare project for local 501(c)3 non-profit

2014-09-03 Thread Devin Mehta
Hello all, I am a resident physician in Internal Medicine (Rush Medical Center) and I started a registered 501(c)3 non-profit corporation (MedReferrals) to connect underserved patients to healthcare. My co-founder is the CEO of Prominence Advisors, a healthcare IT consulting group. Our non-prof

Re: [Rails] Re: rake:db using mysql3

2014-09-03 Thread Hassan Schroeder
On Wed, Sep 3, 2014 at 6:39 PM, Mohammed Rashid wrote: > ... wanting to use MySQL instead of sqlite3 now. OK, great. Now, it sounds like your development environment isn't really set up properly, but that's somewhat OS-specific and I have no idea what to do with a Windows system at this point.

Re: [Rails] Re: Output of *_path not html_safe?

2014-09-03 Thread tamouse pontiki
On Tue, Sep 2, 2014 at 9:40 AM, Matt Jones wrote: > On Monday, 1 September 2014 15:50:34 UTC-4, tamouse wrote: >> >> From a lengthy discussion on #rubyo...@freenode.net, I am wondering >> about something. The *_path and *_url methods return plain String objects, >> not an ActiveSupport::SafeBuffe

[Rails] Re: rake:db using mysql3

2014-09-03 Thread Mohammed Rashid
Thanks a lot Jason you've helped as much as you could. And Hassan, I am wanting to use MySQL instead of sqlite3 now. I have MySQL community server installed. I cannot seem to install the gem I'm having problems as it cannot recognise when I run gem install mysql2. however when I download a ver

Re: [Rails] Rails 2.3.5 Implementing Google Tag Manager

2014-09-03 Thread Matt Jones
On Tuesday, 2 September 2014 22:58:58 UTC-4, M,Gopi M.gopinath wrote: > > Hi Jason, > > Thanks for your reply, here is link which says run time dependencies > google-tag-manager needs rails >=3.0.0. > > > https://github.com/rcs/google-tag-manager-rails/blob/master/google-tag-manager-rails.gemspe

[Rails] Token authenctication

2014-09-03 Thread Sander Obdeijn
Hi all, i'm building my first project in RoR. And i'm now looking into authentication. A lot of the posts online recommended devise so i'm looking into that. I require authentication in a html website and a json api and i'm using ruby 1.9.3 and rails 4.1.4. Now I have seen that devise has remo

Re: [Rails] Select with an alias does not show alias column in "having".

2014-09-03 Thread Christian Kruse
Hi, At Wed, 3 Sep 2014 10:38:13 -0700 (PDT), ruby user wrote: > When i run this query to get Images with tags that are named both > bamboo in and Green i get an error that says the alias table is not > present. What am I doing wrong? > > Image.joins(:tags).select("images.*, count(tags.id) as > '

[Rails] Summernote not working

2014-09-03 Thread Rasool SB
am new to rails, am using summernote for my app, I have followed the whole documentation and did as per the documentation. but, the editor is not dispalying in my text_area. means it just shows a blank text area box with out any buttons, the details are below. In my gem file: gem 'simple_

[Rails] Select with an alias does not show alias column in "having".

2014-09-03 Thread ruby user
The Model Image has many Tags When i run this query to get Images with tags that are named both bamboo in and Green i get an error that says the alias table is not present. What am I doing wrong? Image.joins(:tags).select("images.*, count(tags.id) as 'tags_count'").where(tags:{name:["bamboo

Re: [Rails] rake:db using mysql3

2014-09-03 Thread Jason Fleetwood-Boldt
Yea sorry I'm not really familiar with MySQL on Windows. Probably a good idea to get really solid with that first (maybe there's a beginner tutorial for?), can't help you there. On Sep 3, 2014, at 12:37 PM, Hassan Schroeder wrote: > Uh, well. Why do you care about that if you're not using

Re: [Rails] Re: rake:db using mysql3

2014-09-03 Thread Hassan Schroeder
On Wed, Sep 3, 2014 at 9:09 AM, Mohammed Rashid wrote: > I have sorted the problem now Jason thanks for your help. You are right > I changed syntax from the Gemfile and database.ylm class from sqlite2 to > sqlite 3 and the files are created. > > Now im typing "mysql u-root" and it does not work.

[Rails] Re: rake:db using mysql3

2014-09-03 Thread Mohammed Rashid
I have sorted the problem now Jason thanks for your help. You are right I changed syntax from the Gemfile and database.ylm class from sqlite2 to sqlite 3 and the files are created. Now im typing "mysql u-root" and it does not work. Can you tell me how to run "u -root" using windows which will t

[Rails] Redirect to same server with different port

2014-09-03 Thread Jared S.
I'm trying to set up a route to redirect to my monit interface, but I'm not sure how to do it. what I'd like is my https://domain.com:3000/monit to redirect to http://domain.com:2812 . I tried: get "/monit" => redirect("#{request.protocol}#{request.host}:2812") in my config.rb, but it doesn't see

Re: [Rails] rake:db using mysql3

2014-09-03 Thread Jason Fleetwood-Boldt
The "2" or "3" after the gem refers to the version of the mysql rails adapter (the gem), not the version of MySQL What does your Gemfile actually say ? also it might be that you're on Windows, in which case you may have special considerations building & compiling that Gem and/or MySQL (beyon

Re: [Rails] Rails 2.3.5 Implementing Google Tag Manager

2014-09-03 Thread Jason Fleetwood-Boldt
On Sep 2, 2014, at 10:55 PM, M,Gopi M.gopinath wrote: > Hi Jason, > > Thanks for your reply, here is link which says run time dependencies > google-tag-manager needs rails >=3.0.0. > > https://github.com/rcs/google-tag-manager-rails/blob/master/google-tag-manager-rails.gemspec > > https://ru

Re: [Rails] void value expression on model

2014-09-03 Thread Jason Fleetwood-Boldt
your controller action log shows that you have no params for cards (look where it says "Parameter" also your game_params method on the controller doesn't permit the cards attribute. On Sep 2, 2014, at 6:20 PM, Adrien R. wrote: > Thank you Jason for your fast reply. I didn't know about th

[Rails] rake:db using mysql3

2014-09-03 Thread Mohammed Rashid
Hi, I have created a new app using "rails new biller -d mysql" command and when I run "rake db:create", it shows me an error saying "Could not find gem 'mysql2 (>=0) x86-mingw32' in the gems available on this machine." I have also noticed that I cannot run "rails s" also as it shows the same erro

[Rails] Re: Creating my first blog with ruby on rails

2014-09-03 Thread Mohammed Rashid
Thank you for your help guys I have managed to solve the problem. Great advice I really appreciate it. -- Posted via http://www.ruby-forum.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 re

[Rails] Re: Password filtering does not work

2014-09-03 Thread Ronald Fischer
Hassan Schroeder wrote in post #1156593: > On Tue, Sep 2, 2014 at 5:26 AM, Ronald Fischer > wrote: >> In my Rails 4 application, when I have a form including a password, i.e. > >> I don't like the fact that the password is shown plain text in the log >> file, and would like to disable this. > >> H