Displaying 4 results from an estimated 4 matches for "timmel".
Did you mean:
himmel
2011 Nov 24
4
How do I destroy all the posts when the board is destroyed?
I got a application like following.
A board has many posts
All posts belong to a board
I try to destroy all the posts under a board when I destroy the board.
My destroy function is following.
def destroy
@board = Board.find(params[:id])
@post = @board.posts
@post.destroy
@board.destroy
respond_to do |format|
format.html { redirect_to(boards_url) }
format.xml
2011 Jan 08
6
Need help in Installing Rails 3.0.3
This is my gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [i686-linux]
- INSTALLATION DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136
- RUBY EXECUTABLE: /home/arjunkishore/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
- EXECUTABLE DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136/bin
- RUBYGEMS PLATFORMS:
- ruby
-
2011 Nov 15
4
Need some guidance on running shell commands from my app..
During execution in my Rails web app, I need to create a virtual host
config on my Linux server, but I don''t know what would be the best way
to do it , here are the steps ( my_domain.com is fixed, only
my_subdomain is changing dynamically
1- create: /var/www/vhosts/my_domain.com/subdomains/my_subdomain/conf/
vhost.conf
ServerName mysubdomain.mydomain.com
.. content is always the
2011 Feb 14
4
Begining with RoR, litle questions
Hello,
First, sorry about my english.
I come from lamp+symfony world, i understand the MVC design and so
on... my questions...
1. Should learn ruby 100% before entering the documentation for RoR?
2. Works with apache as module?
3. What about DB abstraction? something similar to PDO in php?
Appreciate a few links in addition to the official.
In short, a little guidance of where to start
PD: