Displaying 20 results from an estimated 100000 matches similar to: "Anyone know how the :random works??"
2008 Apr 25
0
Does anyone know ROR Developers looking for work?
Hi, I''m with Next Internet LLC (nextinternet.com) and we are looking
for Ruby on Rails Developers for our companies in San Fransisco, CA.
The job description is below and attached:
Ruby On Rails Developer
Next Internet creates, builds and operates Internet businesses. We are
well-funded and have an experienced management team that has built
several highly
2008 May 03
3
Does anyone know where I could find a good explanation of how rails works internally?
I was wondering if anyone knew of some resources I could look at to
learn about how rails works internally. I''ve been looking through the
code but I was wondering if there were any high level explanations of
how it works overall.
Thanks in advance,
Ruben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Feb 15
1
Rad Rails/Aptana plugin for haml - site down anyone know if it hosted elsewhere
I have been using the Haml plugin for RadRails, it works well, but
after rebuilding my laptop from windows to fedora, I re-installed
Aptana (after some sweat and toil) but the site http://blog.lucky-dip.net
seems to have vanished.
Wonder if anyone knows of an alternative?
Thanks
tonypm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2008 Jul 16
2
anyone know anything about using mod_deflate gzipping with Rails?
Anyone know anything about using mod_deflate gzipping with Rails? I''ve
got it enabled in our .htaccess but it doesn''t seem to handle gzip
anything going through Rails. Any ideas?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2009 Apr 18
0
Anyone know how to include playerMultipleList.swf
The following code snippet did work beautifully before I retrofitted the
website into ROR. Everything but this is working beautifully, and so far
I luv ROR. If you have experience with this thanks in advance for
sharing it with me.
Currently only the words playerMultipleList.swf appear on the page ...
no player.
<div class="sound_gal">
<h3>Introducing the
2007 Jan 08
1
Anybody know how works -> set_sequence_name?
Hi,
anybody know how to work with set_sequence_name?, any example??
thanks,
Alfredo
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To
2008 Mar 14
2
Random image based verification for new user creation
Hi all,
I''m creating an email list managed by my CMS. I''m wondering if people
had any thoughts about securing it?
I''m just concerned that my application server might be overwhelmed by
requests to add to the list by a spider, etc.
Am I being overly concerned or is that a real possibility? I was
thinking of adding an image with a random sequence of numbers or
letters
2009 Mar 22
5
How does view know about instance vars set in controller?
Hi,
I know that the AWDWR says to believe in magic and to not spend Xmas
with people asking this question, but really how does it work under the
hood?
I was looking at the source code of crummy, and it seems that
instance_variable_set and instance_variable_get may be part of the
answer. Is there some resource on that or do I have to dive into Rails
code?
--
Posted via
2008 Mar 03
2
how can i know type of attribute with active record
Hello,
In my database, I have a table "products" with attributes :
- id
- title ->string
- desc -> text
I use active record, but I don''t know why recover the type of this
attribute with active record?
I try attributes_before_type_cast but I don''t see the type
Can you help me?
Excuse for my english (I''am a young student french)
--
Posted via
2007 Mar 26
5
Session trouble
I am having a problem with an assignment to an object stored in session.
for example when I am in console
o = NewOrder.new
# dl = DeliveryLocation.new
# o.delivery_location = dl #=> returns a delivery location object
# o.delivery_loaction.save #=> returns true
when I am using the controller
delivery_location = DeliveryLocation.new(params[:delivery_location])
2007 Mar 14
0
SV: Re: script.aculo.us question
Another option would be to use conditional comments, which is only supported in IE. Either in the javascript:
/*@cc_on @*/
/*@if (@_win32)
Event.observe(window, ''load'', ...(replace img)...);
/*@end @*/
Or in the HTML for including the script (this support checking versions):
<!-[if lt IE 7]>...include script...<![endif]-->
2007 Feb 21
2
:include => :works, :select => ...
@c = Client.find( :all,
:select => ''denominacao'',
:include => :works,
:conditions => ''works.estado = 1'')
im trying to get only one field "denominacao" but i get them all, is
there a way to get only one, using activerecord ofc...
--
Posted via http://www.ruby-forum.com/.
2008 Sep 02
4
Rescue rails errors
Hi all,
Sometime, I get the following error in my application:
ActionController::InvalidAuthenticityToken in
ManageController#site_servers
ActionController::InvalidAuthenticityToken
I tried to put the code in manage controller between begin ... rescue
... end but it didn''t catch the error.
So I tried in the application.rb controller, I put the forgery code
between begin ... rescue ...
2008 Feb 05
3
How do you update frozen rails in svn?
Every man and his dog recommends you freeze rails, awesome!
I''ve done that and setup my svn repo and been modify the code and checking
in my updates.
Now since 2.0.2 is here and I''m on 2.0.0
How do I get to 2.0.2 ??
Please include the impact that this has on the svn repository.
Thanks :D
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2008 Jan 04
5
Confused by the unit test results.
I''m testing the relation between two of my models: MessageThread
(parent), which has_many Message (children). When I run the following
test, it gives me an error:
---------------------------------
# test with a valid message
def test_valid_message_new
thread = MessageThread.new :title => ''awesome thread''
message = thread.messages.build(:body
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2006 Oct 23
3
Design Dilemma - Please Help
Hi, I''m new. ;-)
I creating a little rails app, that will crawl the web on a regular
basis and then show the results.
The crawling will be scheduled, likely a cron job.
I can''t wrap my head around where to put my crawler. It doesn''t seem
to fit.
An example:
Model - News Story
Controllers - Grabs a story from the DB, Sort the Stories, Search the
Stories etc.
View -
2009 Jan 15
3
Unique URLs for authentication
I''ve set up a route like this
map.connect ''confirm/:id/:full_name/'', :controller => "users", :action
=> "confirm"
and I''m wondering what is the best way to verify in the confirm method.
full_name created in the model and it''s not in the database.
This doesn''t work because it doesn''t parse one, then the
2007 Jan 07
2
random numbers/characters for a spam preventer
hi, I''m doing a registration form with rails, is there any simple method
to do a spam preventer with a generator of random number/characters?
thanks :)
--
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,
2006 Aug 30
1
xml - get values
Hi
I have the following xml string that I have loaded into an REXML object
as shown below.
#xml stuff for saveRoute
require ''rexml/document''
include REXML
Xml = "<test>
<name>sam</name>
<description>this is a test</description>
<description>this is a test2</description>
</test>"
XmlObject = Document.new(Xml)