similar to: TaggedLogging fix

Displaying 20 results from an estimated 70000 matches similar to: "TaggedLogging fix"

2013 Oct 30
0
Fixed #columns_for_distinct of postgresql adapter
Please look at this PR https://github.com/rails/rails/pull/11896 -- 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+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this
2013 Jul 22
1
Dependency upon raised error/exception messages.
Hey everyone, first of all, thank you for the tremendous work and effort on making Rails more awesome every day. I''ve brought up this "issue" on Github last Friday. [1] Steve Klabnik told me to bring the discussion here, as it''s more appropriate. The thing is, there is some amount of logic scattered around Rails (and its tests) that depends upon error/exception
2013 Apr 08
0
Uniquely identify the failed assertion
Hello list, I was thinking that could be nice to be able to know which assertion failed during validation in an unique way (like knowing the validation name like ''length'',''presence'' and so on) to don''t rely on string matching which can easily lead to errors. I''m actually doing such things duplicating the checks, one for the user/form and
2013 Mar 22
0
Should to_io be added to ActionDispatch::Http::UploadedFile?
In rest-client/rest-client#144<https://github.com/rest-client/rest-client/issues/144#issuecomment-14876580> we''re trying to handle objects that behave like IO. Some have suggested that respond_to?(:read) is a poor test of this and have suggested using IO.try_covert(obj) instead. My counter example for this is ActionDispatch::Http::UploadedFile. I''m wondering if there
2013 Aug 29
0
[PR 11148] Extracting out rake stats into a gem (code_metrics)
Just joined the group. Please let me know if I am not posting this appropriately. I think the PR is done, just needs ok to merge and if it should be back-ported. I rebase if off our master periodically to ensure a clean merge. Re: https://github.com/rails/rails/pull/11148 Whereas - The code_statistics code in rails provides useful functionality - It does not depend on rails in any
2013 Aug 29
0
[PR 12064] A queue with namespacing support.
Hey all, I''ve been eagerly following the development of 4.0 and 4.1, especially the Queue API, and have been running the `jobs` branch in production for a few projects. I know that one thing blocking progress for a 4.1 queue release is debate about what the interface should look like. Specifically, I know there were a few requests for an interface that allowed for namespacing
2013 Nov 15
0
Please, take a look at PR #10848 "Allow to pass a block to `cattr_reader`."
Allow to pass a block to cattr_reader . cattr_accessor already accepts defaults using a block. So just unify the interface. Example: class A cattr_reader(:defr) { ''default_reader_value'' } end A.defr # => ''default_reader_value'' https://github.com/rails/rails/pull/10848 -- You received this message because you are subscribed to the Google Groups
2013 Feb 26
0
Feedback Needed: Optimistic Locking Destroy Bug
Need feedback on what I think is a bug in AR related to destroying models with optimistic locking. Please check this PR for more information: https://github.com/rails/rails/pull/9448 -- 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
2013 May 03
0
Moving plural detection and --force-plural option to models generator
Hi all, I talked to Aaron briefly about this at RailsConf, but I just wanted to bring this up here before I start working on it in case anyone objects. I will be looking into moving the "Plural version of the model detected, using singularized version. Override with --force-plural." warning and the associated flag into the model generators. Currently this is only in the resource (and
2013 Nov 06
6
Feature: make capitalization optional in *humanize*
According to the documentation<http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-humanize> of ActiveSupport::Inflector: *humanize*(lower_case_and_underscored_word) Capitalizes the first word and turns underscores into spaces and strips a trailing “_id”, if any. * Example: humanize("employee_salary") # => "Employee salary"* I would
2013 Jul 10
4
Decoupling of ActionPack
Hello! Are the plans of splitting ActionPack for several gems (AbstractController, ActionView, etc)? Like https://github.com/rails/rails/pull/7356 ... I.e. I know gems that are needed AbstractController only... And they are forced to require the whole ActionPack... Thanx. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To
2013 Jun 27
2
Date.weekend?
Hello, Having a boolean *.weekend?* on the Date class would be a good feature. It will basically do this: saturday? || sunday? Makes the code cleaner and easier to read. -- 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
2013 Apr 28
2
[ActiveSupport] Add a "remaining_to" method to date class
Just that: class Date > def remaining_to(date) > if date.acts_like? :date > date - self > end > end > alias :days_to end and then be able to do this: Date.today.remaining_to(Date.parse ''2014-04-02'').days.seconds -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To
2013 Oct 11
2
Ruby and Rails Sophisticated CMS
Hi I am looking for Ruby and Rails Sophisticated CMS refinery is looking good to me except its is simple content model and age based. Also I looked into locomotive the problem with locomotive is no SQL support.Could someone refer me one please. Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from
2013 May 23
1
ORA-30678: too many open connections
Hello Ruby please i need your help when i run api i get this error . *ORA-30678: too many open connections* ** * * *ORA-06512: at "SYS.UTL_TCP", line 28* * * *ORA-06512: at "SYS.UTL_TCP", line 257* * * *ORA-06512: at "SYS.UTL_SMTP", line 116* * * *ORA-06512: at "SYS.UTL_SMTP", line 139* * * *ORA-06512: at "APPS.SEND_MAIL", line 12* * *
2013 Jul 10
0
ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
Hello, In production environment, I have this error ActionView::Template::Error Not a directory vendor/assets/javascripts/holder.js when in my template I have this line <%= image_tag "holder.js/150x200" %> My production.rb is : Libapp::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded
2013 Jun 15
1
A puzzle about default_scope
Hi, guys I have a puzzle about default_scope. Suppose I have two model: class User < ActiveRecord::Base has_many :blogs default_scope where(deleted_at: nil) end class Blog < ActiveRecord::Base belongs_to :user end I want to produce sqlselect blogs.* from blogs inner join users on users.id = blogs.user_id and users.deleted_at is null And the code Blog.joins(:user), which I think
2013 Jan 31
2
CollectionAssociation shadows Enumerable#count
Hi all, I realize this behavior is by design, and in some respects the right thing to do. It also pre-dates the addition of Enumerable#count. I''m wondering, however, if it''s possible/desirable to allow the caller to access the Enumerable versions under certain conditions. I originally wrote the up as an issue, but was informed this would be the better venue. I''m
2013 Jun 25
1
Casting gem usage in Rails 4/Ruby 2 vs. Rails 4 push for concern usage/Rails delegation
Just read about the Casting gem: https://discuss.gemnasium.com/t/casting-adding-behavior-to-objects-without-using-extend/34 https://github.com/saturnflyer/casting What are the Rails core team''s opinions about using Casting vs. ActiveSupport::Concern usage, Rails delegation, etc.? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2013 Jun 26
1
unable to create ajax call in my rails app , any help ??
hi all , I am unable to create ajax call in my rails app , any help ?? -- 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+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit