Displaying 7 results from an estimated 7 matches for "muranov".
Did you mean:
murano
2011 Aug 29
32
Weird assignment problem, very confused :(
Hey, I have the following line in my controller:
User.create(:email => "fuuu-+RB1Aph5k6s@public.gmane.org", :password =>
''asldfkjadsfadsf'', :ip => request.remote_ip)
my IP is 127.0.0.1 - now User.find_by_ip(''127.0.0.1'') returns 0
records although User.first contains ''127.0.0.1''
if I change it to:
User.create(:email =>
2011 Apr 18
3
ActiveSupport 3.0.6: require 'active_support/core_ext' generates "circular require" warning
Hello,
i noticed some strange warnings when doing
require ''active_support/core_ext''
with activesupport 3.0.6.
If i do
gem ''activesupport'', ''=3.0.5''
require ''active_support/core_ext''
then it works fine.
Is this a bug in rails 3.0.6?
More precisely, if i do
$ irb -w
> require
2011 Nov 30
4
How to use a local copy of rails in a rails application
Sorry for a primitive question, but how can i use a local copy of rails
with my rails 3 application (locally)?
Quick googling didn''t help, and on StackOverflow there is something
about putting local rails to the "vendor" directory, but it does not
seem to work for me.
Thanks.
Alexey.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2011 Jul 14
1
ActiveSupport::OrderedHash disappears?
I noticed that ActiveSupport::OrderedHash disappeared from the Rails API
pages.
Does it mean that it is going to be deprecated?
I know that Hash is ordered in Ruby 1.9, but this subject seems
controversial, and in my opinion the ordered hash in Ruby 1.9 should
have been called OrderedHash (or SequentialHash), even if it be an alias
of the current implementation of Hash.
That way one would be free
2011 Aug 17
7
autoloading LoadError: Expected known_ip.rb to define KnownIp
Hello, i have a problem with autoloading model classes.
I have had similar problems before when a file''s name in Rails'' opinion
did not match with the name of the class defined inside, but eventually
everything worked, so i didn''t look into details.
This time the problem comes from running Unit Tests and does not want to
go away.
I have a model class KnownIP defined in
2011 Jul 14
0
Validation error message header not translated (activerecord.errors.template.header seems to be ignored in YAML localization file)
Hello, i am not sure where to report this, i have created an issue at
https://github.com/svenfuchs/rails-i18n/issues/118
It seems that activerecord.errors.template.header is ignored in YAML
localization file.
Changing or translating it has no effect on the rendered header for
validation errors.
Thank you for any comments,
Alexey.
--
You received this message because you are subscribed to
2011 Dec 25
1
Fixtures vs Fixture class, what is the intended purpose?
Hello,
i am trying to fix the code for fixtures in rails because it is buggy
and internal variable names are confusing, could somebody please explain
to me what is the intended purpose of Fixture and Fixtures classes
respectively?
For example, why do we need both `Fixtures.initialize`and
`Fixture.initialize`? They both "initialize" a single fixture, and in
fact `Fixture.initialize`