Displaying 20 results from an estimated 5000 matches similar to: "I need untyped associations"
2006 Jan 09
1
AR: Quoting in Join Model Test
Greetings made men of rails!
I am presently writing a new database adapter for rails to bring the
OpenBase community on board. In working through the rather extensive
AR tests (which I very much appreciate), I have come across a
question I can''t seem to answer on my own.
In the test_has_many_with_piggyback(AssociationsJoinModel) the result
is expected as a quoted integer
2005 Dec 18
8
Invoking Rails from an API
Hi,
I am trying to use ruby int an embedded web server. The environment
does not have the luxury of CGI or WebBrick. I find limited
documentation on how to get this to work. As a test program on windows,
I tried the code in the section below.
I have the issues.
1. Is public/dispatch.rb the right script to invoke a rails app? If
so, what is the right way to invoke dispatch.rb?
2.
2006 Jan 30
14
RoR admin system
I''m preety new at RoR (and programming), I tried a few tutorials, and
really like the RoR simplicity, but my knowledge of the framework still
isn''t very good (to be true, i understand the basics, but not everything
that''s in the tutorials).
But still I''d like to create a website which has:
- front end interface (with no edit functions)
- admin interface
2005 Oct 29
1
Navigating Rails Projects
I''m finding my larger rails project increasing difficult to navigate.
Model,. controller, view, and helpers being seperated, as well as
there being so many small fragments, it can be awkward to find a
partial on a complex page, and awkard to move among all the compents
that need to be touched for a non-trivial change.
Just wondering if anyone had any tips regarding this.
Thanks,
Nick
--
2006 Jan 21
4
Ruby processes consuming 1,000 megs of swap space
Hi all. The subject pretty much says it.
I''m running on a VPS-style shared server at pipespring.com. I''ve got Typo
setup, and have been running it fine for about a month.
However, today I got an e-mail from my host saying they disabled Ruby (chmod
000) because it was using waaay too much swap space.
I haven''t changed anything with my server at all (Rails or otherwise)
2006 Feb 24
1
store rhtml in database
Has anyone done this? I want to store the rhtml (template) in the
database, but not sure how I can code the controller to generate the
file html and send it to the user.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 05
3
Ruby OpenID library and OpenIDLoginGenerator
Version 0.9.2 of the Ruby OpenID library has been released. This latest
release contains a port of the rails LoginGenerator (OpenIDLoginGenerator)
that uses OpenID for authentication.
Read more and download the library:
http://www.openidenabled.com/openid/libraries/ruby/
http://raa.ruby-lang.org/project/openid/
A bit about OpenID:
OpenID is a URL based identity system. An OpenID identity is
2006 Jan 08
22
Putting it all in one place with Schemas
I''m still relatively new to ROR, but I like what I see with the
database-neutral approach of Schemas. In the spirit of keeping it
simple and minimizing the number of files and location of information,
does ActiveState currently allow me to go ahead and place other low
level model information such as validation requirements and associations
inside the schema rather than putting it in
2005 Dec 18
7
Testing against 1.8.4
So apparently 1.8.4 is soon forthcoming. We need testing against it.
Could someone help out with that? I believe Ara already checked into
some of the issues, do you know if those are resolved, Ara?
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com -- Online project management
http://www.backpackit.com -- Personal information manager
2010 Jun 02
8
Read error: #<TypeError: can't modify frozen string> raised from HttpParser
Hey guys,
Started running unicorn in a production server like two weeks ago.
It''s been running smoothly, but looking at the logs found 44
exceptions like this:
E, [2010-06-02T16:17:15.117071 #22680] ERROR -- : Read error:
#<TypeError: can''t modify frozen string>
E, [2010-06-02T16:17:15.117270 #22680] ERROR -- :
2005 Aug 08
1
php_serialize-1.0.2.1.rb questions
Has anyone used this to get data out of PHP sessions?
I can get data out using the php_unserialize function however I am
getting a array of strings that looks like this:
["key1: data1","key2: data2"]
I would rather get RoR session style of associative arrays
["key1"=>"data", "key2"=>"data2"]
Am I just being dense and there is an
2006 Jan 17
14
Prototype Size?
There''s a good article at
http://news.bbc.co.uk/1/hi/technology/4616700.stm that says, in a
nutshell, that people form their impression of a Web site in 50
milliseconds. With an 80K download for prototype, that leads me to ask:
"how can page sizes be trimmed and still use cool features"?
I recognize that browsers may feel free to download these scripts
asynchronously, but
2005 Jan 31
4
aggregating dates
I have a frame which contains 3 columns:
"date" "defectnum" "state"
And I want to get the most recent state change for a given defect number. date is POSIXct.
I have tried:
aggregate(ev$date, by=list(ev$defectnum), max)
Which appears to be working except that the dates seem to come back as integers (presumably the internal representation of POSIXct).
When I
2003 Nov 13
5
xlims of barplot
I would like to create a family of barplots with the same xlimits. Is
there a way to "read" the xlimits from the first graph so I can apply it to
the subsequent ones?
I have tried just taking the min and max of the x data and the plot doesn't
show.
cheers
[[alternative HTML version deleted]]
2003 Feb 15
3
Perl on Windows XP for Rcmd build
Is there a recommended binary version of perl to use under Windows XP
for `Rcmd build'? The R FAQ for Windows just mentions "perl". I
think that Kevin Wang's document on R for Windows suggests ActiveState
perl but I have not been able to install it.
I am running Windows XP Professional on a laptop. The operating
system was originally Windows 98 then upgraded to Windows ME
2005 Jan 19
5
easing out of Excel
I know enough about R to be dangerous and our marketing people have asked me to "automate" some reporting. Data comes from an SQL source and graphs and various summaries are currently created manually in Excel. The raw information is invoicing records and the reporting is basically summaries by customer, region, product line etc.
With function such as aggregate(), hist() and pareto()
2005 Jun 27
9
FK constraints overrated?
Hello folks,
I use to think that a relational databases without foreign keys
constraints enforced strictly by the RDBMS were no good, piece of crap,
data junk.
However, I''ve also learned the hard way that FKs constraints imposes
serious difficulties when moving data around, specially between
different DBs, or for loading test data or for upgrading DBs schemas, or
for porting DBs
2006 Feb 21
2
Production ecommerce sites?
Hi All
First post and its a question of Rails abilities. I was wondering if their
are any examples of a Rails application driving an ecommerce shop site.
Selling a catalogue of products? We''re looking at starting our first major
Rails project at work and wanted to gather some examples to sell to the MD
as PHP is becoming a drag and there''s so much more possibility in Rails.
2019 Apr 08
1
ActiveTCL has non open-source license
https://cran.r-project.org/doc/manuals/R-admin.html#Installing-R-under-macOS
https://www.activestate.com/activetcl/downloads links to ActiveTCL which
has non open-source license:
http://docs.activestate.com/activetcl/8.5/get/license/
"ActiveState Confidential Information includes the Software, including all
source and object code, and all associated documentation, but not
Accessible
2005 Jul 11
2
ActiveState Perl, cygwin and R (was: cygwin tar?)
Hello!
I have just read mails in thread
<http://tolstoy.newcastle.edu.au/R/devel/04a/0583.html>
about problems with Cygwin and Rtools. I had the same problems and kept
just the newest cygwin1.dll and things seem OK now. However I
currently hit the problem with Perl (I have ActiveState and Cygwin Perl
installed). When I tried to work with 'Rdconv' in Cygwin I get the following:
$