search for: softiesonrails

Displaying 20 results from an estimated 57 matches for "softiesonrails".

2006 Jan 10
5
No layout for specific method
Is there a way to not specify a layout for a particular method in a controller? In this particular instance, I am using the admin layout for the login controller, but I don''t want the layout to be used on the "login" method. Thanks, Dan
2006 Feb 05
6
render partial -- show certain content only if...
i''m working on a _post.rhtml partial, and it displays one blog post. i''m accessing this partial on the list.rhtml and the show.rhtml what i''d like is to only show the "link" link on the list.rhtml and not on the show page. <%= post.title%> <br /> <%= post.body%> <%= link_to
2006 Jun 07
3
Silly question re: scoping of controller actions
Say that there''s a piece of functionality I want to call everytime the controller is invoked, regardless of what action I am calling. Where do I put that, exactly? Can I do that? -- Posted via http://www.ruby-forum.com/.
2006 Nov 08
0
[ADV] Ruby on Rails Workshop for Microsoft Developers
...Chicago (right near O''Hare airpost) on January 13, 2007 (brrrr!). We''ve rented a space that can only handle about 20 people, so if you''re interested please sign up soon. Cost is $249 for the full day, including meals. Complete details and registration: http://workshop.softiesonrails.com/ The original announcement can be found here: http://www.softiesonrails.com/2006/10/30/the-web-developer-s-makeover-registration-open Thanks! Jeff www.softiesonrails.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Goog...
2006 Mar 30
11
Rails 1.1 and Ruby 1.8.3
I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should upgrade to 1.8.4 I''m running ruby 1.8.3. What''s the story with it? Do I need to upgrade before I try Rails 1.1? Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
2006 Apr 01
7
BigDecimal column type?
I was hoping 1.1 would provide a way to map SQL "decimal" column types to BigDecimal values, since BigDecimal is part of the Ruby standard api as of 1.8. But I don''t see any support for that in the migration documentation, and when I try to let Active Record do the mapping for me, it seems to coerce the column into a Float (as the AwdwR book says). Is it really there in
2008 Mar 11
4
Host recommdations
Hi I want to host a simple site with Ruby quickly at first no DB - just a site that can run a Hello Ruby script will use a template page Also I am very new to this so help will be need any suggestions for a Ruby Hosting service? ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page.
2006 Feb 25
2
newbie advice
Hello Everyone - Newbie here. My programming experience is primarily SQL, SAS (if anyone knows that), and a little tiny bit of ASP. Want to get going on Rails. Any suggestions? Was thinking of "4 Days on Rails". Thoughts? Thanks - Brian
2006 Jan 13
2
newbie: access model inside a model
Hi everybody, I''ve started to learn Ruby on Rails with the two books, of course I''m experimenting outside the examples in the book and walking against some things I didn''t learn yet. so here''s the question: Is it possible to access one model from within another? Actually I have a Many to Many relationship between tables and I''m trying to realize
2007 Jul 12
0
Essential Rails registration now open
Hi all, Jeff here from softiesonrails.com... just wanted to get the word out that registration is now open for our next class, a two-day workshop for Rails beginners. Our one day "Web Developer Makeover" back in January was sold out, and a great time was had by all. Essential Rails is the two-day expanded version, geared fo...
2006 Aug 15
3
instance variables in layouts
There''s probably a simple answer to this simple problem, but I am trying to figure out how to reference an instance variable within a layout. In the controller, one method corresponds to a view of the same name. Those instance variables in the method can be used in the corresponding view. However, I want my instance variable to be accessible throughout all my views, not just one,
2006 Aug 01
2
tab characters with Rails 1.1 on Windows
We just upgraded to Ruby 1.8.4 and Rails 1.1. It works fine on my Mac OSX, but in Windows, Rails spits out errors like "Invalid char `\002'' in expression". Apparently, Ruby or Rails on Windows has a problem parsing tab characters. This seems to be a common problem: http://softiesonrails.com/articles/2006/04/27/spaces-not-tabs However, the only recommended solutions seems to be to replace all the tabs with spaces in your entire source tree. Is there a different solution? And does anyone know exactly why this is happening? thanks, Jeff -- Posted via http://www.ruby-forum.co...
2006 Apr 28
6
[OT] Ruby ftp client for windows
I know this is off topic, But, my boss has tasked me with finding a better ftp client than the one in Windows XP. Is there a Ruby client that can recover dropped connections, ( a resume feature)? Would be nice if it could handle secure/ encrypted transmissions as well? Failing that, can anyone recommend a good scriptable ftp client for the Windows plaftorm? -- Best Regards, -Larry "Work,
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
Good day all. This is one of the most frustrating days I have had with Rails in quite some time now (almost 8 months actually). Yesterday I complete my development and testing and everything is peachy. I head home for the evening and do my things there. This morning, I come back in and do my typical morning routine of starting up eclipse and the usual "ruby script/server" command in
2005 Dec 29
5
Extracting SQL and Rebuilding from SQL?
Hello- With a database filled with several customers'' datasets, I thought it would be a nice feature of my app''s backend interface to be able to extract (and optionally delete) the data from a single customer. It would then also be nice to rebuild that data from the stored info. What''s a good way to do this efficiently? If all the ":dependent => true"
2006 Dec 08
5
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire WEBrick using the development environment, it does not reload the app with changed views. I have to shut down WEBrick and restart it to see the changes. Has anyone else had this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2006 Jan 27
5
Before I write this myself, is there already an easier way?
...e the _structure.sql script (and lose all my data). Is there already something in rails that can do one or both of these for me? I guess I could take a whack at writing a couple of rake tasks, but I''m hoping that surely someone else has already written these already? Thanks! Jeff www.softiesonrails.com -- Posted via http://www.ruby-forum.com/.
2006 Jan 21
5
Help...why ''rake migrate'' can''t be executed on RadRails
''rake migrate'' command can''t be executed on RadRails? I found Terminal Window at RadRails and executed ''rake migrate'' on that terminal many times.but nothing happend,even error messages. I made InitialSchema file like these and configured database.yml. of course I made database before executing ''rake migrate'' anyone,get me
2006 Sep 07
6
form_for - Child object - how to set parent id
Hi All, I am just trying to learn ruby/rails so please don''t flame me if this is a stupid question. As a learning project I decided to create my own blog using ROR. I have created a controller that shows paged blog entries, and below each blog is a list of comments along with a form alowing the user to add a new comment. To create the form for the comment entry I used form_for
2006 Aug 07
10
RideMe 1.0 (Rails IDE for Windows) 1.0
...l Studio above your code file) * Code folding for Ruby files * script/console built into the IDE (think Visual Studio "Immediate Mode") * Server Error notification (template errors will actually open the view file and go to the LOC) * Internal web browser (optional) Thanks! Jeff softiesonrails.com -- Posted via http://www.ruby-forum.com/.