scribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit
I opened a PR of the implementation and some dialog on what I think would
be even better: https://github.com/rails/rails/pull/8408
On Wednesday, November 28, 2012 2:29:13 PM UTC-8, Robert Evans wrote:
>
> Hi all,
>
> I would like to get feedback on a proposal for ActiveModel::Se
Hi all,
I would like to get feedback on a proposal for ActiveModel::SecurePassword
before I send a PR:
Currently, ActiveModel::SecurePassword has a class method #min_cost which
can be set to true/false - false by default. When true, cost is set to
MIN_COST of 4 and false it is set to DEFAULT_C
ion you could use the same, put it in your bash files, or use config
> vars if you're using Heroku.
>
> Related: http://www.12factor.net/config
>
> --
> Richard Schneeman
> http://heroku.com
> @schneems
> On Friday, October 5, 2012 at 11:54 AM, Robert Evans wrote:
&
his thread.
On Oct 5, 2012, at 11:50 AM, Jeremy Kemper wrote:
> On Fri, Oct 5, 2012 at 9:54 AM, Robert Evans wrote:
> It's a pretty common practice (and best practice) to not include your
> config/database.yml file inside your git repo. I'd like to add
> config/database.yml
It's a pretty common practice (and best practice) to not include your
config/database.yml file inside your git repo. I'd like to add
config/database.yml to the generated .gitignore file when creating a new
rails application. Any objects, concerns, etc. before I got submit a PR?
Thanks!
--
You
Thanks for starting this thread. I've been meaning to start giving some time to
looking at rails' issues, but keep forgetting or being lazy. This was the umph
I needed to start.
Thanks!
On Sep 11, 2012, at 11:56 AM, Richard Schneeman
wrote:
> Even taking one new issue a day, you're guarantee
I think Josh's suggestion makes a lot of sense and would seem to solve the
issues your present Aaron.
---
Robert Evans
On Thursday, November 17, 2011 at 10:39 AM, Josh Susser wrote:
> I suggest using git-notes to mark commits for the CHANGELOG. Metadata FTW!
>
I added a new rake task that does what merb's rake task: svn_add does.
Basically, when you run the rake task it checks to see what files have
not been added to your svn repo and adds them.
thoughts/+1's/-1's/whatever :)
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~-
Honestly, I don't think we need to go out and create another
documentation project. There have been many and to me that is the
problem. If those who want to be part of documenting rails could come
together as one and work as a team (documentation core team or what have
you), that would be awes
Just wanted to bump this one up, case the core team forgot about it
during all their work for the 2.0 release. We have 3 +1's and I've
implemented bitsweat's suggestions.
Robert
tzaharia wrote:
> I usually need this functionality for creating a custom Staging
> environment or for other cases i
I know that these tasks may not be for core, but for those that did find
some of them useful, I have plugin that includes them and some other
tasks, including Tobias Lutke's backup task:
http://svn.robertrevans.com/plugins/data_tasks/
--
Posted via http://www.ruby-forum.com/.
--~--~-~--
I'm thinking about the people who will be migrating from rails 1.x.x
version to 2.0 and want to take advantage of the forgery protection in
their existing application(s).
DHH wrote:
>> The secret key generator, for the forgery protection, was a nice
>> addition. I've added a rake task that will
The secret key generator, for the forgery protection, was a nice
addition. I've added a rake task that will use that generator to
generate a new key - rake secret:generate:key
patch:
http://dev.rubyonrails.org/ticket/10363
thoughts, +1's...
--
Posted via http://www.ruby-forum.com/.
--~--~-
Since it doesn't seem like this something that will be added to core, I
think I'll probably look at doing that.
Courtenay wrote:
> On Dec 2, 2007 2:46 PM, Robert Evans <[EMAIL PROTECTED]>
> wrote:
>
>>
>> I ask because I have my own that I've been usi
nd
end
Mislav Marohni�? wrote:
> I would welcome such feature if it would be translating non-english
> chars to
> english:
>
> "čćž-šđ".permalize #-> "ccz-sd"
>
> Rick Olson's permalink_fu uses Iconv for this, which doesn't work good
&g
I know there are various plugins (i have my own as well) for creating
permalinks for clean URLs. I'm curious to know what the core team thinks
about including such a feature into rails core or if this is something
the core believes should remain a plugin?
We have dasherizer, camelize, etc. and th
I really like Alexey idea of a ruby file for loading the seed data and
run it with a rake task. Should that be something in rails or rather
"best practices"? Or should we have something akin to create_table
that's like create_data_for :users do... within something like
ActiveRecord::SeedData?
d use
> the schema.rb file to bring your db to the latest state. On top of
> that I don't understand the need to clone your dev env to your test
> development.
>
> rake db:create:test is the same as rake db:create RAILS_ENV=test or
> rake db:create:all
>
>
>
I've created 3 rake tasks:
rake db:create:test
rake db:build
rake db:rebuild
The first creates your test database. The second, creates your
development database, migrates it, creates the test database and then
clones the development database to the test database.a
Lastly, the third drops your d
Juanjo Bazan wrote:
> Time::Calculations provides methods like "end_of_month",
> "beginning_of_year" and so on. But it lacks other related methods like
> "end_of_week" and "end_of_year" that I think should be expected to be
> there.
> Here is a patch adding those methods:
> http://dev.rubyonrails
Hopefully that will be soon. I'll keep an eye on it.
Jeremy Kemper wrote:
> On 11/14/07, Robert Evans <[EMAIL PROTECTED]> wrote:
>> Just a very small (3 line) documentation addition for those who are
>> installing the mysql binding on leopard added to mysql.yaml f
Just a very small (3 line) documentation addition for those who are
installing the mysql binding on leopard added to mysql.yaml file.
Review:
http://dev.rubyonrails.org/attachment/ticket/10167/mysql_yaml.patch
+1's
Robert
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~-
Hey folks,
Not sure about you, but when setting up a rails project, I get tired of
specifying username, login, etc 3 times, when it should only be done
once, in the config/database.yml file.
To me, it makes more sense to use yaml and do the following:
login: &login
adapter: mysql
encoding:
24 matches
Mail list logo