Community Page
- e168f08.plugh.org Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thank you very much for this information. I was looking for this from last few days. thanks for share.
- Hi, I know the course is long over, and no-one may read this. Is there anyway to compile my ruby code into some sort of Bytecode that can't be read / modified / stolen? Like a Java .class file....
- Did anyone implement the compare function for the extra credit?
- Nice post. Have bookmarked your blog and will be sure to come back soon!
- This sounds like a plan. Having been laid off mid last week, a new adventure begins. I want to use this time to retool. The calculus I am trying to solve is how long it will take for me to become...
7 months ago
When the class is over, could we still access these screen casts ?
Thanks
6 months ago
JRuby is a good idea. I'll think about it. I think what everyone would like to see is a Rails application getting deployed into a JavaEE container.
6 months ago
Are there other reasons for JRuby, such as performance reason ?
Thanks
6 months ago
The big advantage of JRuby for web apps is that the JavaEE container can have multiple "Rails" applications running in the same container.
Until recently, in the conventional Rails world, one would literally run multiple copies of Rails on the same physical server.
This blog posting goes over some of the options.
http://weblogs.java.net/blog/arungupta/archive/...
6 months ago
6 months ago
6 months ago
-- which message?
-- Are you trying to display it on a page you created, or one of the standard ones?
6 months ago
<% if flash[:notice] %>
<div id="notice"><%= flash[:notice] %></div>
<% end %>
[edit]
which is pointless if your div doesn't match and if you also haven't put in code for flash[:error]! NEVERMIND!
5 months ago
I notice when I migrate down, and then back up that my User record (that Restful Auth uses for my login) does not get repopulated in the User table, even though I have a "..._data_add_users.rb" file like my other data migrations. There some trigger or something that does the following message:
Migrating to DataAddUsers (110)
←[4;35;1mUser Load (0.000000)←[0m ←[0mSELECT * FROM "users" ←[0m
WARNING: Can't mass-assign these protected attributes: salt, updated_at, activat
ed_at, crypted_password, deleted_at, remember_token_expires_at, activation_code,
id, remember_token, state, created_at
←[4;36;1mSQL (0.000000)←[0m ←[0;1mSELECT "login" FROM "users" WHERE ("users"
.login = 'swithin') ←[0m
←[4;35;1mSQL (0.000000)←[0m ←[0mSELECT "email" FROM "users" WHERE ("users".e
mail = 'josh@swithin.com') ←[0m
←[4;36;1mSQL (0.141000)←[0m ←[0;1mINSERT INTO schema_migrations (version) VA
LUES ('110')←[0m
←[4;35;1mSQL (0.000000)←[0m ←[0m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
←[0m
←[4;36;1mSQL (0.000000)←[0m ←[0;1mSELECT version FROM schema_migrations←[0m
←[4;35;1mSQL (0.000000)←[0m ←[0m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
←[0m
←[4;36;1mSQL (0.000000)←[0m ←[0;1mPRAGMA index_list("users")←[0m
←[4;35;1mSQL (0.000000)←[0m ←[0mPRAGMA index_info('index_users_on_login')←[0
m
It takes time to re-authenticate with waiting for the round-trip email verification.
Can I turn the "trigger" off so that the data record gets remigrated?
5 months ago
5 months ago