I have my devise routes as
get "/signup/employer" => "devise/registrations#new" ,:as=>:useremp
get "/signup/contractor" => "devise/registrations#new",:as=>
:usercontract
Both routes points to controller -> registrations and action -> new.When
i hit the URL /signup/employer then my form_for should
How to combine cucumber features with selenium that runs on rails 3.2
--
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 unsubscribe from this group and stop receiving emails from it, send an em
How to create routes dynamically on rails 3.
--
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@googlegroups.com.
To unsubscribe from this grou
I have developed a messaging system on rails3.As per the requirements,
the incoming mails will contains the messages and that needs to be
stored on the on the DB, with respect to the email id users.
Please help on this
--
Posted via http://www.ruby-forum.com/.
--
You received this message beca
Thanks its working
--
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@googlegroups.com.
To unsubscribe from this group, send email to
rubyonra
Hi,
In my application, we are calling a dialog box to submit a value through
ajax.After submit how to show the welcome message in the same dialog.
In my views file at the first the dialog block is in hidden mode.On
clicking an anchor we are displaying the dialog block form.Through Ajax
we are su
Hi,
i had a index page with url as www.exa,com/users/jude.In that page i
want to submit a from which appears from popup dialog.The action of the
popup is going to send_message,Whenever i submits, via ajax the data
gets stored but not the page gets reflected.
My controller
def send_message
In my layout, i have mutiple layouts.
Is there any way to reduce to a single line.Currently my layout likes
this
<%=yield :head%>
<%=yield :foot%>
<%=yield :bottom%>
How to call this in a single method
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are su
How to automate the copyright text for each newly created files in ruby
projects or with rails framework.
--
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 rub
Can we able to use rspec in rails console
--
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@googlegroups.com.
To unsubscribe from this group,
How to create mobile applications for android phones in ruby on rails.
--
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-t...@googlegroups.com.
To u
shyam mohan wrote:
> Hi alll...
> simmiler question i also want to ask
> How to use Rails for android application development...?
> Is there any tool for that...like iphone application development?
>
> Regards
> Shyam
> +91-97161-89650
> http://shyam.heroku.com
>
>
>
> On Thu, Jul 8,
How to develop rails application in android mobile applications
--
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-t...@googlegroups.com.
To unsubscr
Hi,
Whether content_for and capture helpers will work on ajax updates or in
ajax pagination.
Please help us.
--
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 t
How to apply layouts in pop up windows
--
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-t...@googlegroups.com.
To unsubscribe from this group, send
Hi i am using nested resources in my application like this
map.resources :forums do |forum|
forum.resources :topics do |topic|
topic.resources :posts
end
end
while i am submitting a from with url like this
http://localhost:3000/forums/1/topics/new
i am facing the problem
"Onl
Frederick Cheung wrote:
> On Oct 27, 11:23�am, Nike Mike
> wrote:
>> Please suggest whether will paginate is an API or not?
>
> Well if you define an API as an interface that one piece of software
> defines to like other pieces of software interact with it then I
> sup
Please suggest whether will paginate is an API or not?
--
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 ruby
Hi,
I am doing functional test for my application, when i created a method
in test folder
test "valid_login_and_redirect" do
post :authenticate,:user=> {:username=>'admin',:password=>'admin'}
assert session[:user]
assert_response :redirect
end
i am getting the error as
valid_log
Hi,
Whether dynamic database connection is available in Ruby on Rails
--
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, se
Headline tortor sit amet tellus interdum
Headline tortor sit amet tellus interdum
Headline tortor sit amet tellus interdum
Headline sit amet tellus interdum
--
Posted via http://www.ruby-forum.com/.
--~--~-~-
Hi prompt option is not available in rails 2.2.but in api.rubyonrails it
hazs mentioned it is there.But its not working.
date_select("post", "written_on", :prompt=>{:day=>'Select day',
:month=>'Select month', :year=>'Select year'})
Please give some idea
--
Posted via http://www.ruby-forum.com/.
hi i am using date_select helper for displaying month day and year.I am
trying to show month and year by the options of the helper as
<%=date_select( "post", "written_on", :discard_day => true)%>
But i am getting error as
undefined method `styled_input' for
#
Please help me
--
Posted via http:/
how to declare a variable globally in views without writing in
controller,model or in config
--
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
Dmitry Sokurenko wrote:
> Really both quieries look crazy, and will perform poorly on any
> realistic dataset.
>
> I guess Person is a subclass of a User, so if you are using STI just
> try:
>
> User.all(:conditions => "type !=
> 'Person'", :limit=>5, :order=>'created_at DESC')
>
> Dmitry
Than
In am using the following code in my application,both the applications
execute the same result.First one executes fastly than the second
one,How can i modify the second one since it is fetching all the values,
from there it is limiting 5 rather than the first one
User.all.find(:all,:conditions=>
Can anyone give a suggestion so that i can able to format the date as
like this 3th - 5th June 2009
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gr
In render partials can we pass arrays like this
a=[1,2,3]
b=[5,6,7]
c << a << b
render :partial=>'',:locals=>{:c=>c}
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
Pls explain what is meant by monkey patch & what is the difference
betwwen nil and false
--
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
Alex Wayne wrote:
> Dustin wrote:
>> I want to make a program that will be able to take an image file and
>> crop a square at a given coordinate value (X,Y).
>>
>> I would tell it the X,Y and the size of the crop ie. 350x350. The X,Y
>> would be the center of the newly created image.
>>
>> Tha
How to use bench mark helper in app.I have seen that in
http://api.rubyonrails.org/classes/ActionView/Helpers/BenchmarkHelper.html#M001582
but i didnt get how to do.Please help
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this messa
> ...and if you're doing that, you probably need to look into some
> pagination, not the
> performance implications of content_tag.
>
> --Matt Jones
>
> On Feb 19, 5:46�am, Nike Mike
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
how to check the performance of helpers.
For ex if am using content_tag for creating li instead of writing
directly.I want to check how much time content_tag will take
time to excute as
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You receive
Is there any plugin to check how many erb files are in views & rb files
in controllers,models * helpers
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk"
I have installed rails 2.2.2.when i created my rails project with
version 2.2.2
its throwing error
Missing the Rails 2.2.2 gem. Please `gem install -v=2.2.2 rails`, update
your RAILS_GEM_VERSION setting in config/environment.rb for the Rails
version you do have installed, or comment out RAILS_GEM
Frederick Cheung wrote:
> On 7 Jan 2009, at 22:06, jabauer wrote:
>
>> dlsym(0x2727d10, Init_mysql): symbol not found - /usr/local/lib/ruby/
>> gems/1.8/gems/mysql-2.7/lib/mysql.bundle
>>
>> I don't know why it's looking for mysql in /usr/local/lib/ruby when I
>> put it in /usr/local/mysql
>>
>
hi i had a doubt while creating a new rails project we are getting the
basic welcome message as
Welcome aboard
You’re riding Ruby on Rails!
About your application’s environment
on clicking the about ur applications we are getting the full
information about the gem version,rails path etc.I have
I have seen redmine code whats the use of having
<%=l(:label_user_plural)%>
.whether l is onlu for localised
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
David wrote:
> so would the following be redundant then?
>
> <% content_for :javascript do %>
> <%= javascript_tag "new javascript function" %>
> <% end %>
>
> assuming i have <%= yield :javascript %>
>
> in my main layout file.
Please study this tutorail
http://railscasts.com/episodes/8-la
just follow this for auto complete
http://genlinux.blogspot.com/2008/07/prototype-ui-autocomplete-ajax-using.html
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on R
Ruhul Amin wrote:
> Hi,
>I have implemented auto complete text box by using auto_complete
> plugins in rails 2 application.
>Can I show the number of occurence of the text those display in the
>list drived by auto_complete pugin?
>just like google.
>as example if I type "a" the
whether ubuntu 8.10 is good for working with rails 2.0.2 with ruby 1.8.6
.since by default ubuntu 8.10 is having ruby 1.8.7 and 1.9.so
applications created using ruby 1.8.6 is facing problem with ruby
version 1.8.7
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~--
Indu RS wrote:
> Hello everyone
> Please give suggestion about how to implement an email verification
> system? By
> this I mean, a user subscribes(sign up) receives an email
> with a link and has to follow that link to change the status of the user
> ,only after that the user can login.
try to
hi have upgraded my version from 2.0.2 to 2.2.2.but the application
which i have created from rails 2.0.2 is not getting started.
Throwing
ruby script/server
/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't
activate activesupport (= 2.2.2, runtime), already activated
activesupp
44 matches
Mail list logo