[Rails] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2015-07-09 Thread Dmitriy
Hi I installed mysql server on ubuntu 15.04 and gem mysql2 When run command rake db:create display error: *Resque::Helpers will be gone with no replacement in Resque 2.0.0.Resque::Helpers will be gone with no replacement in Resque 2.0.0.[WARNING] The git gem requires git 1.6.0.0 or

Re: [Rails] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2015-07-09 Thread Norm Scherer
look in your mysql configuration file to see where the socket really is, it can vary depending on the system. Is the mysql server running? On 07/09/2015 07:47 AM, Dmitriy wrote: Hi I installed mysql server on ubuntu 15.04 and gem mysql2 When run command rake db:create display error:

Re: [Rails] Sending parameters to controller via button_to

2015-07-09 Thread Colin Law
On 9 July 2015 at 00:57, Padmahas Bn padma...@gmail.com wrote: I have %= label_tag :Enter member code % %= text_field_tag :membercode% %= button_to Death/Retired Recovery Letter Printing, recovery_letter_rpts_path(membercode: membercode) % In my controller def create membercode =

[Rails] Re: HELP

2015-07-09 Thread StepaAr
I'm putting every email into database.Those who are valid and those who aren't I can't figure out the condition Maybe i can't access database . I will make an assumption that i can't access database. I'm ready for any advise I have no idea how to finished this task. I'm getting pissed with

[Rails] How to save double-byte characters in mongodb?

2015-07-09 Thread Kiran Kumar
I have a Model called *Review.rb* class MovieNews::Review include Mongoid::Document include Mongoid::Timestamps include Mongoid::Userstamp include Mongoid::Search field :story, type: Stringend When i create a instance of class review and tried saving

Re: [Rails] Sending parameters to controller via button_to

2015-07-09 Thread Padmahas Bn
Can you please elaborate? -- 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

Re: [Rails] Need clarification on accessing application over LAN

2015-07-09 Thread Frederick Cheung
On Wednesday, July 8, 2015 at 1:35:19 PM UTC+1, Colin Law wrote: On 8 July 2015 at 13:07, Padmahas Bn padma...@gmail.com wrote: Hello all, Instead of hosting my rails app, if I run the rails app in one system using rails s (default server), how can I access localhost:3000/ from another

[Rails] Re: Sending parameters to controller via button_to

2015-07-09 Thread Elizabeth McGurty
So you are going to have one text field that gathers membercode? And associated with the membercode are going to be a bunch of bottons, each that will provide some controller action on membercode. Will the action always be def create? You have your recover_letter_rpts_path(:membercode). I

[Rails] Rigorous discussion on lack of baked-in authentication

2015-07-09 Thread James Davis, PhD
If there were to be a 'backed-in' authentication solution, it would likely be devise or something very devise-ish. I think that would be a little to presumptuous of Rails to force a heavyweight solution upon users. There are existing application generators that bundle devise into a new app's

[Rails] Sending parameters to controller via button_to

2015-07-09 Thread James Davis, PhD
Use a form in the view. The form will 'post' the data to the create method in your controller. This is assuming you have the correct routes. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop

[Rails] Rigorous discussion on lack of baked-in authentication

2015-07-09 Thread James Davis, PhD
If there were to be a 'backed-in' authentication solution, it would likely be devise or something very devise-ish. I think that would be a little too presumptuous of Rails to force a heavyweight solution upon users. There are existing application generators that bundle devise into a new app's

[Rails] Re: How to save double-byte characters in mongodb?

2015-07-09 Thread Frederick Cheung
On Thursday, July 9, 2015 at 9:47:00 AM UTC+1, Kiran Kumar wrote: Ex1: review = MovieNews::Review.new review.story = నటవర్గం after pasting here it's spelling goes worng నటవర్.. review.save = true Does Mongodb supports local languages to create collection? Someone please help me out.

[Rails] Re: HELP

2015-07-09 Thread StepaAr
sqllite3.Standard for Rails On Wednesday, July 8, 2015 at 1:58:34 PM UTC+2, Elizabeth McGurty wrote: What database are you using? -- 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

[Rails] Re: HELP

2015-07-09 Thread Elizabeth McGurty
Do you have it installed? Do you know how to access it? On Thursday, July 9, 2015 at 9:33:13 AM UTC-4, StepaAr wrote: sqllite3.Standard for Rails -- 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: HELP

2015-07-09 Thread Colin Law
On 9 July 2015 at 20:07, StepaAr ser.arsenijevic.mi...@gmail.com wrote: I'm putting every email into database.Those who are valid and those who aren't I can't figure out the condition Maybe i can't access database . I will make an assumption that i can't access database. I'm ready for any

Re: [Rails] Rails carrierwave has_many error

2015-07-09 Thread Colin Law
On 9 July 2015 at 21:28, Bazley 1975...@gmail.com wrote: Each User has_one Character. Each Character has_one :profilepicture, of class Picturething, which holds a Carrierwave mount_uploader to upload a singe picture. Each Character has_many :standardpictures, also of class Picturething.

[Rails] Image storage server using activeadmin

2015-07-09 Thread Taras Matsyk
Hi guys, I want to create a portfolio for a photographer and here how I image it under the hood: - Images will be stored on image hosting server (maybe cloudinary, is there anything else which is free to test and more or less cheap to pay for?) - An administrator can load files by logging into

[Rails] Rails carrierwave has_many error

2015-07-09 Thread Bazley
Each User has_one Character. Each Character has_one :profilepicture, of class Picturething, which holds a Carrierwave mount_uploader to upload a singe picture. Each Character has_many :standardpictures, also of class Picturething. Picture upload is handled in views/users/edit, which hits the

Re: [Rails] Re: JOBS - We are hiring a ROR Developer in Camaloon!

2015-07-09 Thread Ana Gonzalez Espinosa
The job position is in our office in Barcelona (Spain) El jueves, 9 de julio de 2015, 6:19:18 (UTC+2), Edsil Basadre escribió: Is this a remote job? On Thu, Jul 9, 2015 at 11:34 AM, Sunkuru Abhishek abhishe...@gmail.com javascript: wrote: Is it remote location job? On Thursday, July 9,

[Rails] Re: Re: Re: Re: Re: Re: Re: Migrating a complete Ruby rails app off heroku!

2015-07-09 Thread Matt Jones
On Monday, 6 July 2015 12:21:53 UTC-4, Ruby-Forum.com User wrote: No. There is no substitute for understanding Ruby and Rails enough to work through whatever is going on. Without a certain baseline level of knowledge you're just spinning your wheels, as shown above. Sorry.

Re: [Rails] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2015-07-09 Thread Walter Lee Davis
On Jul 9, 2015, at 11:14 AM, Norm Scherer normsche...@earthlink.net wrote: look in your mysql configuration file to see where the socket really is, it can vary depending on the system. Is the mysql server running? You may also get away with deleting the socket line altogether, which will