[Rails] Re: password recovery

2016-02-15 Thread Daceit Ideden
Thanks for your such nice post, guys. Windows Passowrd Key is the tool that I have used to recover Windows password in quickest way. Only in 3 simple steps, you can enter locked computer easily. See more at: http://www.lostwindowspassword.com -- Posted via http://www.ruby-forum.com/. -- You

Re: [Rails] Associations with value passing

2016-02-15 Thread Walter Lee Davis
> On Feb 15, 2016, at 12:28 PM, Szabolcs Toth wrote: > > I have completely lost with this simple problem. I have two model, Post > and Comment. I added the one-to_many associations. When I want to add a > comment to a certain post I use this: > > <%= link_to 'Add

Re: [Rails] Re: Building xml/json api

2016-02-15 Thread Colin Law
On 15 February 2016 at 21:39, Roy Royal wrote: > Colin Law wrote in post #1181373: >> On 12 February 2016 at 23:37, Roy Royal wrote: >>> The requirements for my api is. >>> * at least json but preferably also xml >>> * sort resources on dates >>> *

[Rails] Re: Building xml/json api

2016-02-15 Thread Roy Royal
Colin Law wrote in post #1181373: > On 12 February 2016 at 23:37, Roy Royal wrote: >> The requirements for my api is. >> * at least json but preferably also xml >> * sort resources on dates >> * search for a resource in a http request >> * get resources belonging to a

[Rails] Re: How to get Rails Internal IP

2016-02-15 Thread Matt Jones
On Saturday, 13 February 2016 05:15:29 UTC-5, Ruby-Forum.com User wrote: > > I am using a Rails 4 application, when in production mode i am getting > same IP address for all the members of the same organisation. The > requirement is to get different IP address for each member so as to >

[Rails] Dynamic Data in Highcharts

2016-02-15 Thread John Sanderbeck
I have a chart page with 12 charts on it. Each chart is in a self contained partial. Each chart is a different group of data however the common filter is a date range which I pass into the partial. I implemented a jQRangeSlider to select the date range and pass that to the controller which in

[Rails] Associations with value passing

2016-02-15 Thread Szabolcs Toth
I have completely lost with this simple problem. I have two model, Post and Comment. I added the one-to_many associations. When I want to add a comment to a certain post I use this: <%= link_to 'Add comment', new_comment_path(id: post.id) %> In the comments_controller.rb I have def create