lineus_ has quit [Remote host closed the connection]
lineus has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Axy has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
mossplix has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has quit [Ping timeout: 245 seconds]
fphilipe has joined #ruby
Bounga has joined #ruby
jenrzzz has joined #ruby
schne1der has joined #ruby
fphilipe has quit [Ping timeout: 265 seconds]
zlogan has joined #ruby
howdoi has joined #ruby
fphilipe has joined #ruby
cxl has joined #ruby
prestorium has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
suukim has joined #ruby
drincruz has quit [Read error: Connection reset by peer]
mossplix has quit [Remote host closed the connection]
uplime has joined #ruby
mossplix has joined #ruby
mossplix has quit [Ping timeout: 268 seconds]
deepredsky has joined #ruby
conta has quit [Remote host closed the connection]
conta has joined #ruby
kapil_ has quit [Quit: Connection closed for inactivity]
mossplix has joined #ruby
dionysus69 has quit [Quit: dionysus69]
mikecmpbll has joined #ruby
ellcs has joined #ruby
thrizian has joined #ruby
Fernando-Basso has joined #ruby
mossplix has quit [Ping timeout: 265 seconds]
mossplix has joined #ruby
leitz has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
lxsameer has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil_ has joined #ruby
im0nde_ is now known as im0nde
Mrbuck has joined #ruby
dasher00 has joined #ruby
TvL2386 has quit [Quit: leaving]
TvL2386 has joined #ruby
Mrbuck has quit [Ping timeout: 240 seconds]
mossplix has quit [Remote host closed the connection]
AJA4350 has joined #ruby
Mia has quit [Ping timeout: 276 seconds]
TzilTzal has quit [Remote host closed the connection]
akemhp_ has joined #ruby
drincruz has joined #ruby
akem__ has joined #ruby
akemhp has quit [Ping timeout: 268 seconds]
akemhp_ has quit [Ping timeout: 240 seconds]
Dylan_Ars has joined #ruby
Dylan_Ars has left #ruby ["Leaving"]
bsdband79 has quit [Ping timeout: 276 seconds]
salerace has joined #ruby
chalkmonster has joined #ruby
leitz has quit [Quit: Leaving]
TCZ has joined #ruby
CrazyEddy has joined #ruby
rpruby has joined #ruby
kreantos_ has joined #ruby
<rpruby>
Hey guys. Got a question. I have 3 classes & I have a main class. I want to have a method in the main class that instantiates objects of these 4 classes and call a method on them. But I want to disallow direct access to any of these 3 classes. (creating objects for them directly & calling any method on them is a no) How can I achieve this? Thanks
<rpruby>
in advance!
<rpruby>
of these 3 classes*
akemhp_ has joined #ruby
conta has quit [Quit: conta]
akem__ has quit [Ping timeout: 268 seconds]
kreantos_ has quit [Quit: WeeChat 1.4]
bsdbandit-01 has joined #ruby
deepredsky has quit [Quit: WeeChat 2.6]
infinityfye has joined #ruby
yann-kaelig has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
johnny56_ has quit [Quit: johnny56_]
CrazyEddy has joined #ruby
johnny56 has joined #ruby
rpruby has quit [Remote host closed the connection]
grilix has joined #ruby
fig-le-deunch has joined #ruby
jenrzzz has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
jenrzzz has quit [Ping timeout: 265 seconds]
conta1 has joined #ruby
fig-le-deunch has quit [Ping timeout: 240 seconds]
teclator_ has joined #ruby
fmccann has joined #ruby
jordanm has quit [Read error: Connection reset by peer]
jordanm has joined #ruby
mossplix has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
conta1 has quit [Ping timeout: 240 seconds]
fmccann has quit [Ping timeout: 245 seconds]
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
Esa_ has joined #ruby
infinityfye has quit [Remote host closed the connection]
TzilTzal has joined #ruby
Technodrome has joined #ruby
teclator_ is now known as teclator_office
Emmanuel_Chanel has joined #ruby
grilix has quit [Ping timeout: 246 seconds]
ablackack has quit [Ping timeout: 246 seconds]
thrizian has quit [Ping timeout: 268 seconds]
mossplix has quit [Remote host closed the connection]
Swyper has joined #ruby
ablackack has joined #ruby
mossplix has joined #ruby
conta1 has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
DTZUZO has joined #ruby
deepredsky has joined #ruby
TzilTzal has quit [Remote host closed the connection]
deepredsky has quit [Ping timeout: 265 seconds]
conta1 has quit [Read error: Connection reset by peer]
teclator_office has quit [Ping timeout: 250 seconds]
<ruby[bot]>
rpifan: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
TCZ has quit [Quit: Bye Bye]
<rpifan>
oh
mossplix has joined #ruby
TCZ has joined #ruby
cthulchu_ has joined #ruby
mossplix has quit [Remote host closed the connection]
haivron has quit [Quit: haivron]
<havenwood>
rpifan: Do you want that constraint ensuring there's a valid foreign key?
<havenwood>
rpifan: You can remove foreign key constraints you don't want.
<rpifan>
i just want to delet that user
<rpifan>
idk what exactly that means
<rpifan>
since im just using this app
<rpifan>
its zammad
mossplix has joined #ruby
<havenwood>
rpifan: There's a #created_by_id reference to another User id—that's the foreign key.
<havenwood>
rpifan: Tell them a foreign key constraint on created_by_id is preventing.
NODE has joined #ruby
<havenwood>
rpifan: They say in that ticket to remove or reassign any references. So here, you'd need to reassign. the created_by_id before deleting this person.
<NL3limin4t0r>
rpifan: Although deleteing the foreign key is certainly an option, I personally wouldn't recommend it. Check in you database whate reference the fk_rails_45307c95a3 foreign key validates, there might still be some records pointing to the user.
<rpifan>
so i would delete the records in mysql or the records in the main system
<rpifan>
i just purged all the tickets just in case
<rpifan>
and it still has that issue
Nicmavr has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
_phaul has quit [Ping timeout: 250 seconds]
troulouliou_dev has joined #ruby
<NL3limin4t0r>
rpifan: You can find out which table has issues with the deletion of a user with the following query: SELECT * FROM information_schema.table_constraints WHERE `CONSTRAINT_SCHEMA` = 'database name' AND `CONSTRAINT_NAME` = 'fk name'
<rpifan>
its ok i just wrote on the zammad support forum
_phaul has joined #ruby
<rpifan>
i really appreacite y'all help in gettin gme ot understand a littel bit more how this set up works. I'm not even sure how to log into the db as it was all setup by the zamad script
Mrbuck has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
<NL3limin4t0r>
k, I'll leave it to the zammad support then. Knowing you database credentials is kinda important though, since database access is useful in all sorts of scenarios.
_phaul has quit [Ping timeout: 268 seconds]
<rpifan>
yea thats true, i had hoped this owuld be a set it and forget it kind of deal but i see its not. At least it gives me something to work on when im bored at wokr
<rpifan>
well nice weekend y'all. i gotta come in to work tommorow to do redo the network rack
<rpifan>
oh well
<rpifan>
thanks
rpifan has quit [Quit: Leaving]
_phaul has joined #ruby
andikr has quit [Remote host closed the connection]
_phaul has quit [Ping timeout: 240 seconds]
_phaul has joined #ruby
cd has quit [Quit: cd]
_phaul has quit [Ping timeout: 246 seconds]
lucasb has joined #ruby
spacesuitdiver has joined #ruby
_phaul has joined #ruby
_phaul has quit [Ping timeout: 246 seconds]
akemhp_ has joined #ruby
cd has joined #ruby
_phaul has joined #ruby
nowhere_man has joined #ruby
akem__ has quit [Ping timeout: 265 seconds]
akemhp has joined #ruby
baojg has quit [Remote host closed the connection]
akemhp_ has quit [Ping timeout: 250 seconds]
baojg has joined #ruby
akemhp_ has joined #ruby
_phaul has quit [Ping timeout: 276 seconds]
TzilTzal has joined #ruby
akemhp has quit [Ping timeout: 268 seconds]
TzilTzal has quit [Remote host closed the connection]
_phaul has joined #ruby
NODE has quit [Quit: changing servers]
akemhp_ has quit [Read error: Connection reset by peer]
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]