similar to: RoR sucks, and heres why...

Displaying 20 results from an estimated 20000 matches similar to: "RoR sucks, and heres why..."

2005 Nov 23
8
Compiler OR Obfuscator for RoR applications?
Hi folks, I''m a newbie in the Ruby land, The Ruby language and RoR looks really great but I think in my situation there is a problem, we are an ISV that sells web application and we don''t want our clients see our source code, I searched the web but couldn''t find any way to compile and\or obfuscate ruby code (in web (RoR)), is there such tool available for the language?
2006 Jan 16
23
Read data from Excel
A client of mine has a ton of data stored in Excel spreadsheets. I''m building a web application for her (backed by a real db of course) and want to import all that data. Is there a library available to read data from Excel? Is there an easy way to upload the spreadsheets and then read the data? Thanks, Ken Kousen -- Kenneth A. Kousen, Ph.D. President Kousen IT, Inc.
2006 Mar 19
2
How to create a proper name for the diff for the RoR patch?
Hello, http://dev.rubyonrails.org/wiki suggests to: Create a patch with your changes: svn diff > my_properly_named_patch.diff but how this proper name looks like? olegf
2006 Mar 23
5
Dirt simple .rcss templates
There was some discussion on this list recently about doing .rcss templates in Rails using a custom template handler. I''ve come up with a very simple way to support rcss without a handler. Turns out all it takes is a route and an action that calls render(:file...). I put a full write-up on my blog earlier today:
2005 Dec 14
4
find_by_ issue
In the Agile RoR book, page 219 (softcover version) they talk about the fact you can use the methods: find_by_ and find_all_by_ and fill in the last piece with a valid column name. So I have a database table called "parts" and the following columns: id partname partnumber vendor I do the following: (connection to DB already established) class Part < ActiveRecord::Base end
2008 Feb 20
3
Can Rails and PHP work together?
Hello everyone, I am new to RoR, coming from an ASP.NET background. I''m currently working on a politically-themed social network, and I want to have multiple bloggers who will blog about various topics. My web host offers several PHP-based blogging engines, and I like WordPress, so I am trying to set it up with a subdomain such as blogs.mydomain.com/blog_name. However, I''m
2007 Dec 12
7
Release Retrospective
First off, congrats to everyone for getting Rails 2 released. A lot of work went into the release, and it''s good to see us reach this milestone. And now that the release dust has settled, I think it might be useful for us to have a retrospective and evaluate how the release went. I think the Ruby on Rails project has improved a lot this year, and this is another opportunity
2006 Feb 10
4
before_save gotcha
Is it will known and accepted that before_save triggers should return true? I didn''t notice this before but now I see it in the documentation. Here is what I''m doing in my model: def before_save if self.has_album? self.visible = self.album.visible? end end That results in the expected result when album.visible? is true - but not when it is false. To make it
2006 Mar 02
3
@session or session
Which is more appropriate? @session[] or session[]? Both seem to work. Is there a difference between which should be used in the controller vs. the view?
2006 Apr 26
4
Re: Rails AR/Oracle Unit Test: [4280] failed
The revised patch submitted on #4748 broke the build, I''m looking to sort out why. Also note that this auto-test email didn''t make it to rails-core because it was too big (every test failed, so the resulting email was huge). I''ll patch my auto-testing script to truncate the email to no larger than a few kb. Michael Schoen wrote: > "marcel" made
2006 Jan 09
6
What is AJAX?
What is AJAX? SteveT Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com
2006 Jan 15
6
Saving one-many associations (elegant solution please)
What is the most elegant way to save new one-many associations? order = Order.new(:name => "My Order") order.line_items << LineItem.new(:product_id => 1, :quantity => 2) order.line_items << LineItem.new(:product_id => 2, :quantity => 5) order.save The above - which is by far the most elegant way of putting it - doesn''t work for me - the line_items
2005 Dec 15
10
.rpdf ?
I haven''t delved into the wonderful world of PDF::Writer yet, nor have I run across a need.. but I just had an idea I wanted to throw out there how hard would it be to create a .rpdf template plugin for rails? could be neat ;]
2006 Mar 31
5
RoR 1.1 RJS problem
I''ve been playing with the new RJS stuff in RoR1.1, and I have to say that I''m am extremely impressed, NICE! work guys. However, I seem to be having a bit of a problem. I promise, I''ve googled the hell out of it and haven''t found an answer. Set up: Putting together a little proof of concept app. Display a form (index.rhtml) that just has a button to
2005 Dec 28
2
form reset after successful form submission
hi, what''s the way to reset the form generated by the form_remote_tag after the successful submission of the form? thanks
2006 Jan 03
4
Would someone like to tell me why this code will not solve my problem? (it''s short)
I am building an invoicing system but cannot use the auto_increment field to determine the invoice number (because they are running 3 different companies off the one system. I need to find the last invoice number from any given company and then add 1 to it to get the next invoice number. BUT, there is a unique case on the very first invoice produced because there is no earlier invoice
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out. It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0 But it seems to contain portions of, but not the complete library. Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8. What am I missing? > tmornini$ rails --version > Rails 1.0.0 > > tmornini$ rails test | grep
2006 Jan 11
6
RJS and layouts
Hi all, I''ve been using RJS more and more for my app and I have sorta run into a possible issue. My app has different user roles that require different layouts. So far, this has worked fine, but now that I''m using rjs more and more I''m finding that the two don''t really work together since I have to rails not to use a layout upon controller method
2005 Dec 16
3
Using :include "recursively" (including the children of the child)?
Hi, Let''s say I have the following hierarchy of tables: Group <- parent Location <- child of Group School <- child of Location Phone <- child of School Then, if I want to do this: Location.find(...someparms..., :include => [:schools, :group, :phones]) I get an association error (Association was not found). I guess it happens because AR is looking in the Location model
2006 Mar 22
2
Edge Rails (1.1.0 RC1) and Typo Trunk
I tried the current Typo trunk with Edge Rails (1.1.0 RC1) and ran into the following problems: 1) /public/../config/environment.rb:107: undefined method `enable_upload_progress'' for ActionController::Base:Class (NoMethodError). I commented this line out and installed the Upload Progress plugin and this problem _appears_ to have gone away. 2) The second problem I