You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion list for Ruby on Rails core development.
|
|
|
Autolinking non-http protocols doesn't work
|
| |
If you redefined the AUTO_LINK_RE to support protocols other than HTTP, bad
links are generated. In the auto_link_urls code it checks if there is an
http in the generated href and if there isn't it prepends one. If you're
using auto_link_urls on, for example, ftp:// links, instead of <a href="
[link]">[link]</a> , you get <a href="http://... more »
|
|
Attribute option on Errors#full_messages
|
| |
I want to be able to display full validation messages next to form
elements. Currently I can only get validation errors without the
prefix for specific fields, or I can get message for all attributes,
at which point it's impossible to tell which message came from which
attribute.
I made a patch where you can supply an attribute name to full_messages... more »
|
|
in_place_edit_for API page
|
| |
Today I googled to see where in_place_edit_for wandered off to and I saw
that the first result was this page:
[link]
Since this doesn't exist in Rails anymore, can we get it removed from the
site? Otherwise, people may continue to think that this is still in Rails.... more »
|
|
Queue Abstraction Layer
|
| |
I want to take a moment to talk about the notion of a queue
abstraction layer in Rails and put a stake in the ground with my
opinions on the topic while at the same time getting some feedback.
My understanding is this: at the moment ActiveWorker (which can be
seen in this repo: [link] ) is the current... more »
|
|
ActionMailer with Mail gem - It is here
|
| |
So, I have integrated edge ActionMailer with the Mail gem, removing TMail in
the process.
Currently, ActionMailer is running with 131 tests, 309 assertions, 0
failures, 0 errors
This is using ActionMailer from [link] as well as the
Mail gem version 1.2.8
But mail is throwing a few warnings in the process and I would love more... more »
|
|
Decrypt a admin password (with salt)
|
| |
Hello,
I want decrypt a password which is encrypted by MD5.
there are 4 functions which i am using :
# Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("--#{sa lt}--#{password}--")
end
# Encrypts the password with the user salt
def encrypt(password)... more »
|
|
Dirty Associations
|
| |
Hello,
I found an area where I don't totally understand the behavior of the dirty
tracking feature in Active Record. It appears as though changes are tracked
when I assign a persistent object (already has an id) to the association but
not tracked when I assign a new record to the association.... more »
|
|
template vs view
|
| |
I know there has been a lot of refactoring going on in the rendering engine in Rails 3.0. I just hope we get a clear definition and usage of "view" (instances of ActionView::Base) and "template" (instances of ActionView::Template). What is considered as "view" parameter in some places (template code)... more »
|
|
|