mello

Activity Graph

Page 1 of 3 | Next »

2019-07-08

[10:13:07] mello: Remote host closed the connection

2019-06-14

[09:46:36] mello: has joined #ruby
[09:46:50] mello: has joined #RubyOnRails

2019-04-13

[17:32:37] mello: has joined #ruby
[17:32:43] mello: has joined #RubyOnRails
[19:05:47] mello: Ping timeout: 240 seconds
[19:06:02] mello: has joined #ruby
[20:08:19] mello: has joined #ruby

2019-04-12

[16:01:16] mello: has joined #ruby
[16:01:26] mello: has joined #RubyOnRails
[22:48:19] mello: Remote host closed the connection

2019-03-19

[13:44:22] mello: Remote host closed the connection

2019-03-14

[17:27:16] mello: has joined #ruby
[17:27:26] mello: has joined #RubyOnRails

2019-02-19

[12:30:43] mello: Remote host closed the connection
[15:23:41] mello: has joined #RubyOnRails
[15:24:14] mello: good afternoon, hope everyone is doing well
[15:27:02] mello: I have a issue i cant wrap my head around, im building a rails api and i need to implement some sort of permission, but the way it has to work is like this. the admin should be able form the client wich is written i angular, see the users and the check what routes tehy can access. But also be able to create roles dynamicly from the client
[15:57:49] mello: Quit: Lost terminal

2019-02-04

[19:31:25] mello: has joined #RubyOnRails
[19:35:28] mello: has joined #ruby

2018-12-14

[10:44:57] mello: has joined #ruby
[10:47:36] mello: Hey! Could i please get some help to convert this curl into ruby, im stuck on how to get the file from params. https://pastebin.com/qG6b4xCB
[10:50:19] mello: Hey! Could i please get some help to convert this curl into ruby, im stuck on how to get the file from params. https://gist.github.com/MelloHey/e18dfa14021774665922cf7a73169a39
[10:53:27] mello: phaul: yes, but isnt there away to do that curl in ruby as a proper post?
[10:55:15] mello: phaul: yes
[11:01:17] mello: al2o3-cr: yes thank you, i tried that and got a start but i dsoent support -F atm and thats where im stuck
[11:26:04] mello: trying that
[11:26:16] mello: the continue was mean for byebug :)
[14:59:12] mello: Ping timeout: 250 seconds

2018-12-13

[11:07:14] mello: has joined #RubyOnRails
[11:08:58] mello: hey, im using HttParty and im trying to do a POST with a file. But i cant get it to work, if i d a byebug i can se that the file is there but its not beeing sent in the post. Is there something i need to do in the body for it to be added.
[13:21:00] mello: anyone have a minute help me solve why i cant get a file sent in my rails api with post
[13:21:29] mello: i get either this error undefined method `bytesize' for #<StringIO:0x00007f9bd04dae18>
[13:21:59] mello: or this one "#<NoMethodError: undefined method `bytesize' for #<ActionDispatch::Http::UploadedFile:0x00007f9bd2201b40>>"
[13:22:52] mello: if i do file.to_s the server dont get the file. dont know what to do to make it work
[13:27:18] mello: tbuehlmann: ok, what does that mean? how do i solve it
[13:29:22] mello: tbuehlmann: i mean what do i need to be able to post the file?, my rails api is a gateway so im just taking tha params and post them to the backend where its going to get saved
[13:31:22] mello: https://pastebin.com/QQDC7CHF
[13:35:08] mello: sevenseacat: that the thing i get the "#<NoMethodError: undefined method `bytesize' for #<ActionDispatch::Http::UploadedFile:0x00007f9bd2201b40>>"
[13:36:11] mello: sevenseacat: then im sorry i dont understand your question
[13:38:58] mello: https://pastebin.com/caWWdm53
[13:41:49] mello: multipart: true,
[13:46:55] mello: thats what it says in the edior, but i get error on 141 now and that is: post_data = HTTParty.post(ENV["baseUrl"] + "attachment",
[14:59:51] mello: Ping timeout: 244 seconds

2018-11-01

[08:28:02] mello: has joined #RubyOnRails
[09:05:56] mello: Ping timeout: 260 seconds

2018-09-15

[17:33:04] mello: has joined #RubyOnRails
[18:37:27] mello: Ping timeout: 240 seconds

2018-09-07

[12:16:26] mello: has joined #RubyOnRails
[12:19:12] mello: hey, ive been looking for a way to put my rails web api in production as a docker image, and just curios if anyone has found a nice article or tutorial on how to best do that. I found alot of tutorials that explains the process for a whole RoR app regarding the views and all and im not on what i only would need to use for a web api app.
[14:30:33] mello: Ping timeout: 252 seconds

2018-09-06

[12:19:16] mello: has joined #RubyOnRails
[12:19:28] mello: has joined #ruby
[12:54:24] mello: Ping timeout: 252 seconds

2018-02-21

[08:52:41] mello: has joined #ruby
[09:57:04] mello: has joined #ruby

2018-02-20

[10:00:51] mello: has joined #RubyOnRails
[10:01:00] mello: has joined #ruby
[13:32:21] mello: Ping timeout: 256 seconds

2018-02-16

[08:21:21] mello: has joined #ruby

2017-11-19

[12:53:46] mello: Quit: Lost terminal

2017-11-16

[20:19:05] mello: has joined #RubyOnRails
[20:19:45] mello: evening guys/gals hows it going, anyone here has any experience with Htt
[20:20:02] mello: httparty* gem
[20:20:48] mello: im tryin to do a post with token based authentication but im having a hard time figuring out how to do it with httparty

2017-10-26

[09:39:58] mello: Remote host closed the connection

2017-10-23

[12:07:01] mello: has joined #ruby
[12:07:10] mello: has joined #RubyOnRails

2017-04-07

[14:08:58] mello: Remote host closed the connection

2017-04-04

[17:31:04] mello: has joined #RubyOnRails
[17:31:11] mello: has joined #ruby

2017-03-14

[17:50:08] mello: Remote host closed the connection

2017-03-13

[15:55:51] mello: has joined #RubyOnRails
[15:55:57] mello: has joined #ruby

2016-07-14

[01:30:01] mello: Read error: Connection reset by peer

2016-07-12

[16:26:12] mello: Ping timeout: 260 seconds
[16:28:30] mello: has joined #ruby
[16:28:30] mello: has joined #RubyOnRails

2016-07-11

[13:06:12] mello: i would like to not show activity for current_user if the activity is for the current_user and only show activity for other users, tried this way, it it wont show the activity but it still displays the a tag on the menu. https://gist.github.com/MelloHey/2d836f2044eb03bcd7ffb4dada28cd52
[13:28:15] mello: anyone has an idea on how to solve it?
[13:34:30] mello: jeromelanteri: the thing is i dont want the the a tag to be shown for the user making the activity only for users that have not made an activity
[13:37:47] mello: jeromelanteri: ok let me try and explain again, so when a user post something thats an activity, but i dont want the user posting to see his own activity, only to see activitys for others users. does that make sense for you?
[13:38:23] mello: so if i post soemthing you shoudl see it as an activity but not me and if u post somehting i should see it but not you
[13:39:09] mello: and it almost works except that the a tag get displyed, but it dosent hsow any activity i want it to not show the a tag aswell
[13:40:05] mello: jeromelanteri: the activity ideletion is on the user, user has the option to delete activitys that are shown
[13:41:00] mello: jeromelanteri: dont know why i would need that? this is just a view problem where i want to hide the <a> tag if the activity is for the current_user
[13:49:30] mello: jeromelanteri: im a bit confused to be honest
[13:50:00] mello: i was hoping on a simple solution for just hideng a html element
[13:53:23] mello: jeromelanteri: ok, will look on that
[13:57:12] mello: jeromelanteri: thanx for your help and time

2016-07-07

[19:58:50] mello: has joined #RubyOnRails
[19:58:55] mello: has joined #ruby
[20:54:23] mello: is there a way to make like an onclick event that triggers a rails action?
[21:28:51] mello: cnk: problem is that the the destroy call triggers every time even if i dont press the link, but if i do a basi alert "hi" that only triggers when i press the link

2016-07-04

[00:49:06] mello: Ping timeout: 244 seconds
[00:56:27] mello: has joined #ruby
[00:56:27] mello: has joined #RubyOnRails
[01:34:26] mello: Ping timeout: 258 seconds
[01:43:21] mello: has joined #ruby
[01:43:21] mello: has joined #RubyOnRails
[12:34:44] mello: Remote host closed the connection

2016-07-03

[15:53:22] mello: Remote host closed the connection
[17:35:42] mello: has joined #RubyOnRails
[17:35:49] mello: has joined #ruby

2016-06-30

[09:40:37] mello: Remote host closed the connection
[11:28:09] mello: has joined #RubyOnRails
[11:28:19] mello: has joined #ruby
[17:42:46] mello: Remote host closed the connection
[17:47:59] mello: has joined #RubyOnRails
[17:48:05] mello: has joined #ruby

2016-06-27

[00:01:44] mello: Remote host closed the connection
[22:33:39] mello: has joined #RubyOnRails
[22:33:46] mello: has joined #ruby

2016-06-24

[15:52:57] mello: shoes, VR with glade is great

2016-06-22

[11:05:10] mello: Remote host closed the connection
[11:26:57] mello: has joined #RubyOnRails
[11:27:03] mello: has joined #ruby

2016-06-21

[21:32:35] mello: has joined #RubyOnRails
[21:34:58] mello: has joined #ruby
[22:58:29] mello: yourmancj: u need to do this first https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
[23:00:29] mello: yourmancj: its a process but its a good thing, you will learn alot and you get a better understadning of how things work
[23:02:09] mello: u got shell access on ur godaddy server?
[23:02:34] mello: well then go for it
[23:05:53] mello: yourmancj: if u need to setup ruby and rails il recommend this guide https://gorails.com/setup/ubuntu/
[23:11:55] mello: yourmancj: follow those 2 digitalocean tuts and ul have it up and runnig in no time

2016-06-19

[13:47:19] mello: has joined #RubyOnRails
[13:47:38] mello: has joined #ruby
[19:06:30] mello: Ping timeout: 250 seconds

2016-06-15

[01:30:08] mello: Read error: Connection reset by peer

2016-06-14

[20:59:04] mello: has joined #RubyOnRails
[21:00:38] mello: hey, im using act_as_commentable_with_threading and was wondering is it possible to add comments to a post that are shown in the index view? Im trying to figure out how to achive this without the need to do find params id

2016-06-12

[16:55:07] mello: Remote host closed the connection

2016-06-11

[13:55:16] mello: has joined #RubyOnRails
[13:55:31] mello: has joined #ruby

2016-06-03

[16:22:55] mello: Quit: Lost terminal

2016-06-02

[15:26:11] mello: has joined #RubyOnRails
[15:26:27] mello: has joined #ruby

2015-09-28

[14:20:28] mello: Quit: Lost terminal

2015-09-26

[21:46:18] mello: has joined #RubyOnRails
[21:46:31] mello: has joined #ruby

2015-07-31

[13:21:50] mello: Quit: Lost terminal

2015-07-27

[05:32:18] mello: has joined #ruby
[05:32:18] mello: has joined #RubyOnRails

2015-07-01

[08:51:21] mello: Ping timeout: 252 seconds

2015-06-21

[00:04:21] mello: Ping timeout: 252 seconds
[00:05:53] mello: has joined #ruby
[00:05:53] mello: has joined #RubyOnRails

2015-06-20

[23:33:13] mello: has joined #ruby
[23:33:13] mello: has joined #RubyOnRails

2015-06-17

[16:45:10] mello: *.net *.split

2015-06-16

[12:53:41] mello: has joined #ruby
[12:53:41] mello: has joined #RubyOnRails

2015-06-10

[00:54:17] mello: has joined #RubyOnRails
[00:54:17] mello: has joined #ruby
[00:54:17] mello: Changing host
[00:54:17] mello: has joined #ruby
[00:54:17] mello: has joined #RubyOnRails
[00:58:47] mello: Ping timeout: 265 seconds
[02:43:02] mello: has joined #ruby
[02:43:02] mello: has joined #RubyOnRails
[02:47:49] mello: Ping timeout: 264 seconds
[04:31:53] mello: has joined #RubyOnRails
[04:31:53] mello: has joined #ruby
[04:31:53] mello: Changing host
[04:31:53] mello: has joined #ruby
[04:31:53] mello: has joined #RubyOnRails
[04:36:46] mello: Ping timeout: 265 seconds
[06:20:33] mello: has joined #ruby
[06:20:33] mello: has joined #RubyOnRails
[06:25:11] mello: Ping timeout: 250 seconds
[08:09:21] mello: has joined #RubyOnRails
[08:09:21] mello: has joined #ruby
[08:09:21] mello: Changing host
[08:09:21] mello: has joined #ruby
[08:09:21] mello: has joined #RubyOnRails
[08:14:09] mello: Ping timeout: 264 seconds
[09:58:05] mello: has joined #ruby
[09:58:05] mello: has joined #RubyOnRails
[10:02:19] mello: Ping timeout: 245 seconds
[11:47:02] mello: has joined #RubyOnRails
[11:47:02] mello: has joined #ruby
[11:47:02] mello: Changing host
[11:47:02] mello: has joined #ruby
[11:47:02] mello: has joined #RubyOnRails
[11:51:29] mello: Ping timeout: 244 seconds
[13:35:45] mello: has joined #RubyOnRails
[13:35:45] mello: has joined #ruby
[13:35:45] mello: Changing host
[13:35:45] mello: has joined #ruby
[13:35:45] mello: has joined #RubyOnRails
[13:40:02] mello: Ping timeout: 246 seconds
[15:21:31] mello: has joined #RubyOnRails
[15:21:31] mello: has joined #ruby
[15:21:31] mello: Changing host
[15:21:31] mello: has joined #ruby
[15:21:31] mello: has joined #RubyOnRails
[15:26:04] mello: Ping timeout: 245 seconds
[17:10:15] mello: has joined #RubyOnRails
[17:10:15] mello: has joined #ruby
[17:10:15] mello: Changing host
[17:10:15] mello: has joined #ruby
[17:10:15] mello: has joined #RubyOnRails
[17:14:36] mello: Ping timeout: 256 seconds
[17:44:51] mello: has joined #ruby
[17:44:51] mello: has joined #RubyOnRails
[19:39:09] mello: Quit: Lost terminal

2015-06-09

[07:01:56] mello: has joined #RubyOnRails
[07:01:56] mello: has joined #ruby
[07:01:56] mello: Changing host
[07:01:56] mello: has joined #ruby
[07:06:43] mello: Ping timeout: 255 seconds
[08:17:40] mello: has joined #ruby
[08:17:40] mello: has joined #RubyOnRails
[08:21:54] mello: Ping timeout: 245 seconds
[10:06:30] mello: has joined #ruby
[10:06:30] mello: has joined #RubyOnRails
[10:11:19] mello: Ping timeout: 265 seconds
[11:55:17] mello: has joined #ruby
[11:55:17] mello: has joined #RubyOnRails
[12:00:08] mello: Ping timeout: 265 seconds
[13:41:00] mello: has joined #ruby
[13:41:00] mello: has joined #RubyOnRails
[13:45:14] mello: Ping timeout: 245 seconds
[15:29:57] mello: has joined #ruby
[15:29:57] mello: has joined #RubyOnRails
[15:35:00] mello: Ping timeout: 276 seconds
[16:45:35] mello: has joined #ruby
[16:45:35] mello: has joined #RubyOnRails
[16:50:20] mello: Ping timeout: 256 seconds
[18:11:57] mello: has joined #ruby
[18:11:57] mello: has joined #RubyOnRails
[20:20:52] mello: Ping timeout: 272 seconds
[21:16:30] mello: has joined #RubyOnRails
[21:16:31] mello: has joined #RubyOnRails
[21:16:31] mello: has joined #ruby
[21:16:31] mello: Changing host
[21:16:31] mello: has joined #ruby
[21:20:48] mello: Ping timeout: 252 seconds
[23:05:36] mello: has joined #RubyOnRails
[23:05:36] mello: has joined #ruby
[23:05:36] mello: Changing host
[23:05:36] mello: has joined #ruby
[23:05:36] mello: has joined #RubyOnRails
[23:10:00] mello: Ping timeout: 256 seconds