Displaying 20 results from an estimated 10000 matches similar to: "dry_crud"
2010 Sep 06
1
dry_crud 1.0.0
dry_crud generates simple and extendable controller, views and helpers
that support you to DRY up the CRUD code in your Rails project. Start
with these elements and build a clean base to efficiently develop your
application upon. Version 1.0.0 is built for Rails 3.
http://github.com/codez/dry_crud
The main idea of dry_crud is to concentrate basic functionality of
your application, like CRUD
2007 Mar 24
0
Using spec fixtures with integration tests
Hi all,
How can I use spec fixtures with rails integration tests ?
I''ve tried adding {{ fixtures "../../spec/fixtures/myfixture" }}
to the integration test but the fixtures are not loaded when I run the
rake task.
Rails doesn''t load symlinked fixtures either so I copied the files from
spec/fixtures for the time being. Not very DRY.
Any ideas ?
Keith
2006 Aug 14
1
Testing CRUD/Rest Controllers
I have a few simple controllers doing plain, simple crud in a standard way.
now it''s not very DRY to write a funtcional test for each controller, since
they are all doing the same (apart from a few variable names, but that could
be easily inflected or so).
is there a way to do this?
e.g. does inheritance work with tests, so i define a base test first,
inherit my other tests and add a few
2006 Nov 04
0
Controllers and Namespaces (no problem, just questions)
I''m a little late on finding this article:
http://habtm.com/articles/2006/07/01/if-your-models-arent-namespaced-why-should-your-controllers-be-or-how-i-learned-to-stop-worrying-and-love-the-crud
This idea does not sit well with me and am curious as to the Rails roadmap.
I''ve seen a couple things demonstrated in examples (Rails Book, api) that
later turn to become deprecated. As
2007 Mar 24
1
spec''ing metaprograming & rails CRUD
For edge rails there is a Crud generator. There is also a CRUD
controller that is out there from which you can inherit your other
controllers (see http://geekonomics.blogspot.com/2006/07/crud-and-
shared-controllers.html)
This got me thinking about Crud controllers in general. As far as I
know, the generator can''t produce crud classes which are nested
(i.e.
2006 Apr 18
2
Connecting to multiple databases with multiple database users
Hi everyone,
I was wondering what the common practice for handling multiple db
users with fine grained privileges on multiple databases is. Against
the often read guideline for rails users to keep with a single db as
"more dbs don''t really make sense anyway", my opinion is that it DOES
make sense to use more than one db schema for a number of reasons that
I won''t
2006 Nov 04
0
How do CRUD and REST work for a wizard-style application?
I''m rewriting an application with the intention to use the elegant
CRUD and REST design principles as outlined by DHH in his RailsConf
Keynote[1].
The question is: how do you use those principles for an application
that is of a sequential nature?
The application works much like an MS Windows wizard: user begins at
screen foo. After doing (or not) some stuff in screen foo, he is taken
to
2006 Apr 05
0
Providing limited CRUD access to arbitrary tables through a web interface.
Hi There
I''m starting Rails a project for the first time (used to work with PHP).
I have to provide administrator ("super-user") access to a large number of tables. The access should be available through a web interface (the tables rendered as HTML forms on the browser, probably through HTML tables inside the form). From the CRUD set mostly R(etrieve) and U(pdate) are
2010 Apr 06
2
respecting original matrix dimensions
Hi All,
I'm hoping someone else can help me out with this. I am doing some
matrix algebra using sub-parts of matrices, and sometimes I need only
a single row/column of the original matrix. However, whenever I pull
out only a single row/column, R returns a row vector, but often this
will break my matrix algebra. Is there any *easy* way to get R to
remember what the single row/column came out
2001 Aug 20
0
rc2 press release, a little belated, but with a nice surprise
This press release went out on a limited basis, but no one seemed to notice
the good parts.
Read about the contest, and start looking for bugs :)
----
Xiph.org Foundation Announces Ogg Vorbis Release Candidate 2
Featuring Bug-Hunting Contest on the Path to 1.0
The Xiph.org Foundation is proud to announce the latest release candidate of
the Ogg Vorbis open source audio codec. This new
2006 Aug 02
1
Use Non CRUD with Simply RESTful
Hey guys,
I''m trying out the new RESTful bits in Edge Rails, and am having a bit
of trouble wrapping my brain around certain things. For instance, say I
have a page that is separated into sections with tabs at the top. I want
to replace divs on the page with RJS.
Now typically before I''d have a method on the controller that rendered
an RJS template to accomplish this.
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
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 =>
2011 Jul 26
3
Package: virt-goodies - partly solved
For CentOS KVM migrations use the virt-v2v package part of base.
See this link,
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-v2v-migration.html
Am Freitag, 22. Juli 2011, 13:37:08 schrieb Timothy Kesten:
> Hi Folks,
>
> is here someone who knows where to get the package "virt-goodies" for
> CentOS6 64bit?
>
>
2006 Mar 03
2
newbie scaffold question
I''ve got a database with several tables. I''d like to create scaffolding
for separate CRUD interfaces for several of these tables. I''m hoping
that the scaffold generator can create the CRUD code for all these
tables in ONE controller, but I don''t know how to tell it to do that, if
it can.
Can anyone verify if this is possible?
Thanks,
David
--
Posted via
2006 Nov 04
0
Namespacing controllers
Sorry for the dup, but didn''t get a response with the first one, so I
cleaned it up a bit in hopes of getting a response.
There has been a couple of blogs (one posted at
weblog.rubyonrails.com"Things you shouldn''t do in Rails") that are
stating namespacing controllers
are bad and that you should avoid using them.
This idea does not sit well with me and am curious as
2006 Jan 17
0
asterisk.ctl limitations
Hi
I wrote a small patch to netcat to work with unix domain sockets to
enable me to communicate with an asterisk daemon through the
unix-domain socket /var/run/asterisk/asterisk.ctl .
Only then I noticed that reading the code is done very differently than
a typical network protocol: it expects every command in a separate read.
Basically I used the following filter to pipe commands from the
2007 Mar 19
3
controller_name with dynamic controllers
I''m writing a controller which should only be inherited from,
something like the generic crud controller seen here: http://
geekonomics.blogspot.com/2006/07/crud-and-shared-controllers.html
Now, in my spec, I would like to create a controller which inherits
from the generic CRUDController, without actually creating the
controller. This controller is *only* for testing.
How can I
2008 May 09
1
Test Unit can't change data
I have converted my engine from myISAM to InnoDB, the matter now in Test
Unit, the table cant do any changes for CRUD. Any advice? But if I
convert it back, the CRUD can run very smooth and data value in
attributes changed.
Reinhart
http://teapoci.blogspot.com
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2013 Jan 09
0
[LLVMdev] Using C++'11 language features in LLVM itself
On 1/8/2013 8:30 PM, Chris Lattner wrote:
> Wow, requiring GCC 4.7 would be really aggressive, it was just
> released in March 2012. Call me conservative, but I was thinking that
> a reasonable GCC baseline would be GCC 4.4 or something (which is ~3.5
> years old).
On considering which versions get you various C++11 goodies, I'd
personally recommend gcc 4.5 as the baseline: