Displaying 20 results from an estimated 100000 matches similar to: "Re: Help from rubyonrails 2.1"
2008 Jan 19
0
Help with email attachments, please!
Hi everyone,
I would like to attach a posted file to an email, but am having an
awfully hard time finding examples...
The file is coming from a ''file_field'' in my form and the form is set
to :mutlipart => true, :method => :post. Does anyone have some sample
code to attach the file to an outgoing email?
Thank you,
Brandon Taylor
bTaylor Design
www.btaylordesign.com
2006 Dec 14
4
need help rubyonrails/mysql problem
Hi everybody,
I am new in rubyonrails, and I am trying to learn it so I try to
implement tht examples in the agile web developement with rails. I have
stopped when I want to use scaffold. as it is mentionned in the book:
ruby script/generate scaffold Product Admin
but i get an error: it said no such file or directory /tmp/mysql.sock
I have checked my configuration of mysql and i found that mysql
2006 Oct 17
2
how to do scheduling in rubyonrails
can you please tell me how to cerate an automated mail generation in
rubyrails in specific time period .My requirement is to check the user
last log in and generate an automated mail after 3 months or one year
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this
2009 Jan 14
7
Utter Newbie, HELP!!!!
Dear Ruby on Rails Expert with Compassion for a Newbie,
(:->)
I just got started. I tried:
At the Windows Command Prompt:
ruby
puts "Hello, world!"
^D
The response is: -:2: syntax error, unexpected ''^'', expecting $end
I am using Ruby 2.2 (ruby186-26.exe). What can I do, besides pull
out my hair? This can be very discouraging for a complete novice.
Roger
2008 Sep 06
4
Is Rails 2.1 "protect_from_forgery" == csrf_killer plugin?
Just would like to verify:
Is protect_from_forgery (in Rails 2.1) == the csrf_killer plugin from
Rick Olson?
Thanks,
Wes
--
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
2008 Jun 03
1
Rails 2.1 and default setting of Partial updates
I just updated to 2.1 and created a new, empty project. According to the
docs I''ve seen, including:
http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-partial-updates
The file config/initializers/new_rails_defaults.rb has the default
setting for partial updates and just needs to be edited: "Note: There''s
currently a config/initializers/new_rails_defaults.rb
2007 Jul 26
1
Scroll Page While Dragging 'draggable_element'
Hi - I posted this on another list, but received no response, so I''m
trying this one. My apologies to those who have seen this question
twice.
I have two columns, one of draggable elements, the other of
droppable elements. These are used to add items to a particular
collection. (Story :habtm ''Assets'')
Column 1 (Assets) Column 2 (Stories)
==============
2007 Aug 31
1
wiki.rubyonrails.org on the fritz
Is there some reason the wiki is down so often?
Can''t something be done to make this a useful resource, most of the
time?
Scott
--~--~---------~--~----~------------~-------~--~----~
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
2008 Jun 15
5
Ruby on Rails 2.1 Tutorial
Hi,
I have put all the basic things in place and you will find it a working
tutorial for Ruby on Rails 2.1.
http://www.tutorialspoint.com/ruby-on-rails-2.1/
I have covered Model, Controller and Views in detail and you will find a
nice example on scaffolding.
If you like this tutorial then please share it with others....Oh
yes...if you have any feedback then please definitely send it to me.
2008 Jan 06
2
Im looking for RubyOnRails Hosting, but with many sides.
Im looking for some RubyOnRails Hosting.
but: i will seperate the domainregistry and the hosting.
i want to point one or many domains to this hosting without to
register the domains with the hosting company. i will only point the
dns A or CNAME record to the hosting.
witch feature i need for this?
witch hoster can serve this?
thanks.
PS:
my current hoster D*mainf*ctory don''t support
2009 Feb 12
8
i18n with Rails 2.1
Hi.
I''m currently using Rails 2.1.
But i want to use i18n to internationalize my rails application.
I''m trying to install rails 2.2 using:
gem update rails
but it gives me an error...
Can anyone please suggest..how do I do this???
Thank You.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2008 Jun 04
4
Where is the ActiveRecord Oracle Adapter with 2.1?
I tried this, which worked before:
sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org
--no-ri --no-rdoc
But all I get is:
ERROR: could not find activerecord-oracle-adapter locally or in a
repository
Anyone else able to install the Oracle adapter?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2007 Apr 21
0
who is in charge of wiki.rubyonrails.com?
Hi,
I notice lots of "Service Unavailable" responses to requests for
particular articles at wiki.rubyonrails.com. Is this normal? Why are
some articles viewable and others not? Am I a noob?
Who is in charge of sysoping wiki.rubyonrails.com and what can we do
to get it solid?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2008 Apr 30
0
RubyOnRails Plugin: Auto Tags
<a href="http://expressica.com/auto_tags">AutoTags</a>, an open source
project, is a plugin for RubyOnRails applications to automatically
generate the relevant tags for the provided content. Its quite simple
to use and provide easy integration with ActiveRecord. The plugin is
very useful for social applications, community websites and all those
networking applications where
2007 Feb 16
0
http://manuals.rubyonrails.com/ down
Hi All,
http://manuals.rubyonrails.com/ is down right now.. actually it''s just
gone from not-responding to 503.
Is anyone aware of this?
Thanks.. I need some docs ;-)
Keith
--~--~---------~--~----~------------~-------~--~----~
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
2007 Apr 14
0
http://rubyonrails.com/docs spring clean up ?
At the bottom there are two broken links under OS Repos "Hieraki and
RForum". Don''t know if anyone cares or not...
--
-mike
--~--~---------~--~----~------------~-------~--~----~
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
2007 Aug 23
2
need help trying to debug - included screenshot
I have attached a screen shot of the error I am running into.
I am on page 138 of the Agile Web Development with Rails book by
Pragmatic Programmers.
I am developing the depot store, and I ran into an error, with
hidden_div_if.
When I remove that block of code, things to work fine, besides the fact
the cart does not display on the site, but everything else functions
correctly, so it is
2007 Nov 19
2
Help with controller and view
I have the following models
class Recipe < ActiveRecord::Base
has_many :ingredient_recipes
has_many :ingredients, :through => :ingredient_recipes
end
class IngredientRecipe < ActiveRecord::Base
belongs_to :ingredient
belongs_to :recipe
end
class Ingredient < ActiveRecord::Base
has_many :ingredient_recipes
has_many :recipes, :through => :ingredient_recipes
2008 Jun 15
7
Getting "no block given" on find method - rails 2.1
I am trying to do a simple find through the current_user but get an
exception. Either someone spiked my Starbucks coffee and I am screwing
up all over the place or there is something wrong.
def index
@league = current_user.leagues.find(13)
end
# Error
LocalJumpError in Admin/schedule todosController#index
no block given
If I pass a block to it it works fine, but it is just messy:
=====
2007 Feb 19
2
help - how to call java classes from controller
hi,
I need help to call java classes from the a controller action. I can
call a java class from a ruby script, but when I am trying to call in
controller, then
require ''java''
itself gives me load error.
I have java 1.4, jruby 0.9.0 and ruby 1.8.5 installed.
I have tried to start server as :
jruby script/server but it does not work.
In my application I need to use 3rd party