Displaying 20 results from an estimated 100 matches similar to: "Rails 3.0 API doesn't do word-wrap"
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys,
This is the final list of the new maintainers of each plugin.
We need two more things to do:
First please the owners of the repos add the rest of the maintainers.
Second I will add a note on each rails/plugin mentioning this repos updates.
So from now on, if someone else is interested in helping/contributing
please send a message to the appropriate repo owner.
verification
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
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
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
2010 Sep 23
1
Patch to fix docs for auto_link
Hi I''ve contributed a patch which fixes an incorrect example in the
documentation for auto_link in ActionView::Helpers::TextHelper.
The example uses truncate in the old style of tuncate(text, length)
which no longer works, so I''ve patched it to use the new
tuncate(text, :length => n) style.
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 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
2012 Sep 12
1
[Rails Guides] Use new hash syntax
I''ve looking into edge guides and I''ve notice the examples are using the
old hash syntax. Some parts of rails code are changing to the new one.
I want to update the examples in docrails to use the new syntax. Is there
any reason not to do it?
Regards.
--
José Corcuera Z.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Aug 04
6
Automatic asset paths prevent logical asset organization
In 2fe70c1 (last year), rails changed from a static list of assets.paths to automatically register any path under assets/*. (This was not reflected in Rails Guides so I pushed an update to docrails.)
However, in my opinion, these automatic asset paths create confusion.
The result is that the first-level directories under `(app|lib|vendor)/assets` get swallowed and if I put assets into a
2010 Jun 21
3
Improve the Rails Lighthouse overview page
Hello,
I have a suggestion to improve the Rails Lighthouse overview page. At
present the description is very large. You need to scroll to find the
tickets and more importantly the list of pages.
I think a shorter description along the lines of http://i48.tinypic.com/2z6a7lt.png
would be much better. All the information at present in the
description can be moved into pages, and they can be linked
2010 Jun 14
9
Multipart forms by default?
Forms without explicit enctype are submitted as application/x-www-form-
urlencoded. This is the default behaviour in Rails. However, this
enctype does not allow transmission of binary data (files).
Would it not make sense to specify the enctype multipart/form-data by
default instead? i.e. all the form_for helpers would add this enctype
to the form tag, unless overriden by the developer.
This
2012 Sep 20
1
Translate rails guides to portuguese
hi folks, i wish to know if there''s a way to translate the rails guides to
portuguese or others languages. I believe this way we can help community
growing more each day.
i`m really interested to help translate to portuguese and waiting for an
answer if its possible and how.
thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Jan 26
4
question about records count.
Hi. I have few models - user, task, file
class User < ActiveRecord::Base
has_many :tasks
end
class Task < ActiveRecord::Base
belongs_to :user
has_and_belongs_to_many :files
end
class File < ActiveRecord::Base
has_and_belongs_to_many :tasks
end
I want to know files count for some user. is there some ''right'' way to
do it without getting all tasks and looping
2010 Oct 11
2
my first patch ... what now? simple 1 word change
Hi everyone,
I just created my first rails patch. It is a simple textile doc
error requiring only a single word to be changed.
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5779
I uploaded a .diff file.
Not sure what to do now but lighthouse guide says I should ask on here
for someone to take a look.
Thank you for your time,
fooledbyprimes
Peoria, Illinois, USA
--
2010 Mar 10
2
"must be nil" validation?
Hey guys, is there a validation that essentially acts the opposite way
of "validates_presence_of". That is, the attribute in question must be
nil, or blank, non-existent. If not, what''s the best way to prevent a
user from altering a web form attempting to submit data to a field
that they should never have access to?
Thanks!
--
You received this message because you are
2010 Jun 17
3
RDoc 2.2.0 requirement
Looks like Rails 3 currently depends on RDoc 2.2.0 exactly, even
though the latest version is 2.5.x. Why this specific version?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
2011 Feb 27
0
Can I merge Korean translation version to Info/docrails without any permission?
Hello everyone,
Because I don''t know communication channel to lifo/docrails, I ask about
permissions for that repository.
Recently I and friends started to translate rails guide for Korean version.
Maybe, I expect to finish all current rails guides translating in 2 months,
and then we''ll care
these documents for recent version.
Now, we provide a translation result site for
2010 Feb 20
7
Suggestion to rename match() to connect()
In Rails 3 routing, it seems we''re using the match() method to hook up
arbitrary url patterns to rack endpoints (which I think is a great new
routing feature).
I''d like to suggest that we name it "connect", instead of "match":
1. It maintains continuity with previous versions of rails
2. It''s more descriptive of the intention of a route: to connect
2009 Aug 19
2
Create! Syntax
Hey All,
Two questions.
Firstly, what is the difference between create and create!
I see that create is document in the api
http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002269
What is the difference between the two of these functions and where is the
create! function defined.
Also,
What are the differences between these two calls?
a) SomeModel.create!{ :property_a =>