0 down vote favorite
share [g+] share [fb] share [tw]
I have to write test case for my one feature listing page and that
feature index method has code like below
def index
@features = current_user.features
end
Now when i try to write test case for this then it throws error for
'undefined meth
any good way for do this ?
Thanks in advance
Chirag Shah
--
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 unsubs
You have to store style in some variable and then need to be apply there
in div style
But do you have conditional border style ? Or white shadow border should
be available for all avtar images ?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
Please mentioned more details that what you trying to do with the paper
clip gem
By this error, only things come that you have not show.erb in your views
Or you have to specify any render or redirect in the show method
- Chirag Shah
--
Posted via http://www.ruby-forum.com/.
--
You received
discard_day property takes hidden field instead of hide the day select
dropdown
So instead use discard property, you have to do hide by default on load
by javascript or by css
- Chirag Shah
http://blogofchirag.blogspot.com/
--
Posted via http://www.ruby-forum.com/.
--
You received this
You can call ajax request on change or on lost focus of the code field
For send ajax request you can do observe_field or use remote_function
- Chirag Shah
http://blogofchirag.blogspot.com/
Angelo Cordova wrote in post #1013448:
> Hello everyone
>
> I have the following problem.
>
Have you installed both nokogiri versions to your machine ?
Brian Jakovich wrote in post #1013456:
> Trying to use cabybara and aws's ruby gem and I'm getting this error:
>
> *Bundler could not find compatible versions for gem "nokogiri":
>> In Gemfile:
>> aws-sdk depends on
>> nokogir
Contact me on
chirag(dot)sweng(at)gmail(dot)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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this g
If you redirect your page then you can not get that variable value to
your view
Only on render you have that variable value
And you can not have value in params unless you pass it in the arguments
at the time of the redirection
- Chirag Shah
--
Posted via http://www.ruby-forum.com/.
--
You
For work with jquery and rails function you can use jrails plugin
- Chirag Shah
Paul Bergstrom wrote in post #1013320:
> Chirag Shah wrote in post #1013312:
>> Why don't you use remote_function() ?
>>
>> - Chirag Shah
>
> I used to do that but now I'm trying
You can create by
Song.feed.create(:parameters => value)
Vitaliy Yanchuk wrote in post #1013290:
> Hello people,
>
> Please advice with, I have some models and they have feeds, feed is a
> small presenter for different types of content.
>
> class Feed
>belongs_to :attachable, :polymorphic =>
Why don't you use remote_function() ?
- Chirag Shah
--
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 u
s-tbody');
ActiveScaffold.decrement_record_count('console__complaints-active-scaffold');
$("#console__complaints-messages").html("\n \n\n \n\n \n\n");
There is no errors in the log. Any Suggestions?
Need more
anges in
my settings. Its same as before my mail service is working.. Is there
any service issue?
Thanks,
Chirag Shah
Software Engineer
http://blogofchirag.blogspot.com/
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message be
Hi,
I have windows PC.First, i had install sphinx-0.9.8-win32.zip. and then
add sphinx as plugin.and set sphinx.yml file in config/sphinx.yml
my sphinx.yml is as below
config file:: config/#{environment}.sphinx.conf
searchd log file:: log/searchd.log
query log file:: log/searchd.query.lo
15 matches
Mail list logo