Displaying 8 results from an estimated 8 matches for "sikandsak".
Did you mean:
sikanda
2010 Aug 30
5
Rails 3.0 API doesn't do word-wrap
Hi Guys,
I just realize that on the API documentation the code snippet is overflowing off the screen. Is this an intended behavior? Or who should I contact to get this one fixed.
You can see the screenshot here: http://skitch.com/sikachu/dw82n/screen-shot-2553-08-30-at-16.24.26
Thanks :)
Prem Sichanugrist
--
You received this message because you are subscribed to the Google Groups "Ruby
2012 Jun 04
13
Nested Resource Route Helpers
Hello all,
I''m working on a Rails app and I have resources nested three deep - let''s
call them user, project, and issues. The route helpers now look like
user_project_issue_path(@user, @project, @issue). Would it make sense for
Rails to guess the @user <https://github.com/user> and @project<https://github.com/project> relations
from @issue
2011 Feb 16
5
validates_inclusion_of with range on ruby 1.9
I found out today that Range#include? behaves differently on 1.9 than on 1.8 ( http://rhnh.net/2009/08/03/range-include-in-ruby-1-9 )
In order to deal with various edge cases, instead of just checking whether range.first <= value <= range.last, in ruby 1.9 include? steps through all the values in the range, checking for equality.
This is of course a lot slower - in my case, checking a date
2011 Mar 04
8
rake issues
Is there any reason why db:setup and db:reset don''t show any more on
"rake -T db"?
I guess any rake task that is defined only as a group of other tasks
(without any ruby blocks attached) presents this problem.
Also let me write this as a remember note to myself for when I have some
time: the Rails Guides on Migrations should be updated to include
instructions about db:load
2012 Jul 09
10
attr_accessible on some properties + attr_protected on others makes class 'open-by-default'
(I posted this as a bug in GitHub
(https://github.com/rails/rails/issues/7018), but then someone there told
me I should post it here, so here it is.)
If you set attr_accessible on some properties in an ActiveRecord-descended
class, and then attr_protected on others - the class becomes ''default-open''
- if any properties are missed or added later, they will be accessible by
2011 Nov 09
14
Rony 1.9.3-p0 on Rails 2.3.x: the helpers "require" problem
Yes, I know that Rails *2.3.x* is no longer fully supported (this is why
I''m posting it to rails/issues). Still, I would like to post the topic so
that everyone who experience the same problem could quickly google for it
(no, afaik no solution for this yet).
I''m trying to migrate a 1.5 years *2.3.x* app from Ruby version *1.8.7* to *
1.9.3-p0*.
The strange problem I
2010 Apr 15
12
[PATCH] Add :touch option to has_many associations
Hi,
it would be nice to have the touch option in has_many associations also.
I have a scenario like this:
An user has some credit (money) and some advertises. Each advertise can be
enabled or disabled depending on some rules. One of the rules is that the
user should have money. Each time the money of the user change, the
advertises are touched, enabled/disabled and then cached, as they are much
2010 Jan 22
3
Release date for Rails 2.3.6?
Hello guys,
I went into milestones page (https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/milestones) and found out that Rails 2.3.6 was due Jan 15, 2010. Does it mean all tickets in that milestone should be cleared first?
If so, then I would pay attention to clear tickets in that bucket first.
Thank you,
Prem Sichanugrist (sikachu)
--
You received this message because you are