Displaying 5 results from an estimated 5 matches for "orthodoxi".
Did you mean:
orthodox
2006 Aug 13
0
Inheritance in helpers? Or should I do it all in a completely diffrent way?
Hi there.
In the process of learning Rails I''m 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
2018 Oct 08
0
PROPOSAL: Extend inline asm syntax with size spec
* Michael Matz <matz at suse.de> wrote:
> (without an built-in assembler which hopefully noone proposes).
There are disadvantages (the main one is having to implement it), but a built-in assembler has
numerous advantages as well:
- Better optimizations: for example -Os could more accurately estimate true instruction size.
- Better inlining: as the examples in this thread are
2006 Jul 27
0
CRUD, REST and associations
Let''s say I have the model class Reader and Magazine, connected by join
model Subscription. It looks something like this
class Reader < ActiveRecord::Base
has_many :subscriptions, :dependent => :delete_all
has_many :magazines, :through => :subscriptions
validates_presence_of :name
end
class Magazine < ActiveRecord::Base
has_many :subscriptions, :dependent =>
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