convincing enterprise to use it more
and more.
It's the same way Rails community solved the problem of installing gems and
their dependencies via Bundler.
I might be wrong with my observation. Will be more than happy to further
get enlightened.
Thanks & Regards,
Ankur Gera
On Thu, Jul 27, 201
which was very helpful for
me:
https://dl.dropboxusercontent.com/u/766146/ruby-on-rails-data-relationships.png
Ankur
On Wednesday, February 11, 2015 at 12:19:35 PM UTC-5, Brian Scramlin wrote:
>
> Greetings RoR Friends! I would SO APPRECIATE your help with a question. I
> have read
r_create, :sweep
alias_method :after_update, :sweep
alias_method :after_destroy,:sweep
end
Devise "current_user" is accessible in all the above files.
--
Regards,
Ankur
On Tue, Dec 23, 2014 at 7:19 PM, Colin Law wrote:
> On 23 December 2014 at 13:42, Ankur Kumar wrote:
>
user?
I read about some caching methods below but not sure how to create/retrieve
a unique cached page.
http://api.rubyonrails.org/classes/ActionController/Caching/Fragments.html
Thanks.
--
Regards,
Ankur
--
You received this message because you are subscribed to the Google Groups "Rub
rating this gem earlier are
here and this page doesn't talk about this dependency either.
http://junkheap.net/blog/2013/05/20/elastic-beanstalk-post-deployment-scripts/
Did anyone else face this issue?
Thanks.
--
Regards,
Ankur Kumar | +91-9739213628
www.bigbhk.com <https://bigbhk.co
I have used PDFKit gem and it has worked well for me.
--
Regards,
Ankur Kumar
www.bigbhk.com <https://bigbhk.com>
*Lin <http://in.linkedin.com/in/specialankur> | Tw
<http://twitter.com/#%21/tweet2ankur> | Fb
<http://www.facebook.com/specialankur>*
*What is BigB
views/dashboard/index.html.erb*
<%=t :read_text%>
---
I want to access *read_text: *in *app/controllers/dashboard_controller.rb*
Thanks.
--
Regards,
Ankur
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe fro
b.com/michaelfranzl/ruby-escper> gem for this? Please guide
if there are better ways to achieve this.
Thanks.
--
Regards,
Ankur
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receivin
I observed there is a typo in command, it should be :
bundle exec whenever --update-crontab --set environment=production.
Trying again with this command.
Thanks.
--
Regards,
Ankur
On Mon, Jun 30, 2014 at 1:35 PM, Ankur Kumar wrote:
>
> I am using whenever gem and I defined 'whene
beddedPostBuild',
'Hook-EnactAppDeploy', 'Hook-PostAppDeploy'], 'returncode': 1, 'events':
[], 'msg': '*Error occurred during build: Command 20whenever_task failed*\n'}],
'api_version': '1.0'}
Any help on this?
ry 1.minute do
runner "Cron.sendAutomaticsSMS()"
end
*****
Please help me with this.
Thanks.
--
Regards,
Ankur
On Fri, May 30, 2014 at 9:16 PM, Ankur Kumar wrote:
>
> Thanks Matt for your reply! Unfortunately, I don't see any log file in
> suggested location
lowed all the steps for integration.
Thanks.
--
Regards,
Ankur
On Thu, May 29, 2014 at 9:36 PM, Matt Jones wrote:
>
>
> On Thursday, 29 May 2014 00:55:59 UTC-5, Ankur wrote:
>
>>
>> Any help on this will be greatly appreciated! Thanks.
>>
>> --
>> Regards,
Any help on this will be greatly appreciated! Thanks.
--
Regards,
Ankur
On Wed, May 28, 2014 at 10:18 AM, Ankur Kumar wrote:
>
> I did the following to implement cron jobs in rails 3 using a "runner"
> instead of a rake task.
>
> *Step 1:* I have whenever gem insta
defined in
sendAutomaticsSMS() method to execute but the cron doesn't even enter this
method.
I don't see any error in log/development.log and there is no log/cron.log
in my rails app.
Posted this question on
Stackoverflow<http://stackoverflow.com/questions/23880580/not-able-to-t
good gems to achieve this objective?
--
Regards,
Ankur
--
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...@googlegrou
account through switch_user.
How can I achieve this?
Thanks.
--
Regards,
Ankur
--
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+unsubsc
e this.
Thanks.
--
Regards,
Ankur
--
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.com.
To post to this grou
class
my_model_instance = MyModel.new
file = File.open(file_path)
my_model_instance.attachment = file
file.close
my_model_instance.save!
Thanks.
--
Regards,
Ankur
On 31 January 2014 01:35, Ankur Kumar wrote:
>
> I am trying to save a pdf file (generated using Rails PDFK
t.string "resume_attachment_file_name"
t.string "resume_attachment_content_type"
t.integer "resume_attachment_file_size"
t.datetime "resume_attachment_updated_at"
Thanks.
Regards,
Ankur
--
You received this message because you are subscribed to the Googl
Thanks a lot, Thiago. I will try out these.
--
Regards,
Ankur
On 13 January 2014 03:18, Thiago Cifani wrote:
> PDF kit or wicked PDF are my best solution to turn HTML and CSS to PDF
> files. You should took a look on those ones.
> —
> Sent from Mailbox <https://www.dropbox.c
Report are inactive.
Thanks.
--
Regards,
Ankur
--
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.com.
To po
(67.2ms)
Completed 200 OK in 97.6ms (Views: 93.5ms | ActiveRecord: 0.4ms)
Also, I missed adding create action in controller earlier, have added it
now:
* def create*
* Task.create params[:task]*
* redirect_to :back*
* end*
Thanks.
--
Regards,
Ankur
On Sat, Nov 30, 2013 at 3:09 PM, Freder
t; false
t.string "name"
end
*app/models/task.rb*
class Task < ActiveRecord::Base
# attr_accessible :title, :body
end
I have done db migration and db schema exists for table but "select * from
tasks" doesn't return any rows and therefore UI doesn't show a
I have fixed this issue. The 'match' statement needs to be outside the
resource block in routes.rb. Rest everything remains the same.
Thanks.
Sent from Galaxy R, please ignore typo or brevity
On Nov 27, 2013 3:41 AM, "Ankur" wrote:
>
>
> I have *home.html.e
I have *home.html.erb* file which has a link for *course.html.erb *file
using *link_to*. I have defined a named route for this navigation. On
clicking the link, I get an error as shown below. Looks like the named
route is not accessible in the view.
Is my routes.rb entry correct? I am not sur
k_to content_tag(:span, "New Question") ,{ :controller =>
@section.template.template_class.downcase ,:action=>:new, :section=>@
section.id } %>
What should I put so that the controller is properly recognized.
Thanks for your help in advance.
Ankur
--
You received thi
Try out ContentSlider.js ...
On Jun 17, 2012 2:16 PM, "mohitnegi" wrote:
> Pagination on Active Record and with arrays are pretty common and i have
> used that, I wanted to know about pagination on the content of yaml
> document.
>
> On Friday, June 15, 2012 7:26:21 PM UTC+5:30, paul h wrote:
>>
e:
>>
>> I don't have rails in front of me, but looks like there may be a problem
>> with implied parentheses. Have you tried things like:
>> *@grades = Grade.all() {|grade| Worksheet.find(:all,:conditions=>
>> ['grade_id =?',grade.id]).count > 0
Following 2 statements look identical to me, however the first one returns
only one object but the second one returns correctly an array of 4 objects.
What is happening here is simple, I get all the Grade objects (1st one
using Grade.find(:all) and second one using Grade.all), and then filter out
Masochism can solve your problem definitely(An easy solution for Ruby
on Rails applications to work in a replicated database environment)
http://github.com/technoweenie/masochism
~
Ankur Gupta
Hyderabad, India
On Jan 8, 2:20 pm, Ankit Varshney wrote:
> I want to do horizontal partitioning
ces will be a array of pr_resources
Now you can fetch any employee(resource) and its role associated with
project id 1.
for eg. for any project_resource:
resource = pr_resource.resource
role = pr_resource.role
Thanks,
--
~ Ankur Gupta
Company: www.innozon.com, Hyderabad
On Jan 7, 10
31 matches
Mail list logo