Displaying 20 results from an estimated 48 matches for "creme".
Did you mean:
kreme
2006 Nov 16
2
test unit approach?
I''m just getting back to looking at backgroundrb after a long hiatus
since June. I''m looking at creating some workers but I''m a bit stuck
as to how I should write tests for them. What''s the recommended
approach for unit testing of workers?
The project will ultimately be used by a Rails app but I''m
comfortable developing the worker code as a
2006 May 21
12
TDD for Rails book?
It seems like half the people on this list are writing a book on Ruby
or Rails. For all the hints I''ve seen strewn across the list I have
yet to see one that will focus on test-driven development for either
Ruby or for Rails.
If anyone is looking for a topic, please consider this. I''ve been
trying to wrap my brain around the TDD process, but its way of
thinking is
2006 May 20
10
HOW TO create a new record and its associated objects within the SAME PAGE
hi,
can''t find any good tutorial or advice to deal with the creation of a
new record and it''s associated objects within the same page.
do i have to use ajax just to add custom form fields that will be
handled by the controller for associated objects creation.?
do i have to use ajax to add associated objects to the unsaved but
allready in session parent object?
what''s
2006 Jun 16
2
need help mocking out a method
..."cca3c300-df8f-0128-85c8-000a95ba12c4"]
def get_next_uuid
@mock_uuid.shift
end
end
class StorageControllerApiTest < Test::Unit::TestCase
[big snip of standard stuff]
def test_assign_uuid
a = @controller.get_next_uuid
# fails before assertion
end
end
cremes$ ruby test/functional/storage_api_test.rb -n test_assign_uuid
Loaded suite test/functional/storage_api_test
Started
E
Finished in 0.074318 seconds.
1) Error:
test_assign_uuid(StorageControllerApiTest):
NoMethodError: You have a nil object when you didn''t expect it!
You might have expe...
2006 Apr 09
1
Boot loader problems and some tests
...u can give me you comment on the problems I had
with 'your' bootloader (partly I already have feedback) and
perhaps those problems can even be removed.
For those persons maintaining bootloaders without problems,
this is just for their information that it works.
Sincerly
Nico
[0]: http://creme.schottelius.org/~nico/linux/debug/boot_loader/ast/
--
Latest release: ccollect-0.3.3 (http://linux.schottelius.org/ccollect/)
Open Source nutures open minds and free, creative developers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: appli...
2006 Nov 22
3
RESTful web service design question
I''m working on a Rails app that needs to expose a RESTful web service. I''m curious to know some of the best practices as it relates to RESTful API design.
Let''s say I have a set of related objects on the server side. I''ll use the venerable subscribers, subscriptions and magazines example to lay it out.
class Subscriber < AR
has_many :subscriptions
2006 Nov 18
1
ActiveResource sample code?
I''d like to play around a bit with ActiveResource for consuming a web
service. Does anyone have sample code they would be willing to share?
I''ve googled all around and have come up empty except for simple (non-
working) examples given in the RailsConf keynote and some associated
blog entries.
Thanks!
cr
--~--~---------~--~----~------------~-------~--~----~
You received
2006 Jul 27
7
WebService
Hi all!
how do I make a WebService using rails?
thaks !
--
Cordialmente,
Carlos J?nior <junior@boanoitebh.com>
(31) 9244-6543
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060727/f52d1e1c/attachment.html
2006 May 18
2
How to debug the rendering in Rails?
Hi,
I have some controller code like this:
def mailing_lists
@ml = MailingList.find_by_identifier(@params[:id])
@messages = @ml.messages
@headers["Content-Type"] = "application/atom+xml"
@response.headers[''Last-Modified''] =
@messages.last.created_on.httpdateunless @
messages.empty?
minTime =
2010 Oct 06
2
rspec2 observations
...(which doesn''t print this warning).
*****************************************************************
DEPRECATION WARNING: you are using a deprecated constant that will
be removed from a future version of RSpec.
* Spec is deprecated.
* RSpec is the new top-level module in RSpec-2
/Users/cremes/.rvm/gems/rbx-head/gems/rspec-expectations-2.0.0.rc/lib/rspec/expectations/backward_compatibility.rb:6:in `const_missing''
*****************************************************************
I don''t know if this is an issue with RSpec-2 or if Rubinius & JRuby require an update...
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?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 07
9
[OT] Rails is built into OS X 10.5
This coming out of WWDC. Pretty cool to see this kind of thing happen.
--
J "Brien" | HybridIndie Productions | http://hybridindie.com |
hybridindie@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060807/380ae29c/attachment.html
2019 Nov 08
1
Suggested update to the Wiki page on PXElinux (UEFI-related stuff in ISC dhcpd.conf)
...ent-uids DHCP option.
The related common omission in PXE oproms or rather DMI BIOS tables
really hurts us a lot.)
Also, freelance PXE booting (as compared to turn-key end-to-end
proprietary solutions by Microsoft, ACP Thinmanager and the like)
tends to be one of the universal hot-spots of "creme de la creme"
DHCP sorcery :-) Unfortunately there's no escaping complex
configurations and ugly details... Or, would you suggest a rather
more appropriate "hosting space" for complex boilerplate dhcpd.conf
examples? ;-)
I believe that even this mailing-list posting of mine...
2006 Jun 06
4
no view involved...
The canonical example of using BackgrounDRb involves updating a
progress bar on some user''s web page. Therefore, the long running
background process has some affiliation with a view.
How can backgroundrb be used for long running processes that are NOT
associated with a controller/view? Is this even possible? I
understand the nature of Rails is such that it does "just in
2006 May 22
2
good practice or waste of time?
I have what I hope is a simple question regarding a security practice
I''ve been using in my first Rails app. I want to know if it''s
worthwhile or if the extra typing isn''t worth it.
I have 3 models that are related to each other.
class User < AR:Base
has_one :library
end
class Library < AR:Base
belongs_to :user
has_many :items
end
class Item < AR:Base
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
By default, Mongrel will delete the HTTP request body and short
circuit calling any handlers if a request is interrupted or
incomplete. Unfortunately, this breaks any attempt to correctly
handle a partial PUT. (BTW, PUT is *way* more efficient for uploads
compared to POST which requires a MIME parsing step.) So, about a
month ago I wrote up some patches to Mongrel 0.3.18 that allowed
2006 Jun 28
3
Best way to structure this?
I''m thinking of an application in which a user can request for different
items (like office stationery). So, I have a table of users and a table
of requests. The thing is that depending on the item requested, the
parameters are different - for example, pens may have {colour, width,
type} while paper may have parameters such as {colour, size (A4,
letter, legal), stack size,
2006 May 15
3
where do I put this test?
I''m trying to use TDD on a Rails app. So far (6 hours into it) things
are going well.
My data model is starting to get a little more complex now. I now
have two related tables and I want to make sure my tests cover input
validation, record creation, and the proper creation of the foreign key.
Do I put this into a test unit for the parent table''s model?
Or do I test this
2006 Nov 26
2
Writing a mod_put HttpHandler
I''m looking at writing a Mongrel handler that mimics the behavior of
the Apache mod_put [1]. It allows for the streaming upload of very
large (GB) files; it also supports resumable upload.
Before I get too involved, I''d like to ask if my reading of the
mongrel source code is correct, i.e. what I want to do isn''t
currently possible.
Looking at the class
2006 Nov 28
34
Uploading Large (100mb+) files
I have an Apache 2.2.3 (mod_proxy_balancer) frontend server that does
not have mongrel installed. It does proxy requests to several other
mongrel-only servers (each running 2 mongrel processes). Each mongrel
node has the same rails code-base and it''s working perfectly.
However, my question is when I add an upload file form... where is it
going to physically put that file? I mean since