romeoh_

Activity Graph

Page 1 of 1

2017-05-23

[08:12:02] romeoh_: has joined #ruby
[08:12:02] romeoh_: has joined #RubyOnRails
[18:59:12] romeoh_: Remote host closed the connection
[19:03:17] romeoh_: has joined #ruby
[19:03:17] romeoh_: has joined #RubyOnRails
[22:43:53] romeoh_: Remote host closed the connection

2017-05-18

[11:36:24] romeoh_: has joined #ruby
[11:36:24] romeoh_: has joined #RubyOnRails
[19:17:04] romeoh_: Ping timeout: 260 seconds

2017-05-08

[00:14:31] romeoh_: has joined #ruby
[00:14:31] romeoh_: has joined #RubyOnRails
[00:39:11] romeoh_: Remote host closed the connection
[01:49:28] romeoh_: has joined #RubyOnRails
[01:49:29] romeoh_: has joined #ruby
[02:35:33] romeoh_: Remote host closed the connection

2017-05-06

[01:56:40] romeoh_: has joined #RubyOnRails
[02:15:54] romeoh_: i'm trying to pass my title_tag translation my query params, but I'd like to remove `reverse_` from the :order and am having a difficult time. http://rubyfiddle.com/riddles/1cad6
[02:53:20] romeoh_: has joined #ruby
[03:02:41] romeoh_: looking for a way to convert a Symbol to a string, replace a substring, and then convert back to a symbol. I've got this working, seems terrible:
[03:02:44] romeoh_: @title_args[:order] = "#{@title_args[:order]}".sub!(/reverse_/, '').to_sym
[03:04:27] romeoh_: thanks - new to all this. Jumped on a project and they are appending the queries to page titles
[03:04:35] romeoh_: problem is when they are sorting, there is a reverse options
[03:04:55] romeoh_: and the values for these queries don't exist in translations
[03:05:14] romeoh_: sort_by_name, sort_by_reverse_name
[03:05:48] romeoh_: i've taken the project to learn more, so maybe I'll suggest a revamping of this area
[03:05:58] romeoh_: eventually
[03:06:51] romeoh_: another option is adding all those additional values to the translations
[03:10:13] romeoh_: http://rubyfiddle.com/riddles/a3161/2 is what I'm looking @
[03:10:37] romeoh_: titles are passed something like: {:by=>"reverse_updated_at", :type=>:observation, :order=>:sort_by_reverse_updated_at}
[03:10:54] romeoh_: that's fed into the translation @title_tag.t()
[03:11:16] romeoh_: so something like: query_title_all_by: "[TYPES] by [ORDER]"
[03:16:45] romeoh_: yeah, I think so man
[03:16:55] romeoh_: @title_tag is like a base for the page title
[03:17:12] romeoh_: it looks in the localization locale for query_title_all which is: "[TYPE] Index"
[03:17:32] romeoh_: but this is a HUGE and old codebase
[03:18:38] romeoh_: I appreciate your feedback, I'm new to Rails.
[03:18:45] romeoh_: been using the opportunity to pick apart everyting
[03:23:10] romeoh_: Sounds good, I will take note and talk to the others. I really appreciate it.
[03:23:14] romeoh_: This is just a volunteer project I jumped on for fun pretty recently. Been digging at it in when my workflow is light.
[03:23:27] romeoh_: It's pretty neat and about a decade old.
[03:23:34] romeoh_: Started as a hobby project, it's open source.
[03:23:43] romeoh_: Hobby project for the original dude.
[03:29:01] romeoh_: Yeah, I'm seeing that fragility first hand. This app is pretty big, I'm digging around everywhere trying to find the relevant code. A lot of this stuff is probably not where is should be located either.
[03:29:20] romeoh_: It's cool the site involves scientific classification so there is a rad complexity to it
[03:29:44] romeoh_: for other side projects i've been using mostly node
[03:30:00] romeoh_: but I always had a fascination w/ Rails
[03:31:41] romeoh_: Yeah I've got to venture out more
[03:31:48] romeoh_: I work as a freelance front end dev, but would like to transition over to more of a back end role.
[03:35:53] romeoh_: yeah, or any framework
[03:45:07] romeoh_: time to build a Roulette game ;D
[03:54:48] romeoh_: Remote host closed the connection
[17:04:26] romeoh_: has joined #ruby
[17:04:26] romeoh_: has joined #RubyOnRails
[19:24:03] romeoh_: Remote host closed the connection

2017-05-04

[03:03:23] romeoh_: has joined #RubyOnRails
[03:49:27] romeoh_: Ping timeout: 240 seconds
[12:05:27] romeoh_: has joined #RubyOnRails

2017-05-02

[02:18:48] romeoh_: has joined #RubyOnRails
[02:25:58] romeoh_: Ping timeout: 276 seconds

2017-04-27

[14:41:14] romeoh_: has joined #RubyOnRails
[18:54:32] romeoh_: Remote host closed the connection

2017-04-26

[00:31:16] romeoh_: has joined #RubyOnRails
[22:57:30] romeoh_: Remote host closed the connection

2017-04-25

[01:29:47] romeoh_: has joined #RubyOnRails
[03:17:38] romeoh_: Remote host closed the connection
[12:03:43] romeoh_: has joined #RubyOnRails
[14:07:23] romeoh_: Ping timeout: 268 seconds

2017-04-23

[02:11:40] romeoh_: has joined #RubyOnRails
[13:20:20] romeoh_: Remote host closed the connection

2017-04-12

[16:16:47] romeoh_: has joined #RubyOnRails
[17:30:14] romeoh_: Remote host closed the connection

2017-04-11

[03:36:35] romeoh_: has joined #RubyOnRails
[03:43:44] romeoh_: Remote host closed the connection
[15:18:28] romeoh_: has joined #RubyOnRails
[18:34:41] romeoh_: Ping timeout: 240 seconds

2017-04-06

[13:42:58] romeoh_: has joined #RubyOnRails
[15:29:45] romeoh_: Ping timeout: 264 seconds

2017-04-03

[22:31:33] romeoh_: has joined #RubyOnRails