Displaying 3 results from an estimated 3 matches for "what_ever".
Did you mean:
owhatever
2006 Jan 10
1
Problem with belongs_to
...iveRecord::Base
belongs_to :node,
:foreign_key => "data_id",
:conditions => "type == ''PageNode''"
...
It''s supposed to refer back to the Node class so I can get to the node
from a Page instance using
@page.node.what_ever
The problem now is that @page.node == nil. I have checked the tables and
the data is correct (it must be since navigation from node to page works
perfectly)
Any ideas?
Thanks
/Marcus
2007 Nov 07
1
Wx::FileDialog and common dialogs
...request:
Regarding all modal common dialogs (ColourDialog, DirDialog,
FileDialog), it looks like it''s currently not possible to set the style
element outside new(). For the modal ones, it would make lots of sense
to be able to set the style separately prior to show_modal:
d.style = Wx::WHAT_EVER_STYLE
Best regards,
Jari Williamsson
2013 Feb 25
7
Optimistic Locking Enhancements: Gem or Core?
I''m working on an app that makes use of rails'' optimistic locking feature
and seeing some possibilities for improvements. It seems a bit tedious to
have to add :lock_version to forms wherever the model is used. You also
have to "hack" around rails'' UJS feature to add it as a URL parameter when
using remote: true, method: [:put, :patch, :post, :delete].