Re: [Rails] Wondering regarding: how to get the [gender] reference?

2015-06-16 Thread Colin Law
On 16 June 2015 at 00:09, Elizabeth McGurty emcgur...@gmail.com wrote: Original Post: please help solve the problem. There is a table users: id :integer, autoincrement name :string gender_id :integer There is a table genders: id :integer, autoincrement gender_name :string model User:

Re: [Rails] Re: Rails error while trying to delete: No route matches [GET]

2015-06-16 Thread Walter Lee Davis
Try adding those to your application.js file instead. Then they'll be concatenated and minimized by Sprockets for faster service. Walter On Jun 16, 2015, at 10:37 AM, Arthur Flores Duarte arthur...@gmail.com wrote: Hello everyone, Thanks a lot for your help. I finally found what was

Re: [Rails] Re: Best IDEs for Ruby on Rails

2015-06-16 Thread Mauro Locatelli
One Vim to rule them all There is a world behind Vim+plugins Here my plugin list v-ide http://crivotz.github.io/v-ide/ However Vim has a long learning curve, so if you do not have time Rubymine may be the solution Thanks, Mauro 2015-06-16 13:47 GMT+02:00 Arch Albert li...@ruby-forum.com:

[Rails] LOOP ARRAY OF HASHES

2015-06-16 Thread Simon Eric
Please how can i loop this to have all values of _id, contact, sent, answer, repondant? { result : [ { _id : null, contact : 45684, sent : 0, answer : 0, repondant : 0 }, { _id : vms,

[Rails] Re: Rails error while trying to delete: No route matches [GET]

2015-06-16 Thread Arthur Flores Duarte
Hello everyone, Thanks a lot for your help. I finally found what was the problem, the jquery wasn't working. I checked the HTML code, everything was correct, but in the time of the event the jquery wasn't working, The solution is in this post:

[Rails] Searching in a Tree-Navigation

2015-06-16 Thread Donny Donselm
Hello Everyone, i am currently researching with what way i can best develop a tree-hierarchy with a search function. So what i got: I got a hierarchical database with 13.000 datafields. Currently i ordered it like the following: Every ITEM has an ID, and a PRE_ID (only the ROOT which has the ID

Re: [Rails] Wondering regarding: how to get the [gender] reference?

2015-06-16 Thread Elizabeth McGurty
I think that it is a Rails issue. Scott writes: Oh please, let's not turn the simplest of bugs into a debate on gender politics. The developer was not aware that gender name could be null. And we are all okay with that Seems to me a serious disconnect. This developer perhaps on a very

[Rails] Multiple delayed jobs using in a ruby class

2015-06-16 Thread amtest
I have one sudo code here, using delayedjob with rails, actually tired but in some cases it getting weird, i want to call the first delay and after that is finished, then only start second delay, so i have used the priority. Is this the proper way to do this or is anything wrong? class

[Rails] Re: LOOP ARRAY OF HASHES

2015-06-16 Thread amtest
Might be you can use like this way the JSON json = JSON.parse(value) json[result].each do |item| # do something end On Tuesday, 16 June 2015 20:26:33 UTC+4, Ruby-Forum.com User wrote: Please how can i loop this to have all values of _id, contact, sent, answer, repondant? {

Re: [Rails] LOOP ARRAY OF HASHES

2015-06-16 Thread Colin Law
On 16 Jun 2015 17:26, Simon Eric li...@ruby-forum.com wrote: Please how can i loop this to have all values of _id, contact, sent, answer, repondant? { result : [ { _id : null, contact : 45684, sent : 0, answer : 0,

[Rails] [ANN] Rack 1.6.2 and 1.5.4 have been released!

2015-06-16 Thread Aaron Patterson
Hi Everybody! I've released Rack 1.6.2 and 1.5.4. These releases contain a fix for a potential DoS attack, and you can read about it here: * [CVE-2015-3225](https://groups.google.com/forum/#!topic/ruby-security-ann/gcUbICUmKMc) The commits for rack 1.5.4 can be found

Re: [Rails] Wondering regarding: how to get the [gender] reference?

2015-06-16 Thread Colin Law
On 16 June 2015 at 19:36, Elizabeth McGurty emcgur...@gmail.com wrote: I think that it is a Rails issue. Scott writes: Oh please, let's not turn the simplest of bugs into a debate on gender politics. The developer was not aware that gender name could be null. And we are all okay with

Re: [Rails] demand for RoR developers in southern Ontario?

2015-06-16 Thread S Ahmed
There is a pretty strong market in toronto, but it is a niche so there aren't a TON of companies like say for php or .NET. It is pretty easy to find the companies yourself since it is a niche, you don't really need a recruiter. On Wed, Jan 21, 2015 at 4:45 AM, Mickey Kocic li...@ruby-forum.com

Re: [Rails] Wondering regarding: how to get the [gender] reference?

2015-06-16 Thread Vladimir Gordeev
We exist in the 21st Century where a request for gender must be done with sensitivity =( On Tue, Jun 16, 2015 at 2:09 AM, Elizabeth McGurty emcgur...@gmail.com wrote: Original Post: please help solve the problem. There is a table users: id :integer, autoincrement name :string gender_id

Re: [Rails] Wondering regarding: how to get the [gender] reference?

2015-06-16 Thread Vladimir Gordeev
It's political or social question rather than technical, and should be asked on resources like reddit. or 4chan. On Tue, Jun 16, 2015 at 10:26 PM, Vladimir Gordeev gordeev.vladimi...@gmail.com wrote: We exist in the 21st Century where a request for gender must be done with sensitivity =(

Re: [Rails] Multiple delayed jobs using in a ruby class

2015-06-16 Thread Paul Makepeace
If you want to sequence the jobs why not just make it one job where the second job is just a method call? One important purpose of asynchronous jobs like this is to get them out of the way of a main loop. By making it one job you've done that so there's no obvious (so far) pressure to punt the

Re: [Rails] Re: Best IDEs for Ruby on Rails

2015-06-16 Thread Paul Makepeace
My RubyMine currently has four projects open for several days and is sitting at around 600MB RAM (160MB compressed) according to Activity Monitor. In 2015, I wouldn't consider that heavy (my browsers are using far more). It's a very responsive app, in my experience. It's full of well thought out

Re: [Rails] Multiple delayed jobs using in a ruby class

2015-06-16 Thread amtest
Hi, thanks for the response paul, actually i am trying to do export the csv, so that will take bit time to getting data and push to s3 that's why i put the delay, so one delay is fine to doing this long job? is this the normal way basically i am get rid of this multiple delay, because some

[Rails] Ruby Developers

2015-06-16 Thread Swapnil Bhadade
I am looking for the web resources to hire experienced Ruby developers . I request the Group experience guidance. Best -- 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

[Rails] Re: Rails error while trying to delete: No route matches [GET]

2015-06-16 Thread Saravanan B
Try this please it will work *%= link_to Destroy, {:controller = comment, :action = destroy, :id = comment.id }%* -- 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

Re: [Rails] Re: Rails error while trying to delete: No route matches [GET]

2015-06-16 Thread tamouse pontiki
Arthur, It hasn't been all that long since I've used 3.2, but I *think* you're using the wrong syntax. Please look at http://apidock.com/rails/v3.2.8/ActionView/Helpers/UrlHelper/link_to that shows the link_to method at that time. Also, look at the html that is generated for the view and see if

[Rails] Re: Ruby Developers

2015-06-16 Thread Manikandan Suriyamoorthi
We are interested. Please share your details to manikan...@optisolbusiness.com Thanks, Mani -- 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 receiving

[Rails] Re: Best IDEs for Ruby on Rails

2015-06-16 Thread Arch Albert
All the replies are very helpful. Thanks for sharing. http://www.cryptextechnologies.com/ -- 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 receiving emails