Ruby and Rails developer. https://github.com/lulalala/

I also worked on XSLT, and have a hobby project written in C#.

Feb
4
awarded Popular Question
Feb
3
answered How do I get scrollbars to show in Mobile Safari?
Feb
3
comment How to get the scroll bar with CSS overflow on iOS
For the record, ::-webkit-scrollbar does not work for iPhone 4/iOS 7.
Feb
3
revised How to get the scroll bar with CSS overflow on iOS
update link
Feb
3
revised How do I get scrollbars to show in Mobile Safari?
added 69 characters in body
Jan
30
awarded Cleanup
Jan
26
awarded Student
Jan
25
awarded Good Answer
Jan
20
awarded Good Question
Jan
15
comment Best way to prevent returning last evaluated expression
Just wondering if the title is a bit misleading. Doesn't ruby implicitly return the last statement instead of the last expression?
Jan
14
comment override nested attributes in rails
May I ask, if I can just build items on my own, and not call super at all? Does that super provide any other magic than just building items?
Jan
13
comment Find out if inside a model callback
@YevgeniyGoyfman just it is common for state machine related gems to have event method like make_bid which actually saves data. I try to follow that convention. But I guess you are right that splitting it would avoid this problem all together.
Jan
13
comment Find out if inside a model callback
@Mohamad I have added my design. not sure if this makes more sense. Thanks.
Jan
13
revised Find out if inside a model callback
explain reason
Jan
13
comment Find out if inside a model callback
I want to know a way to determine if currently I am within a callback, e.g. save if !in_callback?
Jan
13
asked Find out if inside a model callback
Jan
8
accepted Disable Rails 4.2 fractional second support on MySQL
Dec
20
comment Do Rails sql query cache hit database?
@hlcs I guess chosen answer implies the "no" answer, provided with reference evidence which I felt more trustworthy.
Dec
7
comment Do Rails sql query cache hit database?
@hlcs I don't know why the chosen answer got downvoted? Clearly it says the same thing as the other answer no?
Dec
4
awarded Popular Question
1 2 3 4 5