srruby

Activity Graph

Page 1 of 2 | Next »

2019-03-21

[20:11:29] srruby: has joined #RubyOnRails
[20:13:55] srruby: In a controller index method, I have code like: CustomerMachine.joins([:customer,:machine]).order('customers.name,machines.name')
[20:14:30] srruby: Should I refactor that into a method on the model class?
[21:21:25] srruby: Ping timeout: 244 seconds
[23:14:33] srruby: has joined #RubyOnRails
[23:16:12] srruby: Remote host closed the connection

2019-03-04

[04:04:49] srruby: has joined #RubyOnRails
[04:05:38] srruby: For a rails app that only has a few hundred users, is it necessary to put the db on its own server?
[04:19:21] srruby: Radar: Thanks.
[05:41:00] srruby: Ping timeout: 250 seconds
[15:41:00] srruby: has joined #RubyOnRails
[15:44:59] srruby: Remote host closed the connection
[15:46:59] srruby: has joined #RubyOnRails
[19:22:19] srruby: Remote host closed the connection
[19:22:31] srruby: has joined #RubyOnRails
[21:31:16] srruby: Remote host closed the connection
[21:31:36] srruby: has joined #RubyOnRails
[21:34:14] srruby: My client has an app withA
[21:34:22] srruby: Remote host closed the connection

2019-02-27

[00:24:45] srruby: Remote host closed the connection

2019-02-26

[21:36:24] srruby: subject is unfortunate... They should use plain ruby instead of creating a lisp-like dsl

2019-02-22

[00:08:42] srruby: has joined #RubyOnRails
[00:09:08] srruby: delayed_job: Does delayed job start a new rails instance when it runs?
[07:47:25] srruby: Read error: Connection reset by peer

2019-02-13

[02:54:43] srruby: has joined #RubyOnRails
[02:55:21] srruby: Are people still using passenger+nginx for production? Any other typical approaches?
[05:40:57] srruby: Remote host closed the connection

2019-02-12

[04:50:06] srruby: has joined #RubyOnRails
[04:51:18] srruby: delayed job/rails 5/debian 9: How do I start it automatically when the server restarts? cronjob, init.d script ??
[09:24:50] srruby: Ping timeout: 250 seconds

2019-01-09

[06:25:32] srruby: Remote host closed the connection

2019-01-08

[23:46:50] srruby: has joined #RubyOnRails
[23:47:26] srruby: How are people setting environment variables these days? I'm setting up a production Rails 5 app on Debian 9 ?

2018-12-29

[00:20:51] srruby: has joined #RubyOnRails
[00:21:48] srruby: In Rails5.1 the system tests will save a screenshot of a failed test at tmp/screenshots/ Is there a way to change the path ?
[01:31:38] srruby: Quit: Leaving

2018-12-15

[00:53:18] srruby: has joined #RubyOnRails
[00:53:31] srruby: respond_with_json_errors invalid.record
[00:53:31] srruby: rescue ActiveRecord::RecordInvalid => invalid
[00:53:31] srruby: render json: {}
[00:53:31] srruby: @participant.save!
[00:54:12] srruby: Is using rescue here considered harmful ?
[10:35:12] srruby: Quit: Leaving

2018-12-06

[07:38:51] srruby: Quit: Leaving

2018-12-05

[20:16:33] srruby: has joined #RubyOnRails
[20:16:47] srruby: Is it OK to use slim ? Thanks, John
[20:28:59] srruby: tubbo: Thanks

2018-12-02

[18:10:32] srruby: has joined #RubyOnRails
[18:24:11] srruby: Remote host closed the connection

2018-11-30

[00:41:39] srruby: has joined #RubyOnRails
[00:44:41] srruby: I'm working on a fairly large Rails3.2 project with no tests... I'd like to upgrade to rails 5. The code is of poor quality... I'm thinking to write a moderately complete test suite for the current 3.2 codebase before starting the migration... Does that sound reasonable?
[01:08:47] srruby: capybara is the same, right ?
[01:09:00] srruby: cnk: Thanks.
[01:11:55] srruby: I'm thinking capybara/rspec and test/unit will carry over well enough...
[01:20:43] srruby: cnk: Or I can upgrade to 5.1 and then start writing tests.
[01:21:22] srruby: cnk: Hack away at it in 5.1
[01:24:43] srruby: cnk: This one is complex.
[01:35:40] srruby: cnk: Yep. Been there.
[05:18:59] srruby: Remote host closed the connection

2018-11-27

[00:00:02] srruby: I want to run Rails system tests on my server. Do I have to install google-chrome as well as chromedriver ?
[02:10:51] srruby: Remote host closed the connection

2018-11-26

[23:59:03] srruby: has joined #RubyOnRails

2018-11-15

[18:27:50] srruby: has joined #RubyOnRails
[19:20:38] srruby: dev/test/staging/production - Should I use one Linode(server) for each rails enviornment ?
[23:31:41] srruby: Quit: Leaving

2018-10-04

[03:19:48] srruby: has joined #RubyOnRails
[03:20:49] srruby: Is there a way to speed up tests by keeping Rails up ?
[05:59:38] srruby: Ping timeout: 252 seconds

2018-10-03

[05:51:37] srruby: has joined #RubyOnRails
[05:51:56] srruby: Is there a way to keep rails running so that running tests is faster?
[07:29:26] srruby: Ping timeout: 260 seconds

2018-09-18

[02:50:11] srruby: has joined #RubyOnRails
[03:42:15] srruby: Quit: Leaving

2018-09-15

[00:48:56] srruby: has joined #RubyOnRails
[02:11:18] srruby: Ping timeout: 245 seconds
[05:41:09] srruby: has joined #RubyOnRails
[05:45:47] srruby: Client Quit

2018-09-14

[16:02:42] srruby: has joined #RubyOnRails
[16:05:17] srruby: Any thoughts on engineyard? Is there a big advantage of heroku or engineyard over my own vps? I'm starting a project that is paying hundreds per month for engineyard for a rails server that gets only moderate use
[16:57:22] srruby: Ping timeout: 272 seconds

2018-09-06

[00:09:38] srruby: Ping timeout: 245 seconds

2018-09-05

[22:55:19] srruby: has joined #RubyOnRails
[22:58:13] srruby: has joined #ruby
[22:58:28] srruby: I just started a project that is still on ruby 1.9.3. I'm running the latest debian (Buster) and was unable to install ruby 1.9.3p551 I do have a server that is running debian wheezy and I am able to install ruby 1.9.3 on my server. Anyone know how to get 1.9.3 on my debian buster machine? I guess I can create a docker image if I need to...

2018-08-31

[01:21:43] srruby: Ping timeout: 245 seconds
[01:37:15] srruby: has joined #RubyOnRails
[01:38:02] srruby: Client Quit

2018-08-30

[22:47:39] srruby: has joined #RubyOnRails
[22:48:21] srruby: Question about rates: For remote RoR work, what might the $ range be ? I am in need of some consulting hours so I thought I might come in on the low end.
[22:57:31] srruby: 50$ an hour?
[23:03:10] srruby: Remote host closed the connection
[23:35:18] srruby: has joined #RubyOnRails

2018-07-11

[00:47:44] srruby: has joined #RubyOnRails
[05:18:25] srruby: Quit: Leaving

2018-06-28

[00:05:26] srruby: Remote host closed the connection

2018-06-27

[22:27:18] srruby: has joined #RubyOnRails
[22:29:08] srruby: I'm on Rails5.0. I've got rspec configured with capybara to run feature specs and open firefox when it runs them. Is there a way I can get firefox to run in a background window? When the tests are running I can't do anything else. I know I can install a headless browser but I'm finding the configuration tricky

2018-06-23

[05:10:12] srruby: has joined #RubyOnRails
[05:14:40] srruby: I'm working on a project that uses bootstrap. Do you see any drawback to using a special form-builder namely https://github.com/carloslopes/rails-bootstrap-forms
[06:10:57] srruby: Remote host closed the connection

2018-06-22

[06:16:08] srruby: has joined #RubyOnRails
[06:17:39] srruby: I'm working on a bootstrap form. Do you recommend using standard rails form_helpers to accomplish this?
[06:18:13] srruby: I've looked into simple_form and a gem called bootstrap_form but I'm beginning to think those are overkill
[07:42:59] srruby: Ping timeout: 256 seconds

2018-06-17

[03:09:55] srruby: Ping timeout: 260 seconds

2018-06-16

[21:15:40] srruby: has joined #RubyOnRails
[21:39:41] srruby: Rspec feature specs, Rails 5.0: I'm new to Rspec. I a method login_user(user) that logs in the user via capybara. Where would I put this method? spec_helper.rb ?
[21:40:15] srruby: -sorry- here without typo is my question: Rspec feature specs, Rails 5.0: I'm new to Rspec. I wrote a method login_user(user) that logs in the user via capybara. Where would I put this method? spec_helper.rb ?
[21:41:51] srruby: RSpec: Next question: Is it correct to call login_user before each expect section? I'm afraid of slowing down the tests

2018-06-12

[02:24:21] srruby: has joined #ruby
[02:24:44] srruby: rvm: Should I install it locally? This is on my laptop development machine.
[02:33:41] srruby: elomatreb: Thanks
[02:38:14] srruby: Remote host closed the connection
[02:50:53] srruby: has joined #ruby
[06:00:15] srruby: Quit: Leaving
[06:43:00] srruby: has joined #ruby
[07:16:29] srruby: Quit: Leaving

2018-06-08

[00:45:53] srruby: Ping timeout: 248 seconds

2018-06-07

[23:38:43] srruby: has joined #ruby
[23:39:58] srruby: Does every language have its own testing software tools? Is rspec used much outside the Ruby community?

2018-06-06

[23:24:49] srruby: has joined #ruby
[23:49:57] srruby: Quit: Leaving

2018-05-15

[05:06:38] srruby: has joined #RubyOnRails
[05:12:04] srruby: react-rails: I'm starting working on an existing project that is using the react-rails gem. There is a large existing codebase that uses redux. The package.json has lots of dependencies like babel, webpack etc. How do I compile the javascript ? How do I get code reloading in development ?
[07:08:37] srruby: Remote host closed the connection

2018-05-04

[22:02:35] srruby: has joined #RubyOnRails
[22:23:42] srruby: Quit: Leaving

2018-05-01

[02:07:54] srruby: Remote host closed the connection

2018-04-30

[20:31:20] srruby: has joined #RubyOnRails
[21:06:59] srruby: Ping timeout: 276 seconds
[22:27:09] srruby: has joined #RubyOnRails

2018-04-29

[06:27:40] srruby: Read error: Connection reset by peer
[06:28:21] srruby: has joined #RubyOnRails
[09:49:10] srruby: Quit: Leaving

2018-04-28

[19:40:19] srruby: has joined #RubyOnRails
[19:41:27] srruby: react.js: For a large app do you recommend separate rails apps for serving the api and a second rails app for serving web pages/react components/etc
[20:21:36] srruby: Remote host closed the connection
[21:22:01] srruby: has joined #RubyOnRails
[22:15:51] srruby: Ping timeout: 240 seconds
[23:28:42] srruby: has joined #RubyOnRails

2018-03-23

[02:27:53] srruby: has joined #RubyOnRails
[02:28:44] srruby: I am looking into agile tools. Is PivotalTracker still a viable choice? A recent project I worked on used JIRA
[02:28:59] srruby: I last used Pivotal in 2012
[03:41:31] srruby: Quit: Leaving

2018-03-07

[04:22:17] srruby: has joined #RubyOnRails
[04:23:57] srruby: A long time ago I built a few multi-tenant rails apps using Default Scope. They seem to work ok, but they have never really been tested with more than one tenant. Any thoughts ?
[05:35:52] srruby: Read error: Connection reset by peer
[05:36:01] srruby: has joined #RubyOnRails
[05:55:38] srruby: Quit: Leaving

2018-02-27

[22:41:59] srruby: has joined #RubyOnRails
[22:42:27] srruby: Upgrading from Rails3.2 I'm having problem with this nested include:
[22:43:00] srruby: :include => [{:check_point => :check_point_category}],
[22:45:15] srruby: Read error: Connection reset by peer
[22:45:28] srruby: has joined #RubyOnRails
[22:50:16] srruby: Ping timeout: 256 seconds
[22:50:42] srruby: has joined #RubyOnRails
[23:38:41] srruby: Read error: Connection reset by peer
[23:39:57] srruby: has joined #RubyOnRails
[23:44:47] srruby: Ping timeout: 256 seconds

2018-02-20

[02:14:35] srruby: Quit: Leaving

2018-02-19

[23:30:23] srruby: has joined #RubyOnRails

2018-02-18

[21:51:52] srruby: Read error: Connection reset by peer

2018-02-09

[00:27:35] srruby: Remote host closed the connection
[01:59:19] srruby: has joined #RubyOnRails
[02:01:47] srruby: Should I use rails 5.1 system tests ? I'm starting new development
[02:14:13] srruby: Rails5.1 has capybara integration
[03:19:01] srruby: Should my gems be configured to be installed in the vendor directory? Rails5.1
[06:43:04] srruby: Ping timeout: 256 seconds
[06:50:33] srruby: has joined #RubyOnRails
[07:16:00] srruby: Remote host closed the connection

2018-02-08

[05:23:10] srruby: has joined #RubyOnRails
[05:27:34] srruby: rvm wasn't initializing the ruby version when I opened a new window from within lxterminal. I solved this by putting cd . as the last line in .zshrc Not sure how I should have fixed it.
[06:05:24] srruby: Radar: Thanks
[08:29:31] srruby: Remote host closed the connection
[23:20:06] srruby: has joined #RubyOnRails

2018-02-07

[19:41:21] srruby: has joined #RubyOnRails
[19:42:25] srruby: I'm creating a new Rails5 project and I want to use scaffolding and bootstrap to generate views. It has been a few years since I've reviewed scaffolding. Any advice ?
[19:44:51] srruby: Inside: Which gems do you suggest?
[20:20:34] srruby: It has been a while... What is being used by professional rails developers for integration and unit testing these days?
[20:24:21] srruby: tcopeland: Thanks!
[20:56:10] srruby: Remote host closed the connection

2018-01-11

[00:52:47] srruby: Anyone using docker in production ?
[05:43:11] srruby: Remote host closed the connection

2018-01-10

[22:46:15] srruby: has joined #RubyOnRails
[22:46:34] srruby: Do I need to use passenger in production? I'm using nginx
[22:51:31] srruby: havenwood: Thanks

2018-01-09

[02:30:10] srruby: has joined #RubyOnRails
[06:01:55] srruby: Ping timeout: 260 seconds

2018-01-07

[02:43:45] srruby: has joined #RubyOnRails
[02:44:59] srruby: Anyone using docker for production rails apps? Any thoughts on passenger docker as a base image?
[02:45:54] srruby: Remote host closed the connection

2018-01-06

[10:26:19] srruby: has joined #RubyOnRails
[10:26:44] srruby: Anyone using docker with rails in production?
[16:23:02] srruby: Quit: Leaving

2017-12-27

[01:10:11] srruby: has joined #RubyOnRails
[01:48:32] srruby: Any regex experts? I'm getting a warning on this code, which was written in 2005: warning: character class has duplicated range: /[\/\s\*\.\-,;\/\\]+/
[01:53:48] srruby: thanks! nope I don't know. probably I went overboard when I wrote the regex!
[02:14:48] srruby: bacterial strain textual definitions
[02:15:42] srruby: Thanks pwnd_nsfw. I'll look into it later... I'm afraid to be yak shaving here.
[02:19:17] srruby: formally known as going down rat holes. HAHAHAHAH
[03:09:02] srruby: Quit: Leaving

2017-12-26

[07:22:03] srruby: has joined #RubyOnRails
[09:12:10] srruby: Quit: Leaving

2017-12-25

[17:07:04] srruby: has joined #RubyOnRails
[17:21:08] srruby: In my view I'm calling a method defined in one of my helpers. This method conflicts with one of my gems. How do I call my method and make sure it is using module ApplicationHelper
[18:48:01] srruby: Ping timeout: 256 seconds

2017-12-24

[02:45:06] srruby: has joined #RubyOnRails
[02:45:35] srruby: Should I avoid the asset pipeline? I'm upgrading a couple of rails3 apps
[05:55:30] srruby: Remote host closed the connection

2017-10-12

[00:03:43] srruby: docker: should I be using it for development and production ???
[00:50:23] srruby: Read error: Connection reset by peer
[00:50:45] srruby: has joined #RubyOnRails
[01:13:21] srruby: Remote host closed the connection

2017-10-11

[19:48:07] srruby: has joined #RubyOnRails
[19:49:58] srruby: docker: I'm starting an upgrade of a couple of rails 3 applications. I'm setting up my development environment. Should I consider using a docker container for development and possibly deployment? The old apps are running old versions of ruby and debian.
[19:51:21] srruby: long term support: The apps I am upgrading may very well live for 20-30 years (they are vertical market apps). Any advice on avoiding upgrade pains in the future?
[20:06:44] srruby: Quit: Leaving
[20:06:54] srruby: has joined #RubyOnRails

2017-09-27

[17:04:54] srruby: has joined #RubyOnRails
[17:06:03] srruby: I have 2 rails apps to upgrade from 3.2 to 5.1. Any advice? I'm thinking to create a new 5.1 project and slowly move the code into it.
[17:06:22] srruby: While running my tests of course.
[17:08:46] srruby: mathewd: What do you think of just creating a new project and moving the old code in slowly?
[17:22:57] srruby: mathewd: Thanks
[17:23:03] srruby: baweaver: Thanks
[18:08:47] srruby: Quit: Leaving

2016-05-08

[03:22:43] srruby: has joined #RubyOnRails
[05:22:08] srruby: Ping timeout: 276 seconds

2016-05-07

[16:33:53] srruby: has joined #RubyOnRails
[16:35:36] srruby: I'm upgrading a legacy app originally written in Rails2 which is on Rails3.2 . I'm upgrading it to 4.0 to start. Does it make sense to create a new rails4.0 app and copy the code over to the new app ?
[16:46:14] srruby: fox_mulder_cp: Yep. Thats why I'm upgrading from 3.2
[17:29:05] srruby: Ping timeout: 276 seconds

2016-03-12

[07:29:24] srruby: Quit: Leaving