Displaying 20 results from an estimated 9000 matches similar to: "Migrations w/o Rails?"
2009 Jul 02
3
Extending the storeconfigs database
I''m adding tables to the storeconfigs database, to support my
storereports plugin, and would like some guidance on handling the
schema version.
First prize would see my database extensions applied as migrations.
But then ActiveRecord would want to bump the schema version.
Any ideas on how to handle this gracefully so that I don''t confuse the
hell out of puppet itself, on
2006 Nov 17
8
Basic search, quick question
Hi, I know there are other threads about this topic, but I''ve checked
and none seem to help my problem.
I''m trying to get a simple search to work on my Rails app, but I get a
"Couldn''t find Recipe without an ID" error when I search. Here''s what I
have:
list.rhtml
<%= start_form_tag :action => ''find_recipes'' %>
2006 Jun 15
3
rails-based blog roundup
I''m considering rolling my own rails-based blog, but want to take a
look at what''s available first. Here''s what I know about:
Typo
http://typosphere.org/
Simplelog
http://simplelog.net/
Mephisto
http://weblog.techno-weenie.net/2006/6/12/mephisto-out-in-the-wild
Am I missing anything??
Thanks,
-TJ
2006 Jun 11
3
[SUMMARY] Rails Core Weekly June 5 - June 11
Dear list,
This weeks RCW has a slightly different format than before. After all,
since what we want is less bloat, this RCW is less verbose. Please do
let me know what you think off-list.
*Interesting stuff on the Rails Timeline*
_Fixed and commited to trunk:_
An issue with not null columns in SQLite3 migrations(<a
2006 Feb 28
2
dispatch.fcgi aborted: error parsing headers
I''m trying to do file upload with rails and fcgi. Basically, i want my
users to be able to upload images on the server.
After the upload, I get a 500 error from apache and in the error log I
find this:
FastCGI: comm with server
"/var/www/workspace/mydomain/public/dispatch.fcgi" aborted: error
parsing headers: malformed header
2011 Nov 20
2
ltm: Simplified approach to bootstrapping 2PL-Models?
Dear R-List,
to assess the model fit for 2PL-models, I tried to mimic the
bootstrap-approach chosen in the GoF.rasch()-function. Not being a
statistician, I was wondering whether the following simplification
(omit the "chi-squared-expressed model fit-step") would be appropriate:
GoF.ltm <- function(object, B = 50, ...){
liFits <- list()
for(i in 1:B){
rndDat <-
2006 Nov 16
2
Creating and writing to a file
Hey guys,
What would be the best way to create and write to a file? Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
2001 Mar 27
2
smbclient -b parameter
I've got problems getting files from a win2000 server using smbclient
(see subject "SMBClient & Windows 2000"). I've tried using the -b
parameter (documented in the online man pages) to change the buffersize
in case that might be the problem but the smbclient I'm running doesn't
recognise it. I've installed 2.0.7 on Compaq Tru64, smbclient declares
itself as
2006 Mar 21
7
Rails and JRuby
Has anyone attempted to run Rails inside of JRuby?
Is that even possible?
Aside from the performance implications, is it a bad idea?
I''m thinking that it might be useful in very rare cases where a
Ruby/Rails - equivalent of a Java solution may not exist yet.
Any thoughts?
Wes
--
Posted via http://www.ruby-forum.com/.
2007 Nov 07
7
Help on loop
Hey,
I have got a script that returns a long list of font family names, which
I all want to store in a variable (array). I tried doing this with @f =
font.family also in the for loop below but it only prints the last item
when I want to display the results.
require ''rubygems''
require ''RMagick''
include Magick
for font in Magick.fonts
puts font.family
end
2006 Sep 18
16
Dynamic fields and AAF
Hi,
I have a model which has properties, these are your standard name/value
pairs, but also have attributes that affect how I want to store them in
ferret. I was using 0.9.5 with 0.2 of aaf, which seemed fine, I just
copied and pasted (yes, I know, ick) the to_doc method and added code to
iterate though the properties that that model had, and add relavent
fields to the document.
It seems
2006 Feb 10
1
Caching in development mode on webrick
Hi,
I''m running a more or less up-to-date system, and am encountering
something that''s irritating me:
I make changes to the .rhtml file, and yet don''t see them from my
browser. The development.log file indicates that 1) I am indeed in
development mode, and 2) queries are being run against the database, so
something is happening - it''s just not reading in the
2006 Feb 12
1
fcgid -> errors
Hi,
I''m trying to get rails running on Debian stable with Apache 2,
mod_fcgid, Rails 1.0. The application works fine with webrick (*).
Let''s start here:
@eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi
Status: 500 Internal Server Error
Seems to result in the following in the log files:
[12/Feb/2006:12:18:40 :: 4105] starting
[12/Feb/2006:12:18:40 :: 4105] terminated
2006 Aug 17
3
Use collection_select
I use the following code in my view:
<%= collection_select(''datedata'', ''date'', @allDate, :id, :date) %>
It''s show me the date of all entries in the database (Dropdown menu).
Additional, I wrote a helper method "showDate" in the
application_helper.rb! How can I use this method in the
collection_select for every date entry?
thanks
2006 Jul 09
5
Tip: searchable Rails api docs from within RadRails!
Just a tip for those of you using RadRails. If you install the new
rubygems 0.9.0, you can type "gem rdoc --all --ri" at the command line.
Then, open up RadRails, go to Window->Preferences->Ruby->Ri/rdoc and
change your ri path to the path to gemri (which gemri). Finally, open up
your RI Eclipse view and voila...indexed, searchable rails api docs at
your finger tips!
This
2001 Feb 23
1
Problem with mput * on Tru64 ?
Samba 2.0.7 running on Compaq Tru64 UNIX V5.0A with latest tru64
patches.
"mget *" works OK, "mput *" or something like "mput *.bat" fails with
the error message "find: bad option -maxdepth".
Several questions - Anyone else come across this one? Would dropping
back to 2.0.6 fix the problem? Could it be an issue with 2.0.7 on Tru64
V5?
Regards,
Brian
2006 Jul 25
8
Calender Script?
I have been trying to get one of the calender javascripts to work with
the <%= form.text_field. So when the user pick the date it updates the
time fields? (like in normal reservation system where you pick up the
date and time from the calender and when user pick the selection it
updates the field) but I could not get this to work.
Does anyone have got something similar to work? or could
2006 Mar 09
3
How to copy between databases?
I want to copy data from one database to another using rails. But, it seems
that rails only will talk to one database at a time. Is there a way around
this?
Any help would be greatly appreciated.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Mar 24
10
innodb vs myisam
Hi,
I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really:
1. are transactions in activerecord dependent on innodb or do
2007 Jan 11
3
rake db:migrate doesn't work anymore
Hi!
Up to now, i had no problems with my migrations and rake (rake
db:migrate). Today, i got a project from a svn repository, but i can''t
do "rake db:migrate":
"rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile''
(See full trace by running task