freeworld has quit [Quit: Konversation terminated!]
walez has joined #ruby
goldfish has joined #ruby
Rounin has joined #ruby
<willist>
adam12: Hm, i uninstalled all my gems and let Rubymine download the debug gem. No luck. One place it happens is during a class member assignment e.g., "@socket = socket" (socket of type Socket).
TomyWork has joined #ruby
gggpkm has quit [Remote host closed the connection]
gggpkm has joined #ruby
terminalpusher has joined #ruby
<isene>
adam12: Fixed dependency. Thanks for the guidance.
gggpkm has quit [Remote host closed the connection]
gggpkm has joined #ruby
gggpkm has quit [Remote host closed the connection]
postmodern has quit [Remote host closed the connection]
gr33n7007h has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
Oxfuxxx has joined #ruby
tbaeder has quit [Ping timeout: 260 seconds]
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
<rapha>
hmm
<rapha>
are there other forms of text classification systems the holy trinity of rule-based / machine-learning / hybrid?
<rapha>
than*
gggpkm has joined #ruby
burakaymakci has joined #ruby
<burakaymakci>
Hi, I've got a simple form however required fields are not marked with an asterisk
<burakaymakci>
I've got validates_presence_of for those fields
ollysmith has quit [Ping timeout: 264 seconds]
gggpkm has quit [Remote host closed the connection]
gggpkm has joined #ruby
bit4bit has joined #ruby
<adam12>
burakaymakci: Rails?
<rapha>
is there anything other than AR that uses "validates_presence_of" as a name? :)
<rapha>
oh wait, apparently a lot of things adopted that
JayDoubleu has quit [Ping timeout: 268 seconds]
r0bby has quit [Ping timeout: 268 seconds]
<adam12>
burakaymakci: Not sure you get that feature out of the box, at least if you're using something like <%= f.text_field %> or whatever the Rails helper is. Maybe with simple_form or similar?
psb has quit [Ping timeout: 246 seconds]
<adam12>
rapha: I have to ask, because at least it helps me base my thought process. Until we get way into the discussion and it's ActiveRecord + Sinatra + forme or something :P
pjlsergeant has quit [Ping timeout: 268 seconds]
JSharp has quit [Ping timeout: 260 seconds]
JayDoubleu has joined #ruby
r0bby has joined #ruby
pjlsergeant has joined #ruby
JSharp has joined #ruby
psb has joined #ruby
sharkee has joined #ruby
<burakaymakci>
adam12: Oh I actually had a css making it display none sorry
<burakaymakci>
It's just a huge project I don't know much about
<burakaymakci>
By the way how can I make it appear again with an inline css within haml maybe?
<burakaymakci>
I don't want to change the css file since that would probably change it everywhere
burakaymakci has quit [Quit: Lost terminal]
eddof13 has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
_ht has joined #ruby
walez has quit [Ping timeout: 252 seconds]
tbaeder has joined #ruby
tbaeder has quit [Ping timeout: 252 seconds]
gggpkm has quit [Ping timeout: 260 seconds]
fredlinhares has joined #ruby
ollysmith has joined #ruby
TomyWork has quit [Quit: Leaving]
fredlinhares has quit [Ping timeout: 252 seconds]
shark_MWF has joined #ruby
Oxfuxxx has quit [Ping timeout: 252 seconds]
sharkee has quit [Ping timeout: 265 seconds]
Oxfuxxx has joined #ruby
aisenp has joined #ruby
<aisenp>
Hi everyone i'm a bit confused with ruby binding i passed it to ERB to render partials and i have a class with a @dom variable so this class is recursively calling the render passing the binding and so ovewriting the @dom of the root and so my @dom.layout is not default anymore it's article so how can i prevent my binding to get messed when i do
<aisenp>
recursive calling on ERB template needing to passed my @dom ?
<adam12>
aisenp: Can you show some code?
<aisenp>
yes github.com/cedric-thomas/ruby-blog in the blog.rb file
Oxfuxxx has quit [Quit: Never underestimate the power of the butt....ON. (Playst...i mean.. Pir@tA$$)]
shark_MWF has quit [Remote host closed the connection]
<aisenp>
and so you'll see in the dist/index.html i have some <article> tags because it calling my article_preview.erb component in the partial and it creating some Page.new() witch is overwriting the @dom.layout properties of the parent
<adam12>
aisenp: What happens if you never use `@binding`, but just use `binding` in it's place everywhere.
<adam12>
I see the code, but without something reproducible or a stack trace, I essentially have to guess.
<aisenp>
same thing that what i does in my previous commit ^^
<aisenp>
yes i will try to write some code to see the addresses so we can debug
<adam12>
aisenp: Which line of that file is wrong?
sharkee has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Oxfuxxx has joined #ruby
<aisenp>
in the line before the last one it say layout is: article but it should not, it should be fault for index.erb
summerisle has quit [Quit: In my vision, I was on the veranda of a vast estate, a palazzo of some fantastic proportion.]
<adam12>
line #? 15?
<aisenp>
yup
Oxfuxxx has quit [Client Quit]
Oxfuxxx has joined #ruby
<aisenp>
maybe it's clearer on this one gist.github.com/Cedric-Thomas/7e73c2ee9ef7bcf99bd11cca0fa9bb85
<adam12>
aisenp: Sorry, I still dont' follow :| maybe show "layout is: XXX but expected it to be XXXX" to make it clearer. I have a meeting so I can't stick around but I'll look in later.
<aisenp>
ok thanks for your support @adam12 !
summerisle has joined #ruby
VoidNoir0 has joined #ruby
fredlinhares has joined #ruby
aisenp has quit [Quit: Client closed]
walez has joined #ruby
walez has quit [Remote host closed the connection]
fredlinhares has quit [Read error: Connection reset by peer]