hadifarnoud

Activity Graph

Page 1 of 4 | Next »

2019-07-08

[07:16:20] hadifarnoud: has joined #RubyOnRails
[08:42:10] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[09:03:54] hadifarnoud: has joined #RubyOnRails
[09:58:05] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[10:11:49] hadifarnoud: has joined #RubyOnRails
[10:33:11] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[11:26:03] hadifarnoud: has joined #RubyOnRails
[15:27:04] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[16:59:06] hadifarnoud: has joined #RubyOnRails
[17:15:00] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[17:24:18] hadifarnoud: has joined #RubyOnRails
[17:33:53] hadifarnoud: Ping timeout: 248 seconds

2019-06-22

[11:23:47] hadifarnoud: has joined #RubyOnRails
[11:43:47] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2019-02-25

[10:38:00] hadifarnoud: has joined #RubyOnRails
[11:45:02] hadifarnoud: Ping timeout: 245 seconds
[13:19:14] hadifarnoud: has joined #RubyOnRails
[13:20:50] hadifarnoud: Max SendQ exceeded

2019-02-20

[12:59:24] hadifarnoud: has joined #RubyOnRails
[13:15:53] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2019-01-29

[08:27:21] hadifarnoud: has joined #RubyOnRails
[08:38:26] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[08:44:51] hadifarnoud: has joined #RubyOnRails
[11:58:13] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com
[12:06:20] hadifarnoud: has joined #RubyOnRails
[12:15:16] hadifarnoud: Ping timeout: 244 seconds
[19:40:27] hadifarnoud: has joined #RubyOnRails
[19:58:02] hadifarnoud: Ping timeout: 272 seconds
[20:05:07] hadifarnoud: has joined #RubyOnRails
[20:32:38] hadifarnoud: Ping timeout: 250 seconds
[20:44:42] hadifarnoud: has joined #RubyOnRails
[21:12:06] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[21:12:59] hadifarnoud: has joined #RubyOnRails
[21:33:13] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2019-01-28

[12:02:40] hadifarnoud: has joined #RubyOnRails
[12:12:06] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com
[12:12:30] hadifarnoud: has joined #RubyOnRails
[13:46:37] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2019-01-26

[10:03:01] hadifarnoud: has joined #RubyOnRails
[17:27:13] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…

2019-01-02

[08:47:39] hadifarnoud: has joined #RubyOnRails
[10:49:49] hadifarnoud: Remote host closed the connection

2018-12-31

[17:44:22] hadifarnoud: has joined #RubyOnRails
[18:53:48] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[18:56:19] hadifarnoud: has joined #RubyOnRails
[19:09:09] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[20:44:54] hadifarnoud: has joined #RubyOnRails
[20:48:51] hadifarnoud: Remote host closed the connection

2018-12-22

[07:57:43] hadifarnoud: has joined #RubyOnRails
[07:58:00] hadifarnoud: Read error: Connection reset by peer
[10:31:23] hadifarnoud: has joined #RubyOnRails
[11:50:06] hadifarnoud: Remote host closed the connection

2018-12-12

[05:28:32] hadifarnoud: has joined #RubyOnRails
[05:32:30] hadifarnoud: has joined #RubyOnRails
[05:33:20] hadifarnoud: has joined #RubyOnRails
[05:34:17] hadifarnoud: has joined #RubyOnRails
[05:34:50] hadifarnoud: has joined #RubyOnRails
[10:39:23] hadifarnoud: has joined #RubyOnRails
[11:48:04] hadifarnoud: Remote host closed the connection
[12:06:03] hadifarnoud: has joined #RubyOnRails
[15:27:18] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2018-12-11

[14:06:00] hadifarnoud: has joined #RubyOnRails
[14:16:32] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[14:18:21] hadifarnoud: has joined #RubyOnRails
[14:28:01] hadifarnoud: Remote host closed the connection
[14:34:14] hadifarnoud: has joined #RubyOnRails
[15:30:41] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…

2018-12-10

[21:14:51] hadifarnoud: has joined #RubyOnRails
[21:51:40] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2018-11-12

[10:59:28] hadifarnoud: has joined #RubyOnRails
[11:22:44] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[12:18:17] hadifarnoud: has joined #RubyOnRails
[13:43:01] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[16:45:54] hadifarnoud: has joined #RubyOnRails
[16:58:17] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[17:03:12] hadifarnoud: has joined #RubyOnRails
[17:11:36] hadifarnoud: Remote host closed the connection

2018-11-11

[09:00:10] hadifarnoud: has joined #RubyOnRails
[10:02:41] hadifarnoud: Quit: Textual IRC Client: www.textualapp.com

2018-11-07

[15:47:13] hadifarnoud: has joined #RubyOnRails
[16:11:29] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[16:12:53] hadifarnoud: has joined #RubyOnRails
[16:13:43] hadifarnoud: has joined #RubyOnRails
[16:14:33] hadifarnoud: has joined #RubyOnRails

2018-11-06

[14:10:48] hadifarnoud: has joined #RubyOnRails
[15:22:49] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[15:24:05] hadifarnoud: has joined #RubyOnRails
[15:24:56] hadifarnoud: has joined #RubyOnRails
[20:42:40] hadifarnoud: has joined #RubyOnRails
[20:43:40] hadifarnoud: Max SendQ exceeded

2018-10-24

[07:28:22] hadifarnoud: has joined #RubyOnRails
[09:47:38] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…
[09:50:57] hadifarnoud: has joined #RubyOnRails
[10:01:28] hadifarnoud: has joined #RubyOnRails
[10:02:59] hadifarnoud: Max SendQ exceeded
[10:16:04] hadifarnoud: has joined #RubyOnRails
[16:08:22] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…

2018-10-23

[12:42:39] hadifarnoud: has joined #RubyOnRails
[14:55:49] hadifarnoud: Quit: My Mac has gone to sleep. ZZZzzz…

2018-10-09

[12:42:13] hadifarnoud: has joined #RubyOnRails
[12:43:34] hadifarnoud: there is a mysql2 gem in a project I'm trying to install. but when installing it run into ERROR: Error installing mysql2 Failed to build gem native extension
[12:43:52] hadifarnoud: I have mysql installed, why bundler don't just use that?
[12:45:33] hadifarnoud: I installed mysql using `brew install mysql` before and it works just fine.
[12:52:39] hadifarnoud: Ping timeout: 252 seconds
[13:03:48] hadifarnoud: has joined #RubyOnRails
[13:55:20] hadifarnoud: Remote host closed the connection
[15:13:50] hadifarnoud: has joined #RubyOnRails
[15:15:20] hadifarnoud: Max SendQ exceeded
[15:16:53] hadifarnoud: has joined #RubyOnRails
[15:57:16] hadifarnoud: Ping timeout: 260 seconds

2015-12-02

[09:05:24] hadifarnoud: has joined #RubyOnRails
[09:06:20] hadifarnoud: There is an app I want to add Persian language support. it uses TintMCE as editor and the settings are inside application.js > tinyMCE.init
[09:06:38] hadifarnoud: I can get the local by I18n.locale
[09:06:58] hadifarnoud: how can I set tinymce settings based on locale inside application.js?
[09:16:41] hadifarnoud: elaptics: the only thing different would be the language, directionality, and rtl ltr buttons. how can I change tinyMCE.init based on locale?
[09:17:04] hadifarnoud: elaptics:but init happened in application.js
[09:17:12] hadifarnoud: https://gist.github.com/hadifarnoud/ecfddee3a0c947f541b9#file-application-js-L6:L8
[09:19:26] hadifarnoud: Cork: don't know what csrf have to do with this. but as you see in my gist url, my init is different in application.js
[09:20:17] hadifarnoud: if I can have that bit set by a condition such as 'I18n.locale ', that bit would work.
[09:20:58] hadifarnoud: see my gist, highlighted lines are the ones I want to be there if 'I18n.locale' is 'fa'. just don't know how to do it in application.js
[09:22:19] hadifarnoud: oh. so you're saying I set local in there and retrieve it in application.js?
[09:23:11] hadifarnoud: cool. so, I do the rest by adding an if statement based on locale
[09:25:15] hadifarnoud: I still struggle with short if. how can I add 'fa' in addition to 'ar' here? <%= 'direction:rtl;' if [:ar].include?(I18n.locale)%>
[09:27:20] hadifarnoud: good to know. thanks
[09:43:48] hadifarnoud: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2015-05-18

[14:40:41] hadifarnoud: can you recommend some books?

2014-10-16

[17:04:19] hadifarnoud: how can I install a gem globally? I use rbenv
[17:05:00] hadifarnoud: "gem install compass" did not install it globally for me. terminal says command not found when I try "compass watch"
[17:22:26] hadifarnoud: havenwood: is there anything I should add to my PATH?
[17:24:10] hadifarnoud: havenwood: I don't know anything about chruby. you know how I can fix this?
[17:25:19] hadifarnoud: havenwood: oops. I had to do "rbenv rehash"
[17:27:40] hadifarnoud: havenwood: gem should do it automatically. seems stupid that I have to do it for every install
[17:28:07] hadifarnoud: :D looks like I have to havenwood
[17:29:19] hadifarnoud: havenwood: cool

2014-08-21

[21:15:48] hadifarnoud: this is driving me nuts! I did set secret_key_base in .bashrc file. 'printenv secret_key_base' confirms that. why am I still getting secret_key_base not set error
[21:18:25] hadifarnoud: mozzarella: what do you mean? my server is Passenger
[21:19:19] hadifarnoud: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
[21:19:23] hadifarnoud: bricker`work: ^
[21:19:45] hadifarnoud: in my bashrc, export SECRET_KEY_BASE=5735e5
[21:20:00] hadifarnoud: I thought you mean my secrets.yml
[21:20:46] hadifarnoud: bricker`work: but printenv shows me the value. I tried to use dotenv-deployment gem and set it all in .env but it doesn't work
[21:21:39] hadifarnoud: capin: I obviously don't want to do that mate. I have a public github repo
[21:22:14] hadifarnoud: bricker`work: with dotenv gem, how should I set it in .env file?
[21:22:41] hadifarnoud: capin: I did that too, but for some reason capistrano keeps deleting my file
[21:23:29] hadifarnoud: bricker`work: I haven't symlink it
[21:23:48] hadifarnoud: yes bricker`work
[21:25:34] hadifarnoud: bricker`work: cheers
[21:25:43] hadifarnoud: will try it now
[21:27:46] hadifarnoud: capin: oh thanks
[21:42:44] hadifarnoud: I have this random issue with images. http://persianpreneur.com/ it disappears despite being present on server. I dunno if it's my .gitignore fault or cloudflare
[21:44:15] hadifarnoud: also, I see no error log on nginx
[21:55:13] hadifarnoud: gizmore: I use capistrano. I assume it does it for me?
[21:56:24] hadifarnoud: gizmore: I run a rake task on server that adds some data to db and import some pictures. do I have to precompile again? (because capistrano does it with every deploy).

2014-08-20

[11:10:16] hadifarnoud: I followed this guide for setting up my server: https://gorails.com/deploy/ubuntu/14.04 now I can't run any rake task by 'root' or 'deploy' user via ssh. it says
[11:10:19] hadifarnoud: Run `$ bin/rake db:create db:migrate` to create your database
[11:10:19] hadifarnoud: ActiveRecord::NoDatabaseError: FATAL: role "deploy" does not
[11:10:39] hadifarnoud: despite having my db setup already
[11:13:57] hadifarnoud: workmad3: I do have the username setup there.
[11:15:09] hadifarnoud: workmad3: oh, I have to do it every time?
[11:15:16] hadifarnoud: did not know that
[11:15:57] hadifarnoud: so I add export RAILS_ENV=production to the end of my bashrc? workmad3
[11:18:06] hadifarnoud: nevermind. works fine :)

2014-08-19

[04:53:48] hadifarnoud: my server is not loading ENV from .env
[04:54:08] hadifarnoud: I do have dotenv-deployment installed
[08:12:06] hadifarnoud: how can I run a rake task with capistrano 3? it's a one-off task. I do not need to run it everytime I deploy
[10:41:27] hadifarnoud: how can I run a rake task with capistrano 3? it's a one-off task. I do not need to run it everytime I deploy.
[10:41:52] hadifarnoud: is there something like 'heroku run' for capistrano?
[12:04:11] hadifarnoud: how can I fix this? You have already activated rake 10.1.0, but your Gemfile requires rake 10.3.2. Prepending `bundle exec` to your command may solve this.
[12:04:55] hadifarnoud: rvanlieshout: I know. how can I fix this for ever?
[12:05:24] hadifarnoud: bundler is old version on my server?
[12:06:30] hadifarnoud: rvanlieshout: I wonder why is that though. since I have just one app on my server, updating bundler may solve it. correct?
[12:44:37] hadifarnoud: anyone used dotenv-deployment
[12:45:13] hadifarnoud: my ENV variables do not load from .env
[12:45:36] hadifarnoud: I do have set :linked_files, %w{config/database.yml .env} in deploy.rb (capistrano 3)
[12:49:48] hadifarnoud: this is my capistrano deploy.rb https://gist.github.com/210ba1f1ff7695e5f3a0.
[12:50:27] hadifarnoud: problem is, secret_key_base is not loading from .env file
[12:54:35] hadifarnoud: my .env file content should be something like SECRET_KEY_BASE=mysecret

2014-08-18

[20:18:46] hadifarnoud: can someone help me with capistrano? I see nginx default page. I have no idea where to look for issues
[20:34:31] hadifarnoud: can someone help me with nginx config for rails? I followed this tutorial https://gorails.com/deploy/ubuntu/14.04
[20:35:03] hadifarnoud: in /etc/nginx/sites-enabled/default, my root is /home/deploy/myapp/current/public
[20:35:08] hadifarnoud: that seems wrong
[20:36:21] hadifarnoud: workmad3: I see default nginx page though.
[20:37:12] hadifarnoud: workmad3: so, there might be something wrong somewhere else?
[20:39:30] hadifarnoud: do I have to rename 'default' to my domain?
[20:39:30] hadifarnoud: workmad3: as this tutorial said, I just edited the default site
[20:41:49] hadifarnoud: workmad3: I've done it. now default nginx page is gone. nothing is showing up now. I have two folder in /public, assets and system
[20:43:42] hadifarnoud: workmad3: I think my root should be different. the app must be serverd from somewhere
[20:51:21] hadifarnoud: did someone use nginx and passenger for a server setup?
[21:05:58] hadifarnoud: in config/secrets.yml, I have secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> for production. how can I set this?
[21:06:53] hadifarnoud: pipework: I forgot how to generate a random key
[21:32:44] hadifarnoud: how can I set my secret_key_base in production? I did put it in .env and I do have dotenv gem installed
[21:47:20] hadifarnoud: how can I check if ENV values are set from .env?

2014-08-16

[22:34:19] hadifarnoud: I want to build my own vps server. it's easy enough to do for php. However, for RoR, there is always something wrong with tuts I follow.
[22:34:36] hadifarnoud: did anyone build a RoR server here?
[22:34:54] hadifarnoud: PS: I cannot use heroku instead.
[22:35:39] hadifarnoud: yes capin. a RoR server on a VPS
[22:36:33] hadifarnoud: capin: cool. any good tutorial?
[22:36:42] hadifarnoud: thanks yza. I try that as well
[22:38:08] hadifarnoud: capin: Ubuntu 14.04
[22:38:42] hadifarnoud: yza: no, Rackspace
[22:39:05] hadifarnoud: capin: lol, of course you could
[22:39:30] hadifarnoud: capin: prefer nginx, but apache works just fine
[22:40:29] hadifarnoud: ok, so the server is passenger and apache is the proxy in this case
[22:41:46] hadifarnoud: capin: if you bare with me, I'll do it right now.
[22:41:57] hadifarnoud: will come back if I had any issues

2014-07-23

[12:26:29] hadifarnoud: hmnhf: can you upload images manually? without the task

2014-07-12

[08:48:55] hadifarnoud: there was a js datepicker in which it shows Year, I pick a year. then shows month, I pick a month. And then day. it was so easy to pick a date, compared to traditional datepicker. I can't seem to find it. anyone knows what I'm talking about?
[08:50:15] hadifarnoud: Amirh: I know. it was a gem I think.
[08:55:01] hadifarnoud: rapha: the one I'm talking about show you just years in first step, you click and then shows you just months, and finally day. in UX perspective, it's much faster and easier
[08:55:11] hadifarnoud: Amirh: nice to meet you
[08:58:09] hadifarnoud: rapha: :) already did. thought someone here might know
[09:19:41] hadifarnoud: any solution for using formtastic with zurb foundation?

2014-07-11

[09:34:15] hadifarnoud: how can I load dummy data into test database?
[11:34:39] hadifarnoud: how can I load dummy data into test database?
[11:35:17] hadifarnoud: rushed: can I somehow do it during migration of test database?
[11:36:04] hadifarnoud: why not rushed? that way everyone is using same db for testing
[11:36:10] hadifarnoud: I mean same data
[11:38:43] hadifarnoud: mikecmpbll: thanks. that looks easy enough for me
[11:39:22] hadifarnoud: I know, right
[12:49:58] hadifarnoud: I get app error: Missing `secret_key_base` for 'production' environment, but I did set it with heroku config:set SECRET_KEY_BASE=[secret]
[12:52:01] hadifarnoud: I think I am rushed. this is in my secrets.yml secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
[13:16:16] hadifarnoud: I get this on heroku -> app error: Missing `secret_key_base` for 'production' environment, but I did set it with heroku config:set SECRET_KEY_BASE=[secret]
[13:17:39] hadifarnoud: I've done heroku config:push too

2014-06-30

[09:03:20] hadifarnoud: sevenseacat: I don't want precompiled files to get into github
[09:03:37] hadifarnoud: it's annoying to see them popup everytime as uncommited changes
[09:04:00] hadifarnoud: :D sevenseacat. I shouldn't precompile
[09:04:16] hadifarnoud: thanks sevenseacat
[09:04:50] hadifarnoud: sevenseacat: I know. that's why I asked