0ms |
Allocations: 287951)
ActionView::Template::Error (couldn't find file 'onsenui/css/onsenui' with
type 'text/css'
Checked in these paths:
/home/smitha/Documents/kiran/fooapp/app/assets/config
/home/smitha/Documents/kiran/fooapp/app/assets/images
/home/smitha/Docu
e,
Desk.com, and Zuora
Kiran Kotla
CWW Group
"Excellence is a Habit"
Tel: 703-953-1043
Email: kiran.ko...@cwwgrp.com
www.cwwgrp.com
Confidentiality Notice: The information contained in and transmitted with
this communication is strictly confidential, is intended only for the use
Hi, I have a problem with rails time_select. I want to disable
time_select while page load.
<%= h.time_select dow + "_start_time",{minute_step: 15, ampm: true},
{class: 'test', disabled: ''} %>
generated html is
12 AM
01 AM
02 AM
03 AM
04 AM
05 AM
06 AM
07 AM
08 AM
09 AM
10 AM
11 AM
12 PM
01 P
Kiran Trimukhe
I want to get text here it is "Kiran Trimukhe"
I want to automate this using watir webdrivver
--
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 unsubsc
Few months back I had a new project and I was at crossroad on which
framework to choose for the project. As usual, I searched online and found
few blogs on the comparison between frameworks. Which one is hot, which is
not? Which framework is more flexible? Which one has the lesser learning
cu
I have a Model called *Review.rb*
class MovieNews::Review
include Mongoid::Document
include Mongoid::Timestamps
include Mongoid::Userstamp
include Mongoid::Search
field :story, type: Stringend
When i create a instance of class review and tried saving
Hi guys,
I am Senior Ruby on Rails developer with more than 7+ years experience.
One company from Barcelona offered 2000 euros/month. Total annual salary
comes to 24,000 euros/year with work permit in Barcelona, Spain after
negotiating.
I am thinking its not a good deal. Can you guide me.
Thanks,
Please follow:
http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku
--
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
unknown wrote in post #1110178:
> First thing, there is a forum
> here:
> https://groups.google.com/forum/?fromgroups#!forum/plataformatec-devise
> for devise itself. and there you might get a better help for your
> question.
>
> but I googled around. something I assume you have done and it seems t
Hi,
I am testing views. I dont understand why stubs are not working.
Can anyone help.
view code :
before(:all) do
@current_user = stub("User")
assigns[:message] = @current_user
end
output:
NoMethodError:
undefined method `stub' for #http://www.ruby-forum.com/.
--
You received
Hi,
I am stuck at the following. Can anyone help.
I am writting a spec for views.
home/index_html_haml_rspec.rb
require 'spec_helper'
describe "home/index.html.haml" do
include Devise::TestHelpers
login_user
it "should display header with search form" do
render :handlers => "hom
Hassan Schroeder wrote in post #1108423:
> On Thu, May 9, 2013 at 4:04 AM, Aashish Kiran
> wrote:
>
>> Can anyone know how to save chat conversations in rails. I am using
>> private_pub.
>
> @message.save (or whatever your model name is) ?
Hi,
Can anyone know how to save chat conversations in rails. I am using
private_pub. I want to have a chat feature like facebook.
Thanks,
Aashish
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
nk me to some
resources?
Thanks,
Sai Kiran Mothe
--
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 email
to rubyonrails-talk+unsubscr...@googlegroups.
Hi Aubrey Backman,
I am Aashish a 'Ruby on Rails Developer'. I am having similar skills(a
Ruby on Rails developer, heroku as deployment server, a Github user,
RDBMS / NoSQL as databases) as follows:
5+ years of Ruby on Rails development experience
Experience developing web-based consu
NN Dodhia wrote in post #1101393:
> Hi i have this code:
>
> <%= radio_button_tag(:milk_code,"Full.", :checked =>(:milk_code
> =='Full.')) %>
> <%= label_tag(:milk_code1, "Full") %>
>
> <%= radio_button_tag(:milk_code,"Milk.",:checked =>(:milk_code ==
> 'Skim'))%>
> <%= label_tag(:milk_cod
rails generate model user_session
This works fine for generating sessions in Authlogic for Rails 3 and
above versions.
--
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
It is working pdf is encrypted
my_pdf =
PDF::Toolkit.open(directory+@encrypt_pdf.attach.url.split('?')[0].to_s)
my_pdf.user_password=@encrypt_pdf.user_password
my_pdf.owner_password=@encrypt_pdf.owner_password
how to allow permissions like printing screen reader
--
Posted via h
Colin Law wrote in post #1087900:
> On 5 December 2012 11:04, kiran cy wrote:
>
> Please quote the previous message and put your reply inline at
> appropriate points. Remember this is a mailing list not a forum
> (though you may be accessing it via a forum-like interface. Thank
I think that is predefined in pdftk
--
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 e
I am encrypting the pdf in rails using pdf-toolkit
here is my code:
PDF::Toolkit.pdftk(infile output outfile user_pw rails)
It is giving error saying that
undefined method user_pw
Any suggestions
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribe
Colin Law wrote in post #1079421:
> On 11 October 2012 12:31, kiran cy wrote:
>>>
>> @zip = Zip::ZipFile.open(path)
>> @xml=Nokogiri::XML(@zip.find_entry('word/document.xml').get_input_stream)
>>
>> if block_given?
>> yield self
>
Colin Law wrote in post #1079413:
> On 11 October 2012 11:40, kiran cy wrote:
>>> file in ruby, which I don't know how to do. Did google help you with
>>> this? Is suggest googling for
>>> ruby read .doc
>>>
>>> Colin
>>
>> I ca
Colin Law wrote in post #1079407:
> On 11 October 2012 11:24, kiran cy wrote:
>>>
>>> Colin
>> I have tables in ms-word document(of format doc).
>> I want to convert the data present in each cell either it may be text or
>> image to the image
>> How do
Colin Law wrote in post #1079405:
> On 11 October 2012 11:08, kiran cy wrote:
>>>
>>> What has this got to do with Ruby on Rails?
>>>
>>> Colin
>> I just have to upload the ms-word document file and click the upload
>> button which shou
Colin Law wrote in post #1079401:
> On 11 October 2012 10:57, kiran cy wrote:
>> I have a document with tables in it. I want to convert the each cell
>> present in the table to image.
>
> I, for one, have little idea exactly what you mean by this. What sort
> of docume
I have a document with tables in it. I want to convert the each cell
present in the table to image.
Any suggestions...
--
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,
ANIKET KADAM wrote in post #1076796:
> can you tell me how you converted Images to PDF, please tell i m new to
> rails
require 'RMagick'
images = Dir["/home/*.jpg"]
imglist = Magick::ImageList.new
imglist.read(*images.natural_sort)
imglist.write("converted.pdf")
--
Posted via htt
i converted pdf to images and the images back to pdf. While converting
back to pdf the images are not in order
for example if there are 14 images after the first image 10 image will
come then 11,12,13,14 and then 2,3,4,5,6,7,8,9
What is the problem?
--
Posted via http://www.ruby-forum.com/.
--
PDF file is crashing in my app because of the images present in the pdf
which are madeup of polygons so i tried to convert the pdf to images and
images back to pdf but there is drastic change in the quality of pdf
so i tried to view the pdf in browser and to convert the html to pdf.
Is it possible
I am trying to upload the pdf using file io operations, i can select the
file but when i click on the upload button it is not uploading the file
here is my model
class DataFile < ActiveRecord::Base
def self.Save(upload)
name = upload['datafile'].original_filename
directory = "publi
Hi,
I have a strange problem.
Scenario:
When loading an x page. I am making an ajax call in jQuery to server
'latest' action. Now, when I set a session in 'latest' action. To check
check created session I made another ajax request to same 'latest'
action.
Here created session is nil.
code:
---
Hi all,
I have problem regarding querying database in rails database.
Senerio:
There are 2 models 'user' and 'interests'
Association between them is has_and_belongs_to_many
Now If I want to list common interests between two users. How do I query
db.
I think, we have to write custom plsql statemen
Aashish Kiran wrote in post #1054821:
> Dheeraj Kumar wrote in post #1054781:
>> login_user should be inside a before_each block.
>>
>>
>> Dheeraj Kumar
>
> The updated code is at.
>
> http://pastie.org/3719793
>
> The module is not loaded proper
Dheeraj Kumar wrote in post #1054781:
> login_user should be inside a before_each block.
>
>
> Dheeraj Kumar
The updated code is at.
http://pastie.org/3719793
The module is not loaded properly.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
Hi all,
I could not run a simple test case. My app uses devise,rspec, etc. The
problem code is at http://pastie.org/3719793
can anyone please help
Thank you,
Aashish
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on
Using: RSpec, Shoulda, Paperclip (including matchers)
Example Model
class Example < ActiveRecord::Base
has_attached_file :attachment
validates_attachment_presence :attachment
validates_format_of :attachment_file_name, :with => /\.(png|jpe?g)$/
end
Example Test
require 'spec/helper'
desc
Hi all,
I have error installing character-encoding gem on ubuntu 11.10 64bit.
The error details are in following link
http://pastie.org/2768063
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
Hi all, I am trying to install linecache19 gem with rails 3.0.5. I am
getting following error. Can you please help me out.
---Installing
ruby_core_source (0.1.4)
Installing linecache19 (0.5.11) with native extensions
/home/se
Hi all,
I am using rails 3.1 with paperclip. when I try to upload a picture of
type 'jpeg'. picture_content_type value not a image/jpeg. It is storing
some Xadsfdsfdasfc value. I dont get the problem. can you help me.
thanks,
Aashish
--
Posted via http://www.ruby-forum.com/.
--
You received th
Here is the code and error list below. After creating a zip file in
original folder. When I tried to run the from rails console, it works
great, but getting error when user tries to upload. So, I thought of
doing a delay job, and tried to run same code in show action but got
same error.
Any he
Frederick Cheung wrote in post #1015275:
> On Aug 4, 7:32pm, Aashish Kiran wrote:
>
>> ?> p.preview.url
>> => "/system/previews/3/original/FTpreview.zip?1312375624"
>>
>> ?> file=p.preview.url
>> => "/system/previews/3/original/FTpr
Hi,
Senario: I have to upload a Zip file which contains flash scripts using
paperclip. Now I want unZip the file into a folder and save in rails
app.
I could able to upload a zip file. But failing to unzip to a folder in
filesystem
-- code sample from rails console---
Dan Sadaka wrote in post #1013346:
> Sounds like DNS issue or the host is down.
>
> Can you ping production.cf.rubygems.org?
>
> -D
I did 'dig production.cf.rubygems.org' got error as could not find host.
I again did 'dig http://production.cf.rubygems.org' got a success.
But I dont get how to sol
7stud -- wrote in post #1013293:
> Don't ever post errors without the command that generated the errors.
The below is the command i typed. Can you help..
Thu Jul 28 11:37:32 $ rvm install 1.8.7
Installing Ruby from source to: /Users/prem/.rvm/rubies/ruby-1.8.7-p352,
this may take a
I am getting some weird error while installing ruby with rvm on
snowleopard.
Can anyone help me out with this.
Retrieving rubygems-1.8.6
curl: (6) Couldn't resolve host 'production.cf.rubygems.org'
ERROR: There was an error, please check
/Users/prem/.rvm/log/ruby-1.8.7-p352/*.log. Next we'll tr
Luis Lavena wrote in post #184:
> On May 21, 10:54am, Aashish Kiran wrote:
>> Hi,
>>
>> I am working on windows XP, ruby 1.9.1, rails 3, sass gem. Create a sass
>> folder
>> in
>>
>> C:\Documents and Settings\Administrator\rails_app
>>
Hi,
I am working on windows XP, ruby 1.9.1, rails 3, sass gem. Create a sass
folder
in
C:\Documents and Settings\Administrator\rails_app
Now I start server, I get following error
Errno::EACCES (Permission denied - C:/Documents and
Settings/Administrator/rails_app/public/stylesheets/
style.css
Hi,
I am using mongoid, rails, mongohq.
I have to tables Category and SubCategory
Category references_many :subcategories
SubCategory referenced_in :category
Now I have a form in view. In view, when user chooses a category, an
ajax request is made to get dependent subcategories. But problem is,
Thanks a lot Fred.
Can I know yr twitter id
--
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
asdasdasdas
--
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
rubyonrails-tal
dasDAsdas
--
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
rubyonrails-talk+
I have a strange problem. Suppose I have a user model with only name
field.
I can add a field with value by creating an instance in mongodb rails
environment.
Example:
class User
include Mongoid::Document
field :name
end
Now in rails console, If you do
user = User.new
user[:name] = ""
u
> On Fri, Apr 1, 2011 at 11:30 AM, uday kiran wrote:
>
>>
>>
>> can u tell me how to integrate facebook in ruby on rails application
>>
>>
>> please give me help
>>
>> --
>> You received this message because you are subscribed to th
can u tell me how to integrate facebook in ruby on rails application
please give me help
--
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 g
/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/base.rb:508:in
`deliver!'
C:/Ruby187/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/base.rb:414:in
`deliver'
Here deliver method fails pls give me the solution.
On 26 March 2011 15:13, Frederick Cheung wr
hi
Iam udaykiran.Iam new to ror.
can u send the email program using ror.please urgent
Thanks & regards
udaykiran
--
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.
ls: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-tal
how to get starting with rails
is there any simple ruby or rails
i installed windows 7 how can i learn
can anyone tell installation procdeure and good tutorial for rails
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this g
how to start ruby on rails in layman format
please can any one help to suggest this
please email to me
personally
jayakumargen...@gmail.com
--
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
map.connect
'/', :controller=>'ads', :action=>'index
this is working fine now thanx
On Dec 3, 12:23 pm, Sniper Abandon wrote:
> kiran wrote in post #965887:
>
> > HI,
> > now my question is how to set a root so that when i visit
> >http://
HI,
map.connect '/ads/', :controller=>'ads', :action=>'index'
map.connect '/ads/:id', :controller=>'ads', :action=>'show'
The above two lines i am using for routing in my application to show a
list of ads when i visit at http:\\localhost:3000\add
and an add with the id when i visit at http://loc
yes colin u r right...thank u...i am surprized to see it worked...a
simple slash made all the difference how would u figure out
this...anyway thanx..
On Dec 1, 2:43 pm, Colin Law wrote:
> On 1 December 2010 07:32, kiran wrote:
>
>
>
>
>
>
>
>
>
> > Cont
onemore thing i am able to see by id like when i am at "http://
localhost:3000/ads/3" the add details are coming fine..
On Dec 1, 12:43 pm, kiran wrote:
> i am not abe to see any thing...just able to see a white page without
> even a single dot in it..
>
> On Dec 1, 12
i am not abe to see any thing...just able to see a white page without
even a single dot in it..
On Dec 1, 12:39 pm, rajeevsharma86 wrote:
> are you able to see add by id and please
> paste here you log file output or error in deatils
>
>
>
>
>
>
>
>
>
> O
Controller:ads_controller.rb
class AdsController < ApplicationController
def index
@ads = Ad.find(:all)
end
def show
@ad=Ad.find(params[:id])
(params[:id])
end
end
routeing: route.rb
ActionController::Routing::Routes.draw do |map|
map.connect '/ads/', :controller=>'ads', :action=>'index'
is doing.
Thanks.
On Oct 17, 11:43 am, Conrad Taylor wrote:
> On Sun, Oct 17, 2010 at 7:05 AM, kiran wrote:
> > Are there any plug-in or standard steps which will help me to upgrade
> > my application on Windows platform.
>
> > Any help or links will really help.
>
&
Are there any plug-in or standard steps which will help me to upgrade
my application on Windows platform.
Any help or links will really help.
--
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 rubyonrail
I found the solution.
use firebug to see response.
Use image as attachment for help
--
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...@goog
Hi all,
I too have same problem.
Problem: I am getting "successfully stored." alert message, but getting
"null" value in suceeding alert message. whether as expected data is
{"id" => "xx"}
the code is as follows
controller code
@tmp = {}
@tmp[:id] = "
Hi all,
can anyone tell how to generate reports using jasper in rails
thanks and regards
kiran
--
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
Dear all,
Can anyone help, How to call .jasper files in rails, how
to integrate jasper reports in rails.
with regards
kiran
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, sen
Bb Serviss wrote:
> What do you have in your routes.rb file to setup the custom route?
>
> http://guides.rubyonrails.org/routing.html
thank you for reply, it helped me
answer is
%p or
%p Upload a vCard file to import people into your account.
%p
- form_tag(user_
>
>
>
> Thank you Peter
>
--
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 email to
rubyonrails-talk+unsubscr...@googlegroups.com
Dear all,
I want to run nifty generators in* Rails 3.0* but it not accepts. Please
send me the information,Please send me the commands for authentication
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this
Hi all,
i installed rails 3 and how to install rails 2 in the same machine please
help me
thanks
--
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 fr
Hi All,
$rails g controller Pages home contact
then, I go to http://localhost:3000/pages/home
I got
Routing Error
No route matches "/pages/contact"
How can I fix this problem?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group
hi, can anyone help me. i want to create an url to invoke create action
of a controller. routes.rb has the routes. But i am getting error at
line 23. i have @user variable.
user_contact_path(@user.id)
I want generate url as : users/3/contacts to invoke contacts
controller's create action
--
how to send sms to mobiles
--
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 email to
rubyonrails-talk+unsubscr...@googlegroups.co
Hi
first you install ruby 1.8.7 after that you type
*gem install i18n tzinfo builder memcache-client rack rack-test
rack-mount erubis mail text-format thor bundler*
then
*gem install rails --pre* .This will install rails 3.0beta
--
You received this message because you are subscribed to
Hi, I want to launch a rails application on godaddy. I purchased a
domain and a hosting plan. I really could not understand from where and
how to start to deploy rails application .
Can anyone please tell how to proceed.
thank you
aashish
--
Posted via http://www.ruby-forum.com/.
--
You rec
Bruno Grasselli wrote:
> Try to execute "rake purchaseAlcohol" from here:
>
> D:/NetBeansProjects/RubyCode
>
> 2010/1/16 Aashish Kiran
same error as before
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Goog
Bruno Grasselli wrote:
> Where are you keeping this file?
>
> If you put it in somewhere like:
>
> lib/tasks
>
> It should work.
>
> Try to add:
>
> desc "some text"
>
> Before each task and then you can look for it when you type:
>
>
gerbdla wrote:
> Does anyone know of a place where I can get either online or classroom
> training in the US preferrably on the west coast?
>
> Thanks
i am a part time trainer for ruby on rails. If you want to know more
please contact me at aashishkir...@yahoo.com
--
Posted via http://www.ruby
-rakefile-
require 'csv'
require 'rake'
task :purchaseAlcohol do
puts "Purchased Vodka"
end
task :mixDrink do
puts "Mixed Fuzzy Navel"
end
task :getSmashed do
puts "Dood, everthing’s blurry, can I halff noth’r drinnnk?"
end
---end
when I run
Hi,
I too came across same problem. I am using mootools with rails. Can you
help in solving how to handle ajax response and request.
Nguma Monene wrote:
> I got to use firebug, which is great :) thks,
> now my ajax request goes thorugh i run into another problem of
> returning a response with
Colin Law wrote:
> 2009/11/7 Aashish Kiran :
>>
>> hi,
>> can anyone tell how to pass params to a partial.
>> --
>
> As Leonardo Mateo pointed out in your other thread,
> http://guides.rubyonrails.org/layouts_and_rendering.html#using-partials
> should help.
hi,
can anyone tell how to pass params to a partial.
--
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 rubyon
I am new to rails. can anyone explain in detail about partials in rails.
my rails version is 2.3.4.
How to use them?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on
I lost authentication token, how do i get it. I followed the link
http://code.google.com/apis/gdata/articles/using_ruby.html
In Authentication | Using the Google Spreadsheets API section
detailed explanation
code
starts--
irb(
Colin Law wrote:
>>
>> ActionController::Routing::Routes.draw do |map|
>> map.connect '', :controller => "account", :action => "index"
>
> It just goes to show how clever rails is, you asked for a link to
> account/index, it generated a link to / but your route says that /
> should go to account
Frederick Cheung wrote:
> What does your routes file look like ?
>
my route.rb file
ActionController::Routing::Routes.draw do |map|
map.connect '', :controller => "account", :action => "index"
map.resources :comments
map.resources :posts, :has_many => :comments
map.resources :users
Aashish Kiran wrote:
> Hi,
> Problem is
>
> <%= link_to "Index", {:controller => "account", :action => "index" },
> :style => "text-decoration:none" %>
>
> above, the link_to is not generating the necessary code it h
Hi,
Problem is
<%= link_to "Index", {:controller => "account", :action => "index" },
:style => "text-decoration:none" %>
above, the link_to is not generating the necessary code it has to
generate
It is generating
Index
But it has to generate
Index
can anyone solve this.
--
thanks, It helped me. My problem solved.
--
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@
how to pass value to method in controller using button_to_remote
button_to_remote 'check avaliability',
:url => { :action => 'check_for_unique_login', :login =>
@user.login}
above code is not working.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~--
Aashish Kiran wrote:
> Aashish Kiran wrote:
>> how to pass value to method in controller using button_to_remote
>> button_to_remote 'check avaliability',
>> :url => { :action => 'check_for_unique_login', :login =>
>> @user.
Aashish Kiran wrote:
> how to pass value to method in controller using button_to_remote
> button_to_remote 'check avaliability',
> :url => { :action => 'check_for_unique_login', :login =>
> @user.login}
> above code is not working
I want to display date and time in view as "August 7, 2009 at 10:22:02
am". Presently it is displaying in view as "2009-08-07 10:22:02 UTC".
Can anyone tell to format date and time.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this
Frederick Cheung wrote:
> On Jul 30, 11:33�am, Hassan Schroeder
> wrote:
>
> What I do is run rake doc:rails which creates the same docs as on
> api.rubyonrails.org (ie all the frameworks on one page). Then I serve
> that locally and point the rdoc widget at it (so that I get search).
>
> Fred
1 - 100 of 116 matches
Mail list logo