search for: jedgecombe

Displaying 14 results from an estimated 14 matches for "jedgecombe".

Did you mean: edgecombe
2006 Jan 23
3
running rake commands from rake migrate
Hi there, How can I run rake commands from a rake migration? I''m looking to run rake engine_migrate and others commands from a migration in order to migrate my engines along with my core app. Any advice is appreciated. Thanks, Jason
2005 Dec 14
2
console and webrick problems
Hi, I''m having errors when running webrick or the console. webrik starts, but give me an error when I try to load my controller. It give the same error as the console: #ruby script/console Loading development environment. /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in `exec'': No such file or directory - irb -r irb/completion -r
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi, I''d like to use migrations to build my initial database. Is there a gem or plugin that will generate the migration code for initial db if I point it at a live database or sql file? If yes, then can you automatically generate the incremental migrations as well? Thanks, Jason
2006 Jan 31
2
Setting a default order for a model?
Hi, I''m using a room model throughout my code. I keep doing the following: @rooms = Room.find(:all, :order => ''buildings.name, room_number'', :include => :building) I have to copy this into several of my controllers and I feel that I''m violating the DRY principle. Can I set this as the default order in my model? If so, how would I do that? Thanks,
2005 Dec 24
2
Where can I get a royalty-free/open-source spinner image?
Hi everyone, Where can I get a royalty-free copy of the spinner.gif or some other AJAX activity icon? I don''t want to swipe one without asking. Thanks, Jason
2006 Jul 31
1
Starting backgroundrb from rails and restarting with rails
Hi, I have my rails sites tricked out with capistrano, and backgroundrb, so I can easily use the ant tasks, but I would like to be able to start and stop backgroundrb from within rails. I have a few reasons for this: 1. Using fastcgi, backgroundrb would start under the apache user and the same mod_security context as apache, instead of my developer account which has many more privileges. 2.
2006 Jul 29
9
export to a CSV or XLS file
hello everyone, Any idea how can i export a resultset from a database to a CSV or XLS file from the application ? would like the user to have the option to export selected data to a CSV/XLS file. Any plugins or libraries avaiable to accomplish this ? Thanks for your time, VASU. -- Posted via http://www.ruby-forum.com/.
2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical impact of whether choosing memory-based tables in MySQL or using memcached. I got this far on my own: It seems that MySQL uses the NDB engine for transaction-safe memory access in a cluster. the memory storage engine seems to be faster but not synchronizable by any means in a cluster. memcached seems to be ultimately fast
2006 Jun 21
48
Freelance Rate
Hi, Not sure where to address this question ... but I guess this is a good start. I am a freelance Rails developer - and have been developing Rails apps professionally for about a year now. I just want to get an idea of what you other freelancers charge yourselves out at. I have been charging the equivalent of about $28/hour, but get a sense that I could/should charge a whole lot more. I am
2005 Dec 16
25
I Would Really Like to Try RoR but...
it''s been a nightmare trying to set it up. I keep getting a an Application Error message when I try to navigate to a url which should be taken care of by my newly created controllers. For instance, I wanted to test RoR out so I created a MyTest controller which should allow me to navigate something like: http://localhost/rubytest/MyTest but it does not. I have no problem getting
2006 Jul 31
1
How do I call a controller from a model, console, or outside of rails?
Hi, I''m writing yet another cms and I need to capture the html output of a rendered template including helpers, etc from within my rails app. I plan to use backgroundrb, and I need to be able to capture the output of "pages.browse()" where pages is my controller. I need to pass in the id param. How can I do this besides using Net::HTTP? Using Net::HTTP hangs when
2006 Feb 08
1
testing with loginengine and userengine
Hi all, My unit tests and functional tests are failing because my tests aren''t authenticated. I''m using using user engine and login engine. How can I fake authentication to make my tests work properly. Thanks, Jason Edgecombe
2006 Jan 27
1
Caching from screen scraping
Hi all, I need to do some screen scraping from my rails app. Given an ethernet (MAC) adress, I scrape results from an internal web page that returns location and hostname. How can I cache the result from that screen scraping as to be polite to the scrapee? I would like to expire the results daily. In perl, I would use Cache::File. Can I use rails caching for this? What''s the best
2005 Dec 15
4
CGI and FastCGI problems
I can''t my rails app to work with cgi or fastcgi. My app works using webrick. I''ve even hard-coded development mode in environment.rb in order to get most descriptive messages, but the best I get is the following in the apache2 errorlog: [Thu Dec 15 10:38:04 2005] [error] [client x.x.x.x] FastCGI: incomplete headers (35 bytes) received from server