[Rails-core] Re: Need help with my Duration-related pull requests

2016-01-18 Thread Andrey Novikov
20625 Also there is one very small unreviewed PR: https://github.com/rails/rails/pull/22806 And I still looking for help with this more difficult PR: https://github.com/rails/rails/pull/16917 With best regards, Andrey Novikov. -- You received this message because you are subscribed to the G

[Rails-core] Need help with my Duration-related pull requests

2016-01-05 Thread Andrey Novikov
d in). I have a week of holidays and passion to finish them. Only what I need is feedback. Can someone please review them further? With best regards, Andrey Novikov. P.S> I have some more PRs to review <https://github.com/rails/rails/pulls/Envek>. Some of them are really small an

Re: [Rails-core] Bulk INSERTs in Active Record

2016-01-05 Thread Andrey Novikov
lot of INSERTS with waiting for completion of each statement. Bulk INSERTs may really help there. Sorry, I'm just a user and can't help you with any guidance in ActiveRecord (really I need such a guidance too in my own work). With best regards, Andrey Novikov. вторник, 5 января 2016 г.

[Rails-core] Re: Schema dump support for multiple schemas

2015-05-06 Thread Andrey Novikov
As far as I know schemas are part of SQL standard and MySQL and SQLite just does not support them (but PostgreSQL does). IMHO, it should not be treated as “database specific” just for that. Schemas may be very useful when you have a lot of tables (e.g. to move dictionaries to another namespace).

Re: [Rails-core] Re: Proposed functionality in strong parameters to transform an attribute into nested_attributes format

2015-03-26 Thread Andrey Novikov
Hello Austin. We're using the Rails Resource library for AngularJS that does such things for us and happy with it (also it can convert attribute names from ruby's snake_case to js camelCase). Look for similar library for your fra

Re: [Rails-core] Official support for ActiveSupport::Duration w/o core extensions

2015-03-22 Thread Andrey Novikov
already. > > > On Sunday, March 22, 2015 at 6:04:31 AM UTC-7, Andrey Novikov wrote: >> >> Take a look to ISO8601 gem: https://github.com/arnau/ISO8601 It have >> durations as well. > > -- > You received this message because you are subscribed to a topic in

Re: [Rails-core] Official support for ActiveSupport::Duration w/o core extensions

2015-03-22 Thread Andrey Novikov
Take a look to ISO8601 gem: https://github.com/arnau/ISO8601 It have durations as well. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core

Re: [Rails-core] Re: PostgreSQL interval datatype support?

2014-09-14 Thread Andrey Novikov
onça França написал: > > Hey, sorry for the delay. > > I'll check with Yves and Matthew to see what they think about it but I'm > positive for this addition. > > Rafael Mendonça França > http://twitter.com/rafaelfranca > https://github.com/rafaelfranca &g

[Rails-core] Re: PostgreSQL interval datatype support?

2014-09-12 Thread Andrey Novikov
6 августа 2014 г., 15:11:05 UTC+4 пользователь Andrey Novikov написал: > > How about to add support for interval datatype in rails? There is > ActiveSupport:Duration class, that allows to use magic like 10.hours > > I want to do something like: > > create_table :events do |t| &

[Rails-core] PostgreSQL interval datatype support?

2014-08-26 Thread Andrey Novikov
How about to add support for interval datatype in rails? There is ActiveSupport:Duration class, that allows to use magic like 10.hours I want to do something like: create_table :events do |t| t.string :name t.interval :duration end Event.create(name: 'Greatest event', duration: 5.hours + 30