Search Discussions
-
I've seen a few examples of dummy Rails apps (for testing, so they live under test or spec dirs, typically) for use with the Appraisals gem that supposedly work with both Rails 3.x and Rails 4, but ...
Gary Weaver
Apr 2, 2013 at 1:04 pm
Apr 2, 2013 at 6:46 pm -
Hi, What do you think about the following way to specify validations? validates name: {presence: true}, email: {uniqueness: true, presence: true} or even validates name: [:presence], email ...
Roman
Apr 11, 2013 at 1:59 pm
Apr 11, 2013 at 6:20 pm -
5
[Rails-core] Possible bug in rails when I search a polymorphic association and array scope as LIKE
Hi,My name is Alfonso Uceda and I am working in rails 2.3 (yes, too old) and my partner and me believe that maybe in RoR has a bug when you search in a polymorphic association and LIKE conditions as ...Alfonso Uceda
Apr 5, 2013 at 3:25 pm
Apr 8, 2013 at 7:55 pm -
Hi there! I was looking for some stuff that works like layout declaration in controllers: class SomeController < ActionController::Base layout 'string' layout :method layout - { 'from proc' } end ...
Printercu
Apr 19, 2013 at 3:02 pm
Apr 23, 2013 at 4:56 am -
(Forgive me if this is incorrect, because I recognized this initially as something in Rails 4.0.0.beta1 and have just done a cursory look over the latest generator code.) Noticed in Rails 4 that the ...
Gary Weaver
Apr 15, 2013 at 3:27 pm
Apr 15, 2013 at 6:06 pm -
Why doesn't Rails use aspect-oriented programming? e.g. for loggers -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this ...
Bakhtiyor Homidov
Apr 6, 2013 at 6:19 pm
Aug 25, 2013 at 12:20 am -
I've recently been trying to contribute, and I've set up the dev box<https://github.com/rails/rails-dev-box environment per these ...
Chad Moone
Apr 24, 2013 at 10:42 am
May 13, 2013 at 5:38 pm -
This commit adds support for using primary keys of type UUID in PostgreSQL: https://github.com/rails/rails/commit/bc8ebefe9825dbff2cffa29ff015a1e7a31f9812 This is *awesome*, however, I'm not sure I ...
Chad Moone
Apr 24, 2013 at 9:32 pm
May 1, 2013 at 9:47 pm -
Hi all, I've been using rails for a little while and have an idea for an improvement to the counter cache. I'd like to run it by you guys first before I go ahead with a PR. As I understand it ...
Andy Pike
Apr 3, 2013 at 1:56 am
Apr 3, 2013 at 2:06 pm -
This post is intended to initiate a discussion about extended the default behavior of rails plugin new to support nested engines as discussed in the presentation Rails Engines Patterns by Andy ...
AJ Acevedo
Apr 28, 2013 at 9:54 pm
May 24, 2013 at 2:27 am -
Hi all, I DONT KNOW WHAT IS THIS WHEN I RUN SERVER OR CONSOLE ITS COMMING. PLEASE ANYBODY TELME WHATS PROBLEM WHATS SOLLUTION [email protected]:~/workspace/apl$ ruby script/console Loading development ...
Kanna
Apr 30, 2013 at 6:26 am
Apr 30, 2013 at 6:33 am -
Just that: class Date 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 ...
Rafa Perez
Apr 29, 2013 at 5:51 am
Apr 30, 2013 at 1:45 am -
Please see my fully explained question on SO, it is difficult to edit code here ...
A B
Apr 26, 2013 at 9:42 pm
Apr 26, 2013 at 11:52 pm -
I have written a test. I want to run only it against all the database options (sqlite, mysql, mysql2, postgres). bundle exec ruby -I test test/cases/autosave_association_test.rb -n test_my_cool_test ...
Johnny Holton
Apr 19, 2013 at 6:42 pm
Apr 22, 2013 at 6:38 pm -
2
[Rails-core] An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys.. i got this type of error when i configured Gemfile then what to do?* gem "thinking-sphinx" gem 'ferret' Updating git://github.com/mark-moseley/linecache Fetching gem metadata from ...Kanna
Apr 16, 2013 at 7:39 pm
Apr 17, 2013 at 2:44 am -
For purposes of maintenance and data cleanup, sometimes it is helpful to determine if you have orphaned records in your AR backing store. Assuming that an AR::Base descendant has one or more ...
Wes Gamble
Apr 8, 2013 at 10:22 pm
Apr 8, 2013 at 11:19 pm -
I couldn't find any change to scope in the release notes or changelog but this stopped working since Rails 3: scope format: false do get "main/index" end This works though: get "main/index", format ...
Rodrigo Rosenfeld Rosas
Apr 2, 2013 at 9:25 pm
Apr 2, 2013 at 9:51 pm -
I submitted a PR for Rails. The bug I'm trying to fix occurs when there is a unique field index on a table. In the test I wrote, I added the index, ran test code and removed the index all inside the ...
Johnny Holton
Apr 23, 2013 at 9:11 pm
Apr 24, 2013 at 1:28 am -
Hi, I am a bit surprised by the need to explicitly list all the non-standard manifest files in config.assets.precompile to have them precompiled by rake assets:precompile. Is there any real-world ...
Jarosław Rzeszótko
Apr 15, 2013 at 2:28 pm
Apr 16, 2013 at 12:15 pm -
Hi all! Recently I discovered that AR tries to treat question marks inside SQL string literals as parameters, however this behaviour shows in very rare cases, for example (very odd, but...) ...
Alexey Noskov
Apr 19, 2013 at 10:41 pm
Apr 19, 2013 at 10:41 pm -
I was expecting delete_all to be a more clever than what I'm seeing. I have an ActiveRecord::Relation which returns a bunch of records, but calling `delete_all` on that relation basically ignores any ...
Fabrizio Regini
Apr 10, 2013 at 3:13 pm
Apr 10, 2013 at 3:13 pm -
Finally i fixed it by adding necessary require '....' calls to the top of my engine.rb file as it mentioned in http://edgeguides.rubyonrails.org/engines.html#other-gem-dependencies пятница, 26 ...
Andrey Eremin
Apr 9, 2013 at 10:03 am
Apr 9, 2013 at 10:03 am -
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 ...
Alessandro Tagliapietra
Apr 8, 2013 at 10:22 pm
Apr 8, 2013 at 10:22 pm -
Hi, my name is Alfonso and I am working in rails 2.3 (yes, too old) and my partner and me believe that maybe in RoR has a bug when you search in a polymorphic association and LIKE conditions as ...
Alfonso Uceda
Apr 5, 2013 at 3:25 pm
Apr 5, 2013 at 3:25 pm
Group Overview
group | rubyonrails-core |
categories | rubyonrails |
discussions | 24 |
posts | 79 |
users | 38 |
website | rubyonrails.org |
irc | #RubyOnRails |
38 users for April 2013
Archives
- May 2014 (40)
- April 2014 (73)
- March 2014 (74)
- February 2014 (94)
- January 2014 (44)
- December 2013 (99)
- November 2013 (85)
- October 2013 (54)
- September 2013 (69)
- August 2013 (81)
- July 2013 (79)
- June 2013 (67)
- May 2013 (87)
- April 2013 (79)
- March 2013 (101)
- February 2013 (183)
- January 2013 (127)
- December 2012 (80)
- November 2012 (108)
- October 2012 (182)
- September 2012 (294)
- August 2012 (209)
- July 2012 (232)
- June 2012 (202)
- May 2012 (147)
- April 2012 (80)
- March 2012 (182)
- February 2012 (74)
- January 2012 (34)
- December 2011 (58)
- November 2011 (99)
- October 2011 (71)
- September 2011 (25)