C0r3

Activity Graph

Page 1 of 1

2016-02-26

[08:16:02] C0r3: has joined #RubyOnRails
[10:00:22] C0r3: Quit: leaving

2016-02-25

[14:25:44] C0r3: has joined #RubyOnRails
[14:27:09] C0r3: Client Quit
[14:27:24] C0r3: has joined #RubyOnRails
[14:50:38] C0r3: Quit: leaving
[14:50:56] C0r3: has joined #RubyOnRails
[15:28:48] C0r3: has left #RubyOnRails: ()
[15:29:12] C0r3: has joined #RubyOnRails
[15:29:37] C0r3: Client Quit
[18:25:44] C0r3: has joined #RubyOnRails
[18:25:44] C0r3: Changing host
[18:25:44] C0r3: has joined #RubyOnRails
[18:48:39] C0r3: Quit: leaving
[19:00:33] C0r3: has joined #RubyOnRails
[19:00:33] C0r3: Changing host
[19:00:33] C0r3: has joined #RubyOnRails
[19:18:05] C0r3: Quit: leaving
[19:24:52] C0r3: has joined #RubyOnRails
[22:01:06] C0r3: Quit: leaving

2016-02-02

[07:37:08] C0r3: has joined #RubyOnRails
[07:38:06] C0r3: Why the name ruby on rails and not rails on ruby???
[07:39:07] C0r3: baweaver: Okay... What's his nick by the way!
[07:39:51] C0r3: Any email id so that anyone can get in touch with him.
[07:40:13] C0r3: sevenseacat: Okay... Thank you!! :P
[07:50:54] C0r3: I just tweeted him asking why rails framework is called ruby on rails and not rails on ruby....
[07:51:15] C0r3: https://twitter.com/VijayKumarHackr/status/694426184206012416
[07:51:26] C0r3: Quit: leaving
[07:56:33] C0r3: has joined #RubyOnRails
[07:57:56] C0r3: And he replied!!
[10:10:25] C0r3: Quit: leaving

2016-01-20

[06:04:57] C0r3: has joined #RubyOnRails
[06:20:41] C0r3: Quit: Lost terminal

2016-01-16

[07:04:37] C0r3: has joined #RubyOnRails
[07:56:00] C0r3: Quit: leaving

2016-01-15

[14:43:27] C0r3: has joined #RubyOnRails
[14:46:41] C0r3: Guys, I have an app with `users` table and `items` table, and they have been polymorphically associated to `photos` table the database. I want to know, which is the best place (directory in app) to store the User and Item photos??
[14:50:03] C0r3: rvanlieshout: Yes! They are like profile photos. Every user and item can have only one photo each.
[14:50:54] C0r3: rvanlieshout: I'm wondering whether to create a new folder in the public directory for every new user who registers? Or shall I put them all in one place?
[14:52:39] C0r3: carrierwave?? Is it a gem? Sorry, I didn't hear that before, I'm new to rails. Can you please explain a bit about it?
[14:54:30] C0r3: I see... I'll check it out. I have some more questions.
[14:54:32] C0r3: rvanlieshout: Is there any nice gem that can handle the messaging system for my application??
[14:55:45] C0r3: rvanlieshout: Thank you so much.
[15:00:12] C0r3: Ping timeout: 264 seconds

2016-01-13

[06:06:56] C0r3: has joined #RubyOnRails
[06:08:02] C0r3: Hello everyone!
[06:11:41] C0r3: I have two tables, `users` and `items` namely, where Item model belongs to User model (many-to-one). I also have another join table `wishlists` to hold `user_id` and `item_id` (many-to-many). I wanted to know, is it possible to define a 'has_many' declaration with different name, so that I can access the wishlists of a corresponding user as follows: @users.items_in_wishlist
[06:14:20] C0r3: I have two tables, `users` and `items` namely, where Item model belongs to User model (many-to-one). I also have another join table `wishlists` to hold `user_id` and `item_id` (many-to-many). I wanted to know, is it possible to define a 'has_many' declaration with different name, so that I can access the wishlists of a corresponding user as follows: @users.items_in_wishlist
[06:22:02] C0r3: Ping timeout: 272 seconds
[15:23:55] C0r3: has joined #RubyOnRails
[15:29:14] C0r3: Ping timeout: 272 seconds
[16:00:03] C0r3: has joined #RubyOnRails
[16:04:55] C0r3: Ping timeout: 240 seconds
[16:11:32] C0r3: has joined #RubyOnRails
[16:17:27] C0r3: Ping timeout: 260 seconds
[16:17:57] C0r3: has joined #RubyOnRails
[16:30:03] C0r3: Ping timeout: 260 seconds
[16:41:14] C0r3: has joined #RubyOnRails
[16:46:02] C0r3: Ping timeout: 276 seconds
[16:52:10] C0r3: has joined #RubyOnRails
[16:57:11] C0r3: Ping timeout: 264 seconds

2016-01-10

[08:05:11] C0r3: has joined #RubyOnRails
[08:06:00] C0r3: Hey guys, I need a quick help. I have a `photos` table which is used by both `users` table and `items` table. The rails terms say, "Given entity x and entity y, if entity y belongs to entity x, then table y has a field
[08:07:08] C0r3: called x_id". But in my case, the tables `users` and `items` contain the field `photo_id`. How am I supposed to deal with this situation?
[08:09:02] C0r3: Hey guys, I need a quick help. I have a `photos` table which is used by both `users` table and `items` table. The rails terms say, "Given entity x and entity y, if entity y belongs to entity x, then table y has a field called x_id". In my case, photos belong to users and items but the tables `users` and `items` contain the field `photo_id`. How am I supposed to deal with this situation?
[08:09:49] C0r3: Cohedrin: Sorry, but the first time I didn't complete my question.
[08:11:42] C0r3: Cohedrin: Actually, every item has one photo and every user also has only one photo. This way, I presume, that photo belongs to item or a user.
[08:14:13] C0r3: I think so, I have used something like that in Laravel. Let me have a look at it.
[08:19:44] C0r3: Cohedrin: That was what I was looking for. Thanks for your prompt response!! :)
[08:24:40] C0r3: Quit: Bye! And Thanks Cohedrin

2016-01-09

[06:22:16] C0r3: has joined #RubyOnRails
[06:22:43] C0r3: Is there an enum type available for migrations in rails?? If not how to manage such data?
[06:31:16] C0r3: Quit: leaving

2016-01-08

[05:31:19] C0r3: has joined #RubyOnRails
[05:33:58] C0r3: I want to create a rails app, where in there is a user system but I want to use two different tables for storing user data. One will be for storing data which will be used for logging in and another table which will hold the profile data. Is there any way that I can access a single object will all the attributes (login table and profiles table included) from both the tables?
[05:44:10] C0r3: sudo apt-get install auto-answering-system
[06:14:46] C0r3: Radar: Because, the login data will be accessed only when a user logins and the profile data when the user is using the app. That way, if the traffic is very high then it will not affect the user log in.
[06:19:29] C0r3: Radar: Have a look at this: http://programmers.stackexchange.com/questions/241089/keep-user-and-user-profile-in-different-tables
[07:20:32] C0r3: Can anybody please answer question?? Can we have a single model for two different tables without any common attributes???
[07:24:37] C0r3: rvanlieshout: I have separated user login data and profile data in two different tables. Can't I have a single model to access both the data?
[07:30:53] C0r3: Quit: leaving

2016-01-07

[05:34:12] C0r3: has joined #RubyOnRails
[05:41:40] C0r3: Ping timeout: 256 seconds

2016-01-05

[03:59:48] C0r3: has joined #RubyOnRails
[03:59:52] C0r3: Hey guys... I have used 'rails new something -d mysql' command to create a new rails project but my prompt isn't back and taking a lot of time..?? Does 'rails new' command has to download any dependancies from internet??
[04:15:30] C0r3: has left #RubyOnRails: ()

2015-11-10

[13:18:55] C0r3: has joined #ruby
[14:26:35] C0r3: Ping timeout: 264 seconds
[14:26:45] C0r3: has joined #ruby
[14:44:24] C0r3: Quit: leaving

2015-11-09

[07:10:44] C0r3: has joined #ruby
[07:11:30] C0r3: I just don't understand what is Ruby MRI?? I looked up the Wikipedia page yet have no idea what is it about?? How is it different from Ruby??
[07:18:26] C0r3: Ox0dea: Can you please help me with my question?
[07:19:30] C0r3: Ox0dea: If it is the same then why call it Ruby MRI?
[07:21:32] C0r3: Ox0dea: Ruby is a scripting language, and it's interpreter is written in C.
[07:22:54] C0r3: Ox0dea: Can you help me understand?
[07:24:38] C0r3: Ox0dea: I need to understand what is a reference implementation. Any good links other than Wikipedia?
[07:33:27] C0r3: Ox0dea: Thanks.
[07:38:14] C0r3: Ox0dea: I see.
[07:38:43] C0r3: Ox0dea: If I plan to code walk the entire ruby source code then where should I start?
[07:48:30] C0r3: Ox0dea: I've never done something like that before.. I'm still learning things.
[07:49:48] C0r3: select, delete_if
[07:54:43] C0r3: Ox0dea: Thank u
[08:05:17] C0r3: Quit: leaving

2015-11-04

[18:51:43] C0r3: has joined #ruby
[18:52:03] C0r3: Which is the best hosting service for a portal built in Ruby on Rails?
[18:56:07] C0r3: centrx: But is there any suggestions... Like, if you were to host it then where would you host it?
[18:57:40] C0r3: centrx: Thank you!! I was looking at Heroku.
[18:58:58] C0r3: centrx: I'm really new to Ruby... I used to work on Laravel built in PHP. Now I want to build web apps in Ruby. I've heard of Rails but never used it. Did you ever use Laravel or any similar Framework??
[19:00:15] C0r3: centrx: Thank you...
[19:00:24] C0r3: has joined #RubyOnRails
[19:05:59] C0r3: has left #ruby: ()
[19:06:03] C0r3: has left #RubyOnRails: ()

2015-10-28

[06:52:05] C0r3: has joined #ruby
[06:52:15] C0r3: shevy: Hey!
[07:57:40] C0r3: Quit: leaving

2015-10-27

[19:53:34] C0r3: has joined #ruby
[19:54:54] C0r3: I have basic programming experience... By 'basic' I mean it literally and not the language 'BASIC'.. :P I have prior experience in PHP and now I wish to migrate to Ruby. Can anyone guide me the right way??
[19:56:44] C0r3: shevy: I used php for developing web apps. Also use a framework.
[19:57:26] C0r3: shevy: Can you please tell me any nice example tasks that can help me enhance my Ruby programming skills?
[19:59:32] C0r3: shevy: I don't even know what is IRB. I'll give a search..
[20:01:00] C0r3: Ox0dea: It seemed to me like some acronym.
[20:01:07] C0r3: shevy: Something like Python Interactive Shell.
[20:01:32] C0r3: shevy: I understood. I'll install it. Give me a minute.
[20:03:10] C0r3: shevy: Okay... Ox0dea: Alright!
[20:04:33] C0r3: shevy: Done!
[20:07:52] C0r3: shevy: Okay.. So I shall continue this tutorial till end?
[20:09:53] C0r3: shevy: That's your website?
[20:11:41] C0r3: shevy: The entire website is a single .rb file???
[20:12:10] C0r3: shevy: I can't believe..
[20:12:39] C0r3: Awesome!!
[20:13:43] C0r3: shevy: Hang on I'll make a note of all the recommendations...
[20:14:37] C0r3: shevy: Tell me more.
[20:15:24] C0r3: I'll check that. I noted it down.
[20:17:03] C0r3: Okay.. How much time should I expect to get a grip over Ruby? If I have 1 year of programming experience. And you can see my code at www.github.com/Qumonto/usersys
[20:17:55] C0r3: I feel the Ruby community is more friendly than the PHP community. Is it always like this?
[20:26:43] C0r3: shevy: Thanks for the info...
[20:27:19] C0r3: Quit: ZZzzZzZZzzzZZzzzz