yashinbasement

Activity Graph

Page 1 of 3 | Next »

2016-02-27

[03:15:11] yashinbasement: has joined #RubyOnRails
[03:18:11] yashinbasement: Hi guys, I have a checkbox for each row in the view for Editor model, I want to select checked rows when a button is clicked and trigger a ruby method, but having trouble in accessing in ruby code ..as i have checked rows in js varible ..
[03:19:02] yashinbasement: is there any way I can access that js varible in ruby code without making ajax call

2016-02-07

[04:39:27] yashinbasement: has joined #RubyOnRails

2016-02-05

[22:55:10] yashinbasement: has joined #RubyOnRails
[23:00:56] yashinbasement: Read error: Connection reset by peer

2016-01-24

[05:49:32] yashinbasement: has joined #ruby
[05:49:32] yashinbasement: has joined #RubyOnRails
[12:08:46] yashinbasement: Ping timeout: 240 seconds

2016-01-12

[09:14:31] yashinbasement: has joined #RubyOnRails
[09:15:27] yashinbasement: Hey guys , Can I add other required commands , like seed, migrating,in one single command, for non tech person,
[09:30:23] yashinbasement: has left #RubyOnRails: ("Leaving")
[09:30:38] yashinbasement: has joined #RubyOnRails
[09:30:57] yashinbasement: has left #RubyOnRails: ("Leaving")
[09:31:04] yashinbasement: has joined #RubyOnRails
[10:02:21] yashinbasement: has joined #RubyOnRails
[10:04:46] yashinbasement: can I user some_var.hour somehow instead of 2.hour(just an example) in schedule.rb for whenever gem.
[10:05:22] yashinbasement: I want to update the update the schedule.rb from UI.
[10:16:35] yashinbasement: Ping timeout: 240 seconds
[10:17:34] yashinbasement: has joined #RubyOnRails

2016-01-10

[11:34:50] yashinbasement: has joined #RubyOnRails
[11:34:51] yashinbasement: has joined #ruby
[12:40:24] yashinbasement: Ping timeout: 264 seconds
[19:32:20] yashinbasement: has joined #ruby
[19:32:21] yashinbasement: has joined #RubyOnRails

2016-01-09

[03:45:52] yashinbasement: hi how do I make a link that request itself with different params

2016-01-08

[23:21:11] yashinbasement: has joined #RubyOnRails

2016-01-06

[11:02:03] yashinbasement: has joined #RubyOnRails
[11:02:04] yashinbasement: has joined #ruby
[13:17:20] yashinbasement: Ping timeout: 260 seconds
[19:13:40] yashinbasement: has joined #RubyOnRails
[19:13:40] yashinbasement: has joined #ruby
[19:18:22] yashinbasement: Ping timeout: 272 seconds
[19:42:27] yashinbasement: has joined #RubyOnRails
[19:42:27] yashinbasement: has joined #ruby
[20:56:35] yashinbasement: Ping timeout: 264 seconds

2016-01-05

[09:09:27] yashinbasement: has joined #RubyOnRails

2016-01-03

[09:08:50] yashinbasement: has joined #RubyOnRails
[09:12:09] yashinbasement: Hi I have a question about whenever gem, I have schedule file (content is on https://gist.github.com/ynarwal/8689719a99517897f8f1 ) which is just printing a line every 3 second
[09:12:34] yashinbasement: but when I do whenever -i , it writes a line only once in the file
[09:12:55] yashinbasement: I thought it will write every 3 second !
[09:16:35] yashinbasement: Can any one please explain why it's not writing in the file every 3 seconds
[09:20:09] yashinbasement: :vedu no it's not
[09:21:26] yashinbasement: My doubt is whenever is not triggering the job
[09:21:35] yashinbasement: it does only once when I do
[09:21:59] yashinbasement: I did but the same thing
[09:24:30] yashinbasement: matthewd what's the right way to initiate a job :)
[09:28:04] yashinbasement: I don't the prob by comparing the docs , do you see any prob matthewd ?
[10:52:36] yashinbasement: Hi there, I want to have a dropdown , and depending on which option is selected it will fetch the data from database , what's the best way to approach it
[11:09:16] yashinbasement: my home page has a link which is handled by another controller , how should I pass some object (some record) to other controller
[11:12:15] yashinbasement: yes can you give me any related link , that would be awesome
[11:13:24] yashinbasement: adding id to url, as controller normally gets params what in the model,
[11:16:19] yashinbasement: ahh cool, so we create a route accorind to that,

2015-12-31

[00:07:26] yashinbasement: has joined #RubyOnRails
[00:09:41] yashinbasement: Hi there, I have a view with data in form of table which we can say records, I have a diff module file which has one to many relationship with records, I want to have a dropdown on the view with file names and filter the table with file name , what's the best way to approach it

2015-12-30

[06:13:58] yashinbasement: has joined #RubyOnRails
[06:16:50] yashinbasement: Hi , I was downloading a file from a file and saving that file on local machine(outside of rails app /home/usr/Document/files" , when the downloading done then it gave me following exception
[06:16:52] yashinbasement: Encoding::UndefinedConversionError: "\xAA" from ASCII-8BIT to UTF-8
[06:17:10] yashinbasement: is that the issue that i am writing outside rails app
[06:19:03] yashinbasement: sorry rhizome , I was trying to say Hi , I was downloading a file from a website and saving that file on local machine(outside of rails app /home/usr/Document/files" , when the downloading done then it gave me following exception

2015-12-28

[08:54:09] yashinbasement: has joined #ruby
[08:54:09] yashinbasement: has joined #RubyOnRails
[10:18:54] yashinbasement: Ping timeout: 255 seconds

2015-12-24

[01:44:26] yashinbasement: has joined #RubyOnRails
[01:45:39] yashinbasement: Hi guys, I am using a custom js file , when I load that page javascript being load but when I access that page with links , it's not being load , any suggestion
[01:45:58] yashinbasement: I tried to override the method , no progress
[01:53:35] yashinbasement: I put this in js folder, when I refresh the corresponding page it works ,
[01:53:45] yashinbasement: but with the link it does not
[01:53:58] yashinbasement: I believe so , I think page is not being load with links
[01:54:39] yashinbasement: what's the best fix mate for this pontiki
[01:55:32] yashinbasement: but they are here to make app efficient
[01:57:51] yashinbasement: i don't load the script explicitly should I ?
[01:58:27] yashinbasement: I did the thing in application.js /=require custom.js
[01:58:37] yashinbasement: but it did not make any difference
[02:34:34] yashinbasement: Read error: Connection reset by peer

2015-12-23

[00:40:58] yashinbasement: has joined #RubyOnRails
[00:41:51] yashinbasement: Hi I pushed a rails app from linux box to github, when I pulled it on mac, there is no data in database, any comment !
[00:44:00] yashinbasement: so it does not transfer the database , but when I pulled in the same machine in different folder data was there
[00:48:17] yashinbasement: here is one more question I am having , how to convert ztime ( http://www.theweatherprediction.com/basic/ztime/ ) to localtime
[02:12:45] yashinbasement: Hi can any one tell how to use utc_to_local method to convert time
[02:13:19] yashinbasement: i have a model called DayFile which has a date field
[02:13:38] yashinbasement: I want to convert that date field to local time
[02:15:56] yashinbasement: rails store date in UTC
[02:18:18] yashinbasement: VeryBewitching, what's the member in the gist,
[02:18:49] yashinbasement: so what does that function do actually
[02:19:13] yashinbasement: the set_user_tz
[02:19:44] yashinbasement: is that wrong in doing , as you said before DayFile.date.localtime
[02:32:15] yashinbasement: yeah thanks VeryBewitching
[03:14:45] yashinbasement: Remote host closed the connection
[21:15:05] yashinbasement: has joined #ruby
[21:15:05] yashinbasement: has joined #RubyOnRails

2015-12-20

[04:01:34] yashinbasement: has joined #RubyOnRails
[04:01:35] yashinbasement: has joined #ruby
[04:12:26] yashinbasement: Hi I have a rails app running on amazon server, can I access in my browser with public ip

2015-12-19

[14:34:14] yashinbasement: has joined #RubyOnRails
[14:34:15] yashinbasement: has joined #ruby
[14:36:14] yashinbasement: Hey guys , I am gonna downloads few files on daily basis from a websites if it's been updated, so my question should I keep them in rails app,or should I keep them in a local directory , I also need to save that file in the app backend.
[14:41:54] yashinbasement: that's cool , thanks uberjar
[14:43:56] yashinbasement: Unable to locate package aws-cli
[14:54:40] yashinbasement: sweet, thanks elaptics

2015-12-18

[23:21:17] yashinbasement: has joined #ruby
[23:21:17] yashinbasement: has joined #RubyOnRails

2015-12-17

[10:32:51] yashinbasement: has joined #ruby
[10:32:51] yashinbasement: has joined #RubyOnRails
[10:33:43] yashinbasement: Hi there people, what's the best place to put rails app on ubuntu server :)
[10:35:35] yashinbasement: I saw this link, and the suggestion was to put the app in a folder named /srv , any comment ?

2015-12-14

[11:21:34] yashinbasement: has joined #ruby
[11:21:34] yashinbasement: has joined #RubyOnRails
[11:23:42] yashinbasement: Hi I want to create a table in my rails app, Examples http://markcell.github.io/jquery-tabledit/#examples can anyone guide what's the best gem or approach to do this (jquery and rails)
[13:25:20] yashinbasement: Ping timeout: 256 seconds

2015-12-12

[01:11:53] yashinbasement: has joined #RubyOnRails
[01:13:18] yashinbasement: Hi I have installed a gem called rb-grib http://www.rubydoc.info/gems/rb-grib/0.2.2 , but when I try to use this gem in a ruby script, It gives me error for the first and second line
[01:13:30] yashinbasement: first line require 'numru/grib'
[01:13:53] yashinbasement: second line include NumRu
[01:14:21] yashinbasement: can any one guide me what I need to load to use that gem
[01:14:45] yashinbasement: you can also see the example code on the mentioned link
[01:14:52] yashinbasement: http://www.rubydoc.info/gems/rb-grib/0.2.2
[01:17:25] yashinbasement: https://gist.github.com/ynarwal/7ee43ddba79dff184943
[01:18:11] yashinbasement: :creature please have a look
[01:25:42] yashinbasement: hey i useed sudo and it's running like a charm :)
[01:26:04] yashinbasement: but wondering what should I use in rails app
[01:26:22] yashinbasement: because I want to use to use this gem in rails
[01:55:05] yashinbasement: can any one tell me how to use sudo command in rails, as I installed a rb-grib gem and outside of rails app I ran a script to use that gem, but it need sudo access : sudo ruby parser.rb, but what about rails , what should I use for same script
[01:58:12] yashinbasement: yes I need yeah root access
[06:08:43] yashinbasement: has joined #ruby
[06:08:43] yashinbasement: has joined #RubyOnRails
[06:14:01] yashinbasement: hi I want to use amazon host service for my application and I want to access that server(Ubuntu) thourugh window machine. Can any one suggest any better program on window to access linux ubuntu server
[09:17:13] yashinbasement: duderonomy: rhizome: , thanks guys
[10:12:12] yashinbasement: Hey guys how can I have desktop version of linux server (desktop version) , any guide
[10:12:35] yashinbasement: as I said before I am using amazon service
[10:13:04] yashinbasement: and I am using Windows to access that server

2015-12-06

[05:59:57] yashinbasement: has joined #ruby
[05:59:57] yashinbasement: has joined #RubyOnRails
[06:00:59] yashinbasement: HI people can any one guide me what's the best way to read .grib2 files in rails
[06:06:37] yashinbasement: yeah I tried for days to get around to the existing gem , but It always has a problem with the installation and worst part is there is not much help
[06:06:50] yashinbasement: out there for the existing gems
[06:07:18] yashinbasement: But I was thinking If someone has expereince and I need to some advice also in this thinking
[06:08:10] yashinbasement: I was thinking that I can read file with python script as there are good lib to read such files and somehow I need that result in my rails app
[06:08:34] yashinbasement: what's the best way to do so!
[06:17:34] yashinbasement: no I am downloading them from a website
[06:18:28] yashinbasement: and you are right, it would be easy to read json or csv but I am not aware of ruby or python program that does that , in fact I reseached that earlier
[06:44:59] yashinbasement: yes you are rught it's used for storing data in matrix format
[19:25:25] yashinbasement: has joined #RubyOnRails
[19:25:26] yashinbasement: has joined #ruby
[20:34:50] yashinbasement: Ping timeout: 246 seconds
[20:36:54] yashinbasement: has joined #RubyOnRails
[20:36:54] yashinbasement: has joined #ruby

2015-12-05

[21:56:44] yashinbasement: has joined #RubyOnRails
[22:01:52] yashinbasement: Hi guys I am trying to use ruby in rails app to read .grib2 files (because I struggled to find any docs which can help me in using rubygrib gem ), so now I am using a gem called "rubypython" but when I use this by doing RubyPython.start(:python_exe => "python 2.7.10"), it gives me following error => RubyPython::InvalidInterpreter: An invalid interpreter was specified. Any suggestion will be appreciated.
[22:02:47] yashinbasement: Hey sorry First line is I am trying to use python in rails app

2015-12-03

[11:04:25] yashinbasement: has joined #RubyOnRails
[19:12:10] yashinbasement: has joined #RubyOnRails
[19:14:40] yashinbasement: Hi I am using a gem gribr , but when I try to use this gem in rails by doing require "gribr", it gives me file can not be loaded
[19:19:03] yashinbasement: I installed this gem after long struggle that's not linked to gem command, by doing sudo apt-get install ruby-grib
[19:23:28] yashinbasement: so how should I use the gem ruby-grib in my app!
[19:24:05] yashinbasement: I installed with ubunutu package sudo apt-get install ruby-grib
[19:24:50] yashinbasement: whenever I try to use this it gives me oh I can't load such file (require "ruby-grib")
[19:27:05] yashinbasement: hmm , this gem is not properly linked to gem package ,I m afraid
[19:28:19] yashinbasement: I tried for hours to install the gem with the guidelines gives to me on its homepage but it always gives me an exception
[19:29:19] yashinbasement: saying you need to install grib_api first, but there is no way to intstll grib_api(failed several times)
[19:30:10] yashinbasement: is any one able to install this gem with gem command , maybe it operating system issue ?
[19:30:31] yashinbasement: because this gem does not have much support out there
[19:30:57] yashinbasement: and this is the only gem I can use to read .grib2 files
[19:31:58] yashinbasement: I appreciate if someone can give some guidelines to read such file with a gem that can be installed
[19:32:10] yashinbasement: with gem command so that I can use in my rails app

2015-11-29

[09:00:55] yashinbasement: has joined #RubyOnRails
[09:03:28] yashinbasement: Hi guys, I am having an issue while installing a gem called rb-grib on Ubuntu 15.04, in order to install this gem we need to install grib_api , when I install this api I always get an error grib_api could not be found. Has anyone had installed this gem before and had the same experience , really looking forward to seek some help.

2015-11-24

[05:20:43] yashinbasement: has joined #RubyOnRails
[05:21:21] yashinbasement: Hi sorry for asking sql question but is any one able to look into it if I ask ?
[05:21:23] yashinbasement: https://gist.github.com/ynarwal/51242693d01bd0ded685

2015-11-19

[09:00:26] yashinbasement: has joined #RubyOnRails
[09:00:26] yashinbasement: has joined #ruby
[12:02:45] yashinbasement: Ping timeout: 244 seconds
[18:55:56] yashinbasement: has joined #RubyOnRails
[18:55:56] yashinbasement: has joined #ruby

2015-11-18

[10:02:48] yashinbasement: has joined #ruby
[10:02:48] yashinbasement: has joined #RubyOnRails
[11:43:56] yashinbasement: Ping timeout: 250 seconds
[17:40:29] yashinbasement: has joined #RubyOnRails
[17:40:29] yashinbasement: has joined #ruby
[17:45:11] yashinbasement: Ping timeout: 264 seconds
[20:06:35] yashinbasement: has joined #RubyOnRails
[20:06:35] yashinbasement: has joined #ruby
[20:49:10] yashinbasement: Ping timeout: 240 seconds

2015-11-09

[06:58:44] yashinbasement: has joined #ruby
[06:58:44] yashinbasement: has joined #RubyOnRails

2015-11-06

[08:06:32] yashinbasement: has joined #RubyOnRails
[08:06:33] yashinbasement: has joined #ruby
[08:27:39] yashinbasement: has left #RubyOnRails: ("Leaving")
[08:27:47] yashinbasement: has joined #RubyOnRails
[13:02:48] yashinbasement: Ping timeout: 246 seconds

2015-10-31

[22:45:07] yashinbasement: has joined #ruby
[22:45:07] yashinbasement: has joined #RubyOnRails

2015-10-29

[04:25:40] yashinbasement: has joined #ruby
[04:25:40] yashinbasement: has joined #RubyOnRails
[06:09:11] yashinbasement: Ping timeout: 265 seconds
[09:00:57] yashinbasement: has joined #RubyOnRails
[09:00:57] yashinbasement: has joined #ruby

2015-10-27

[05:47:09] yashinbasement: Ping timeout: 268 seconds
[09:12:38] yashinbasement: has joined #RubyOnRails
[09:12:38] yashinbasement: has joined #ruby
[12:17:47] yashinbasement: Ping timeout: 265 seconds
[20:21:15] yashinbasement: has joined #RubyOnRails
[20:21:15] yashinbasement: has joined #ruby
[21:50:24] yashinbasement: Ping timeout: 268 seconds
[21:59:12] yashinbasement: has joined #RubyOnRails
[21:59:12] yashinbasement: has joined #ruby
[21:59:14] yashinbasement: Max SendQ exceeded
[21:59:42] yashinbasement: has joined #RubyOnRails
[21:59:42] yashinbasement: has joined #ruby

2015-10-26

[20:27:03] yashinbasement: has joined #RubyOnRails