I hate Rails sometimes. Now and then I have a feeling that using Rails is
like trying to fit a square peg in a round hole. For example Active record
doesn't fit my every need and sometimes I have to use SQL. Because I use
Rails I have lost much of my SQL skills. Last time I had some unusual
Hi,
I came across following link:
http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
which says rails vulnerabilities issue has been fixed in 3.2.13
However I could see another link which says Rails 3.2.13 has induced
Performance Regressions
Hello, i am looking for a technique or even better a gem that i could use
in order to design a step-by-step guide for my members when they first
sign-in. To be more specific i need a way to guide users after they
register in order to to show them how they should move on with the
application,
Hi,
I need fix any bugs in a rails project. The problem is every time I change
anything in javascript I have to make
bundle exec rake rails_group=assets assets:clean RAILS_ENV=development and
then
bundle exec rake rails_group=assets assets:precompile RAILS_ENV=development
and finaly restart
I have searched a lot for a solution, but I could not find it! I am trying
to make a rails application after watching Michael Hartl's tutorial and
when i fill data manually and submit it nothing happens and nothing records
in the Mailers table and I am facing the following error:
Failures:
I want to do exactly the same thing.. did you find a solution?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
From the code you've posted, It seems everything is ok and should work. I
suggest you do some debugging, try using the better_errors gem, it'll give
you more informative errors. Run your rspec test using the -e flag to
specify each individual test, through process of elimination you can
The problem I want to solve is that Erubis (the default Rails template
engine) parses html unprofessionally - there are many blank lines and
space characters are left in the result page. -% (minuses in tags) do
not help.
I do not want to switch Haml or Slim because I prefer plain html.
I want to
Jacek Podkanski wrote in post #1107534:
It seems that I modify
problems to fit them into Rails instead of modifying Rails to adapt it
to my problems.
Well said. 100% right.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
On Wednesday, May 1, 2013 8:07:17 PM UTC+1, Miguel Correlo wrote:
Hi,
I need fix any bugs in a rails project. The problem is every time I change
anything in javascript I have to make
bundle exec rake rails_group=assets assets:clean RAILS_ENV=development
and then
bundle exec rake
You don't need to precompile your assets in development environment.
Remove config.assets.compile
= false from config/environments/development.rb if it's there. Read this
stackoverflow
questionhttp://stackoverflow.com/questions/8821864/config-assets-compile-true-in-rails-production-why-notfor
a
On Thursday, 2 May 2013 05:19:17 UTC-4, Bigos wrote:
I hate Rails sometimes. Now and then I have a feeling that using Rails is
like trying to fit a square peg in a round hole. For example Active record
doesn't fit my every need and sometimes I have to use SQL. Because I use
Rails I have
On Thursday, May 2, 2013 5:19:17 AM UTC-4, Bigos wrote:
I hate Rails sometimes. Now and then I have a feeling that using Rails is
like trying to fit a square peg in a round hole. For example Active record
doesn't fit my every need and sometimes I have to use SQL. Because I use
Rails I have
Did you ever figure this out? I am having the same problem and can't find a
good solution anywhere.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
What did you find out about this? I am having the exact same issue and
can't seem to find a good answer anywhere.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an
What is the proper syntax to nest child modules within a parent module that
is being as an isolate_namespace Rails engine gem?
# lib/myengine/engine.rb
module MyEngine
class Engine Rails::Engine
isolate_namespace Myengine
# def ...
end
end
For example. The parent module is MyEngine
Here is my
questionhttp://stackoverflow.com/questions/16325137/yet-another-cant-mass-assign-protected-attributes-address-post
.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from
On May 1, 2013, at 11:24 PM, doeme.me...@gmail.com wrote:
I want to do exactly the same thing.. did you find a solution?
Could you please make a point of quoting all or the relevant bits of the
preceding messages when posting to an existing thread? It's incredibly hard for
anyone to help you
No one has given me a viable response yet. I will keep you in the loop if i
find anything out.
On Thu, May 2, 2013 at 10:25 AM, Ian Randolph ian.h...@gmail.com wrote:
Did you ever figure this out? I am having the same problem and can't find
a good solution anywhere.
--
You received this
Hi, I'm a novice and could use help with a join table question. I have
a join table galleries_questions.
I can't figure out how to query it for pictures in a selected gallery.
Controller:
@gallery = Gallery.where(minisection_id =
session[:minisection_id]).first
@pictures =
On Thu, May 2, 2013 at 1:00 PM, Dave Castellano li...@ruby-forum.com wrote:
I have a join table galleries_questions.
I'll hope that's really 'galleries_pictures' :-)
I can't figure out how to query it for pictures in a selected gallery.
How do you have the relationship defined in the models?
On 2 May 2013 13:18, Wins Lin li...@ruby-forum.com wrote:
Jacek Podkanski wrote in post #1107534:
It seems that I modify
problems to fit them into Rails instead of modifying Rails to adapt it
to my problems.
Well said. 100% right.
Wins Lin: how long have you been using Rails?
Colin
--
Colin Law wrote in post #1107600:
On 2 May 2013 13:18, Wins Lin li...@ruby-forum.com wrote:
Jacek Podkanski wrote in post #1107534:
It seems that I modify
problems to fit them into Rails instead of modifying Rails to adapt it
to my problems.
Well said. 100% right.
Wins Lin: how long have
On 03/05/2013, at 12:09 AM, Matt Jones al2o...@gmail.com wrote:
On Thursday, 2 May 2013 05:19:17 UTC-4, Bigos wrote:
I hate Rails sometimes. Now and then I have a feeling that using Rails is
like trying to fit a square peg in a round hole. For example Active record
doesn't fit my every
I've been using Rails since 2004 and still love it. I understand a lot of
the complaints about Rails and may have occasionally voiced my dislike as
well. However, the complaints I often hear about Rails has more to do with
the kind of coders/people the framework seems to attract than the actual
Yes, its actually 'galleries_pictures'
class Gallery ActiveRecord::Base
has_and_belongs_to_many :pictures
class Picture ActiveRecord::Base
has_and_belongs_to_many :galleries
Not relevant, but @gallery.pictures would work there... Where?
--
Posted via http://www.ruby-forum.com/.
--
Hi,
im migrating a website from php to rails and devise. There is a user
table with password that are not encrypted. I made already a script in php
to migrate to data to new database, but I cant figure how to encrypt
password so i will work with devise. I foudn different solution on google,
On Thu, May 2, 2013 at 6:07 PM, Dave Castellano li...@ruby-forum.com wrote:
If you don't top-post, this will be easier :-)
class Gallery ActiveRecord::Base
has_and_belongs_to_many :pictures
class Picture ActiveRecord::Base
has_and_belongs_to_many :galleries
What does the migration
On May 2, 2013, at 6:32 PM, oto iashvili optimum.dulo...@laposte.net wrote:
Hi,
im migrating a website from php to rails and devise. There is a user table
with password that are not encrypted. I made already a script in php to
migrate to data to new database, but I cant figure how to
I agree that ORMs tend to make you think un-object-orientedly sometimes
Isn't the primary purpose of ORM to provide an object oriented way of
dealing with your data ?
I've been using Rails for 4 years, and I don't complain. I can ask an
absolute beginner in rails to build something for me, and
How about migrating your user table using ActiveRecord?
I can get the data of a user from the old DB in some way, and migrate into
the new DB using this :
User.create(email: 't...@test.com', password: 'unencrypted password
from old db', password_confirmation :'same_password')
On 3 May 2013
31 matches
Mail list logo