Displaying 5 results from an estimated 5 matches for "orthodoxy".
Did you mean:
orthodox
2006 Aug 13
0
Inheritance in helpers? Or should I do it all in a completely diffrent way?
...displaying data from my model in
an HTML table. The view template got really messy so I decided to
build a class to tidy things up and help me with the table generation.
I started out putting it in the controller. But then I thought that
the right place for it (following the MVC pattern and Rails
orthodoxy) would be in a view helper.
But it seems helpers doesn''t define classes but rather methods that
are mixed into to the view class. I stuck some classes in the helper
module and managed to instantiate objects from those classes in my
view but calling built in helper methods (like link_to) f...
2018 Oct 08
0
PROPOSAL: Extend inline asm syntax with size spec
...efined their own assembly syntax which
departs from decades old platform assembly syntax - and how the assembler is called by the
compiler is basically an implementation detail, not a conceptual choice. The random
multi-process unidirectional assembler choice of the past should not be treated as orthodoxy.
Thanks,
Ingo
2006 Jul 27
0
CRUD, REST and associations
...ine < ActiveRecord::Base
has_many :subscriptions, :dependent => :delete_all
has_many :readers, :through => :subscriptions
end
class Subscription < ActiveRecord::Base
belongs_to :reader
belongs_to :magazine
validates_presence_of :reader, :magazine
end
Now, the nascent RESTful orthodoxy appears to be that for each of these
model classes there ought to be a controller that manages its CRUD
operations. I admit that this has a nice ring to it, alas, it doesn''t
seem to mesh with what I''d like to do user interface-wise. Simply put,
I want to edit and update a read...
2010 Jun 17
6
R licensing query
I have recently started a new job at an NHS hospital in Scotland. Since
I took up this post 6 months ago I have had an ongoing dispute with the
IT secutiry dept. who refuse to install R on my computer. I previously
worked in another branch of the NHS where R was widely used and yet
there is nothing I can say which will persuade the IT dept here to even
visit the website! With some help from our
2013 Jan 28
18
Referencing a variable from one class in another
I have one module, kibana, that defines a file snippet for the apache
module to fulfill (e.g., /etc/https/conf.d/kibana.conf). The apache::params
class defines a variable of the path of where this snippet should be
placed, $config_d. The snippet uses this variable in its definition.
However, it seems that the snippet never resolves the
$apache::params::config_d variable, and I''m