Displaying 20 results from an estimated 23 matches for "drnicwilliam".
Did you mean:
drnicwilliams
2006 Aug 07
28
Dr Nic’s Magic Models
...just any
old database tables you have lying around the home is all you?ll need to
perform this trick!
No cover charge. No free steak knives. No heavy lifting involved.
Installation, DIY magical instructions, and a world of mystery awaits
you at:
http://magicmodels.rubyforge.org
Dr Nic: http://drnicwilliams.com
--
Posted via http://www.ruby-forum.com/.
2007 Apr 19
4
Save sessions on file system instead of database table?
Hi
Is there a way to save session data on the file system (like in Rails)
instead of a database table?
The reason I''m asking is, that I''m writing a Camping application without
using ActiveRecord (mostly for learning purposes) and I don''t want to
use ActiveRecord just for sessions.
Thanks,
Thomas
-------------- next part --------------
A non-text attachment was
2006 Aug 02
4
RadRails and EdgeRails
Anyone know how to setup EdgeRails with RadRails ?
Stuart
2006 Aug 12
5
Administrative Console Screencast
The first administrative console screencast is now available at:
http://screencasts.visualjquery.com/demo1/
I''ve posted a bunch about the Admin Console, but it''s essentially an
automated scaffold that works as an engine.
The screencast is a quick overview of the minor things you''ll need to do
in models, environment.rb, and others, as well as ::drumroll:: a demo of
2006 Jul 24
9
Mongrel: auto-reload plugins?
When developing applications, Webrick will automatically reload
controllers, models, etc. if the source changes. For obvious reasons, it
doesn''t do this for plugins, which makes it a pain to develop said plugins.
I was hoping Mongrel might have some facility to say "watch this directory
too and reload any changes". Obviously, re-init''ing all plugins would be
2006 Aug 08
3
"undo" a model
In the event that I really don''t want a certain model, can I delete it?
Is there a tool that I can use besides ''rm'' to ensure I hit everything
related to the model?
Right now my only guess is to just remove all files that match a
filemask and hope for the best.
2006 Aug 08
3
Updating a tr with RJS
I''m having a strange display issue when trying to update a tablerow
using RJS.
This is the code in the RJS template:
page.replace_html "item_#{@item.id}", :partial => ''item_display''
So the existing <tr> has an id like item_1. When the update actions
completes, it renders this template and effectively replaces the tr with
item_display which as a
2006 Aug 10
0
[BTS] Dr Nic''s Magic Models - Class creation
...ve written up a
short explanation about the Class Creation feature of Dr Nic''s Magic
Models.
I know most forum posts start with "How do I..." but thought it might be
interesting reading for the ppl who answer the forum posts that start
with "How do I..." :)
http://drnicwilliams.com/2006/08/10/bts-magic-models-class-creation/
Cheers
Nic
--
Posted via http://www.ruby-forum.com/.
2006 Aug 12
0
Magic Models 0.7.1
Announcement
Release 0.7.1 provides support for the new rails 1.1.5/6 releases that
included an updated activerecord-1.14.4 version. It will now also
support all future version (as it should have in the first place)
More information on release:
http://drnicwilliams.com/2006/08/12/magic-models-and-activerecords-1144/
Description of Dr Nic''s Magic Models
Dr Nic''s Magic Models means you never need to write an ActiveRecord
model class again; or if you do write them, it will automatically
provide you with associations and validations.
Cheers...
2006 Aug 14
0
Composite Primary Keys - now works with Rails 1.1.6
....rubyforge.org/) is an
extension to ActiveRecords to provide support for composite primary keys
(Duh!) in a simple, transparent way. Your single primary key code should
work with a composite primary key model. Associations can even include
composite foreign keys.
Dr Nic''s Blog: http://drnicwilliams.com
Cheers
Nic
--
Posted via http://www.ruby-forum.com/.
2006 Jul 21
3
Extending scaffold with plugin
I want to create a new scaffold. Would it be best to implement as a plugin?
Any tips on how to get started?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Jan 20
1
Camping on Media Temple?
I''m getting into camping in a big way--I love that you can put
together full-fledged apps with so little code and overhead.
Does anyone know of any documentation about getting Camping apps
running on Media Temple''s GridServer? Of course I''ve found the
Camping server page[1], but I can''t work out how to associate running
camping apps with a (sub)domain
2006 Aug 02
0
Composite Primary Keys support for Associations
...omposite Primary Keys allows an ActiveRecord to support 2+ primary keys
using the set_primary_keys class method. Previous versions provided full
CRUD and find support. This latest release provides support for more
ActiveRecord magic: associations (has_many, belongs_to, etc)
Full report:
http://drnicwilliams.com/2006/08/02/composite-primary-keys-supports-associations/
Cheers
Dr Nic
--
Posted via http://www.ruby-forum.com/.
2006 Aug 08
4
Nic’s Magic Models, how about Magic Schema
I side with David when it comes to databases. They suck! Just my own
opinion.
So what about the people who don''t want to define validations and stuff
in the database, but still want to be DRY.
I really hate how the schema is separate from my models. I kind of like
how Django defines the table attributes in the model. I was think about
trying something like that in Rails.
You could
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are
2006 Sep 06
2
eclipse and radrails problems?
Ive been trying all day to get either eclipse or radrails to work on my
machine but I must be doing something wrong. If anyone could help Id be
much appreciated.
Im using windows xp. I first downloaded radrails and it looked ok, but
when I create a new rails project absolutely nothing is inside of it???
If I manually create the project in the command line it works fine and
the server
2006 Jul 20
19
Recipes versus Ruby for Rails: what''s best after Agile?
For expats from other languages, what''s the next best step after the
Agile Web Dev book:
Rails Recipes or Ruby for Rails?
Thanks,
--
Austin
--
Posted via http://www.ruby-forum.com/.
2006 Jul 21
2
New Generator: hasmanythrough
To the aide of anyone whose had to create new models, migrations and
unit tests for the common many-to-many relationship, using "has_many
:through" (that''s almost everyone).
I''ve created a new generator that generates two model classes, plus a
many-to-many relationship class, e.g. User, Group, plus the Membership
model between them. It also generates the migrations
2006 Jul 23
0
Composite Primary Keys 0.3.2
ActiveRecords with composite primary keys now seem to happily support
find/create/update/destroy options.
Url: http://compositekeys.rubyforge.org
Background:
Rails/ActiveRecords has long been critised for not supporting legacy
databases, especially composite primary keys. This gem extends ARs with
this support.
Cheers
Nic
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
0
page.replace_html render(:action => ''other_action'')
I want to be DRY. I have a controller action, component, that renders
html.
I have another controller action, component_update, that returns RJS:
This what I''d like for ''component_update.rjs'':
page[params[:scaffold_id]].replace_html render(:action => "component",
:layout => false)
page[params[:scaffold_id]].visual_effect :highlight
But, the render is