Displaying 20 results from an estimated 100 matches similar to: "WebObjects-style Object Cache"
2006 Jan 13
0
Saving ActiveRecord objects that are composed of other objects
I''ve got two pretty simple model objects Page and PagePart. Page
has_many PageParts and PageParts belong_to Pages.
When updating PageParts for a specific Page I''d like to be able to do:
page.parts[x].content = ''changed''
page.save
and expect that should the validation pass the changed page part would
be saved as well, but this doesn''t seem to
2006 Jun 16
0
WebObjects Development training
?bermind, Inc., a leading developer of enterprise level applications,
announces it''s WebObjects I Development course. This five day course
offers an intensive look into designing, building and deploying Web
applications using Apple''s WebObjects technology.
Based on over a decade of professional consulting on WebObjects
projects - for clients from Apple to the U.S.
2007 Sep 24
1
IE memory leak and update()
Hello
I have following code in my project and it''s a question for me if it
causes memory leaks in IE.
pagePart = getSearchResult(); // retrieve part of the page w/ search
result from server
$(''container'').update(pagePart);
$$(''#container a'').each(function(a) {
Event.observe(a, ''click'', ...); // handlers for link clicks
});
As you
2006 Apr 10
4
Many To Many''s Join table attributes + migrations
Hi all,
just joined and have only just kicked off with Rails (coming, but not
departing, from WebObjects development). And so far there seems to be
a lot of promise except for one thing I can''t figure out as yet --
the above problem.
Say I have the following conceptual relationships:
ITEMS <<--->> CARTS
i.e., each item can belong to one or more categories. So really
2006 Feb 16
21
RoR VS Rails ???
I didn''t get a chance to go to this meeting debating WebObjects Vs
Rails, but here''s a report about it:
http://desperatepundit.com/blog/cremes/technology/2006/02/15/WebObjects-versus-Ruby-On-Rails.html
I don''t get what he''s saying, hand coding the model? yeah, you COULD ...
but what about script/generate ???
And is that so what he said about security?
--
2006 May 23
9
Shameless plug of my web 2.0 app
Apologies if this is out of place. I just wanted to mention to the
list that I''ve completed my first Rails app and wanted to show it to
you guys. The site is The Best Stuff in the World! which you can
reach here: http://www.thebeststuffintheworld.com/
Any thoughts would be great, I can be reached at adrian@mindjar.com.
I''ve been lurking here for a little while, and well,
2006 Jul 04
4
ROaR: A Ruby on Rails Podcast
I''m starting a new podcast to cover some of the hot topics going on in
Rails. Half news, half interactive, all community. As always, the
first episode kinda sucks but I''m looking forward to feedback from all
of you on how to make it better.
http://www.simiancodex.com/roar/
or for iTunes people
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=163609703
Michael
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 Mar 13
2
relationship woes
I have two tables:
class PgmUpdate < ActiveRecord::Base
has_many :pgm_visits, :foreign_key => ''pgm_update_fk''
...
and
class PgmVisit < ActiveRecord::Base
belongs_to :pgm_update, :foreign_key =>
''pgm_update_fk'', :dependent => true
...
According to the has_many docs (http://api.rubyonrails.org/classes/
2005 Jun 16
3
PostgreSQL Scaffold Doesn't Insert PK?
I am new to Rails and Ruby. I''ve been a WebObjects developer for a few years
and before that J2EE (shudder). I wanted to try RoR so I am porting an
existing Web app.
I am running the latest release on Tiger and PG8.
Right now my single table has three attributes:
id | integer | not null
hotel_name | character varying(255) | not null
hotel_location |
2012 Mar 04
0
Icecast Digest, Vol 94, Issue 2
Hi,
My name is Edu, living in the Netherlands
I good be a great thing, to get a list of ogg radiostations for my website
www.fm88-108.nl/radio/
I have update this for html5 player so can now play also ogg
I want make an ogg radio list on wwr frequency's to get the visitors
favorite stations in memory mind how know the frequency
This will make find back easy and looking for others stations
2006 Aug 14
4
Controller method problem
Hi,
I have a def in my controller see below where i want to find the page
object based on a parameter value and then use the page_id to then find
all the contents that belong to that page in the same method.
Controller
def aboutus
@page = Page.find_by_name(params[''About Us''])
@contents = Content.find(:all,
:conditions => "page_id = #{@page.id}")
end
2006 Mar 14
14
Gusto.com Rails Site
Hello -
I wanted to announce a very large web application that was built with Ruby
on Rails and runs the site Gusto! http://www.gusto.com/ . It was deployed
yesterday in a little over 4 months of development with 3 developers. The
origins of the site were being developed in Java using Hibernate + Tapestry
and the decision was made to port the 100+ table model to Rails to see if
there were
2006 Jul 02
4
Ruby on Rails + DB2
Received this link from a regular email blast, it may interest some of
you. I guess RoR is starting to gain more traction :-)
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606dumbill/?ca=dnw-723
Cheers
Mohit.
2006 Apr 19
9
translating RoR framework into the Java environment
For a company study I am trying to come up with what would one need
to replicate *grosso modo and at the functional level* what we get in
Rails. This does not need to be an "equivalent" solution, just what a
Java programmer would build upon, the canonical aggregation of
components, the usual tools.
My first fraft is:
Struts -> C layer
Hibernate -> M
2006 Jan 08
6
newbie session confusions
I''m totally baffled by the relation between objects and the session
and when an object is still available. It seems to me that there
should be a simple session.rb file (like the session.java file in
WebObjects).
Right now, I''m just trying to figure out how to keep an object
around, say a User object, without saving it to the db, so that I can
tell at any point whether the
2008 May 21
11
Per-user home filesystems and OS-X Leopard anomaly
I encountered an issue that people using OS-X systems as NFS clients
need to be aware of. While not strictly a ZFS issue, it may be
encounted most often by ZFS users since ZFS makes it easy to support
and export per-user filesystems. The problem I encountered was when
using ZFS to create exported per-user filesystems and the OS-X
automounter to perform the necessary mount magic.
OS-X
2008 Jan 11
3
Date range queries return zero results
Hello,
I am having trouble getting data ranges to work correctly. I am using
the following command to load the db:
index << {:title => row[7].to_i,
:date => Date.strptime(row[3], ''%Y-%m-%d''),
:page_id => row[5].to_i,
:page => row[6].to_i,
:content_type => row[1].to_i,
2006 Jun 03
8
confused about ActiveRecord relationships
I am very confused about where to put the belongs_to and the has_one
(and other relationship identifiers). I have read the RDoc and the
agile book many times about this and I think i still see it backwards.
Let me outline my app so you have an understanding...
I have 2 tables:
Schools { id, school_name, address_id }
and
Addresses { street1, street2, city, state, zip, country }
*** this
2006 Feb 28
0
Want To Listen To Chad Fowler''s Keynote Presentation?
Chad Fowler gave two keynote presentations at CUSEC 2006 in January.
The second one he gave was entitled "Rails is Boring and Ruby is a
Toy" and is available through the SOENlive podcast. For those
handful who might of not heard of Chad Fowler yet, he is the author
of "Rails Recipes" which is presently available as a beta book.
(Great book, you should get it out)