For that, they use:
p.reload and/or p.tags.reload
The tag is saved when you save p (provided you have :autosave => true
set)
That's shown here:
http://api.rubyonrails.org/classes/ActiveRecord/AutosaveAssociation.html
under the examples.
--
Posted via http://www.ruby-forum.com/.
--
You rece
I have found a solution to this problem (solution is geared for the
newest version of rails etc, as of mid May 2012)
If you are simply doing early stage development stuff, you do not need
the extra feature which blocks mass assignment. The thing is, github was
hacked by some dude (whitehat
Hey everyone, i'm super new to Rails and excited to get going! I'm
following the Ruby on Rails Essentials 3 tutorial from Lynda very
closely and came across an error at the step when launching WEBrick.
MY Setup:
I am on OS X. I have installed the MySQL client and ran it from my OS
X system prefs.
I would have to agree that an IDE is a little bit over the top for Ruby
and Rails development. When I was developing on a mac, I used Textmate.
It has been often described as emacs for mac. Needless to say, on
Linux, I use emacs. I use a nice collection of plugins from
http://blog.wyeworks.c
4 matches
Mail list logo