charany1

Activity Graph

Page 1 of 1

2015-11-11

[17:52:08] charany1: has joined #ruby
[17:52:15] charany1: Client Quit

2015-11-10

[01:03:55] charany1: Ping timeout: 240 seconds
[02:32:56] charany1: has joined #ruby
[03:07:45] charany1: Ping timeout: 246 seconds

2015-11-09

[19:32:52] charany1: has joined #ruby
[19:34:36] charany1: hi I am getting undefined method `downcase' for nil:NilClass
[19:34:39] charany1: https://gist.github.com/charany1/c48092a2870f6e334bdb
[19:35:15] charany1: I have form field in which I expect user to enter a single character
[19:36:17] charany1: shevy , yes , you're right
[19:36:37] charany1: shevy , I checked only for nil.to_s which was giving ""

2015-11-03

[05:20:30] charany1: has joined #RubyOnRails
[05:20:58] charany1: has joined #ruby
[05:27:47] charany1: hi , I am getting upexpepected end-of-input error with my code : https://gist.github.com/charany1/f761c0f92dc894fa8fe8
[05:28:14] charany1: I have checked that there is a matching end for all do's
[05:28:39] charany1: can you please help me figure what's wrong with my code.
[05:31:17] charany1: hi , I am getting upexpepected end-of-input error with my code : https://gist.github.com/charany1/f761c0f92dc894fa8fe8
[05:31:29] charany1: I have checked that there is a matching end for all do's
[05:33:05] charany1: Ox0dea : thanks a lot ,I've used C and elif in python ,it solved.
[05:33:14] charany1: solved ^^^.
[08:22:10] charany1: Quit: Leaving
[16:23:36] charany1: has joined #ruby
[16:24:34] charany1: hi , I am getting unexpected tIdentifier error :https://gist.github.com/charany1/d0ac1846b9f757bf5fcd
[16:24:55] charany1: please help me in figuring out what's wrong with this ?
[16:25:04] charany1: https://gist.github.com/charany1/d0ac1846b9f757bf5fcd
[16:31:40] charany1: adaedra : can you please help me with this error ? https://gist.github.com/charany1/d0ac1846b9f757bf5fcd
[16:38:28] charany1: jhass : thanks , it solved !
[19:01:37] charany1: Ping timeout: 268 seconds
[19:02:04] charany1: has joined #ruby
[19:47:46] charany1: Ping timeout: 240 seconds
[19:48:17] charany1: has joined #ruby
[23:17:35] charany1: Ping timeout: 264 seconds

2015-11-02

[05:52:58] charany1: has joined #RubyOnRails
[05:53:35] charany1: hi , my localhost is taking too long to load , It was working fine previously , any idea ?
[05:56:00] charany1: actually I'm getting unknown mysql server host
[05:56:05] charany1: logs : https://gist.github.com/charany1/caa373edaf8af6534e72
[06:01:23] charany1: Ping timeout: 264 seconds

2015-11-01

[07:51:10] charany1: has joined #RubyOnRails
[07:54:52] charany1: Client Quit
[08:15:42] charany1: has joined #RubyOnRails
[08:18:49] charany1: hi , how can I conditionally define what parameters are passed to my show view from #show where condition depends on button pressed by user in my form ?
[08:19:17] charany1: controller : https://gist.github.com/charany1/d0815fd7fabf5e9f2dcd
[08:22:06] charany1: In above I want to send different message to show action depending on user pressed "Save" or "Submit" button , but I guess params[:commit] is not available in #show action and hence I can't use that for branching .
[08:22:26] charany1: Can you please help me with this ?
[08:25:18] charany1: rhizome : I am using them , to update and save
[08:32:17] charany1: rhizome : do you mean something like this : https://gist.github.com/charany1/d0815fd7fabf5e9f2dcd
[08:32:40] charany1: rhizome : please see create -> "Submit"
[10:44:40] charany1: hi , my console is no longer able to connect to my database : https://gist.github.com/charany1/206d229282757e63625c , it's giving unknown MySQL server host
[10:45:11] charany1: whereas I was able to access mysql server on AWS half an hour ago
[10:45:22] charany1: I didn't changed my database.yml also
[10:45:37] charany1: can you please help me with this ?
[10:51:25] charany1: Quit: Leaving

2015-10-31

[04:31:09] charany1: has joined #RubyOnRails
[04:35:49] charany1: Quit: Leaving
[18:21:57] charany1: has joined #RubyOnRails
[18:23:28] charany1: Hi , I'm getting missing tempalate error on update : http://www.fpaste.org/285599/46315688/ , even though I'm redirecting on successful update ,
[18:23:40] charany1: code : http://www.fpaste.org/285598/63156521/
[18:25:21] charany1: can you please help me with this ?
[18:26:37] charany1: arup_ : http://www.fpaste.org/285600/15942144/
[18:30:39] charany1: Ping timeout: 240 seconds
[18:43:08] charany1: has joined #RubyOnRails
[18:52:06] charany1: arup_ : not yet
[18:52:50] charany1: arup_ : and my router is giving some issues too.
[18:53:30] charany1: I've seen issues on SO , and most of them didn't redirected properly , however I've used redirect_to
[18:53:49] charany1: http://www.fpaste.org/285602/16319144/
[18:54:09] charany1: this is output I got in terminal
[18:54:20] charany1: is that what you need or something else ?
[18:59:11] charany1: arup_ : http://www.fpaste.org/285606/46317936/
[19:03:09] charany1: arup_ : http://www.fpaste.org/285607/46318132/ <= this is my code
[19:03:43] charany1: actually , I have two f.submit in form which are handled differently in code
[19:10:47] charany1: arup_ r: well , I haven't used any js anywhere in this , I am simply filling this form : http://picpaste.com/pics/screenshot_of_form-WS3zBHoY.1446318603.png
[19:11:38] charany1: yes , you were right , my request was HTML
[19:11:44] charany1: Started PATCH "/users/1/personal_informations/25" for 127.0.0.1 at 2015-11-01 00:30:01 +0530
[19:11:45] charany1: Processing by PersonalInformationsController#update as HTML
[19:14:43] charany1: arup_r : pardon , didn't get you
[19:16:00] charany1: arup_r : haha ..... habitual to fpaste ,
[19:21:53] charany1: arup_r : I don't find update in stacktrace , should I tell what where it is redirected to in update action ?
[19:28:53] charany1: arup_r : I restarted server and got these logs on terminal : http://www.fpaste.org/285609/31963814/
[19:30:12] charany1: arup_r : I have [new , show ,index , edit ].html.erb
[19:30:29] charany1: in personal_information's view
[19:35:23] charany1: arup_r : redirect_to user_personal_information_path is path to personal_information#show : http://www.fpaste.org/285612/46320092/
[19:40:44] charany1: arup_r ,VeryBewitching , rhizome , helpa : sure , from this moment , I'll use gist , bye fpaste !
[19:47:26] charany1: arup_r : thanks ,it solved the issue !
[19:49:19] charany1: arup_r : as rhizome , said , my @message variable is not showing in show , I think that before going to show view , control passes to personal_information#show action using which I'm sending @message to show view
[19:49:34] charany1: then , why is it not showing ?
[19:51:25] charany1: no , I'm setting @message in #update prior to redirect_to
[19:52:20] charany1: okay ,cool !
[20:36:17] charany1: Quit: Leaving
[23:04:25] charany1: has joined #RubyOnRails
[23:06:06] charany1: hi , I want to create forms in which next question to be presented to user will depend on value entered by user in current field , any idea how can I accomplish this in rails ?
[23:07:25] charany1: FailBit : hmm.... thanks , do you have link to any such blog or tutorial , I couldn't find one
[23:08:21] charany1: actually , I have never used js
[23:08:42] charany1: so , what do you think should be my approach
[23:10:26] charany1: FailBit : that's right , but I am asking regarding approach for creating form..... like should I create all form questions using rails form and then manipulate them using js ??
[23:12:03] charany1: FailBit : I have pretty less time , so can you tell me , what all js concepts should I learn to accomplish this much ?
[23:13:39] charany1: FailBit : pardon , didn't quite get you
[23:16:15] charany1: FailBit : yes , I agree with that approach !
[23:35:29] charany1: Quit: Leaving